Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d2188d43b05b3896e876a49d31725ed73587c144 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > 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 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-15930 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d2188d43b05b3896e876a49d31725ed73587c144 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d2188d43b05b3896e876a49d31725ed73587c144 # timeout=10 Commit message: "Merge pull request #687 from hahattan/issue-681" > git rev-list --no-walk c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-14T16:09:47.809Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-14T16:09:48.145Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-14T16:09:48.308Z] ========================================================= [2020-12-14T16:09:48.308Z] EdgeX Global Pipelines Version Info [2020-12-14T16:09:48.308Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-14T16:09:50.657Z] ------------------- [2020-12-14T16:09:50.657Z] stable info: [2020-12-14T16:09:50.657Z] ------------------- [2020-12-14T16:09:50.657Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-14T16:09:50.657Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-14T16:09:50.657Z] Message: update stable to v1.0.172 [2020-12-14T16:09:51.618Z] ------------------- [2020-12-14T16:09:51.618Z] experimental info: [2020-12-14T16:09:51.618Z] ------------------- [2020-12-14T16:09:51.618Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-14T16:09:51.618Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-14T16:09:51.618Z] Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-14T16:09:51.968Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-14T16:09:52.147Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-14T16:09:52.259Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-14T16:09:52.461Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-14T16:09:52.575Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-14T16:09:52.713Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-14T16:09:52.847Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-14T16:09:53.024Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-14T16:09:53.179Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-14T16:09:53.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-14T16:09:53.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-14T16:09:53.582Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-14T16:09:53.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-14T16:09:53.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-14T16:09:53.973Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-14T16:09:54.097Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-14T16:09:54.239Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-14T16:09:54.350Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-14T16:09:54.479Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-14T16:09:54.589Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-14T16:09:54.696Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-14T16:09:54.801Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-14T16:09:54.931Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-14T16:09:55.050Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-14T16:09:55.158Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-14T16:09:55.266Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-14T16:09:55.402Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-12-14T16:09:55.511Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-12-14T16:09:55.622Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-12-14T16:09:55.731Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d2188d43b05b3896e876a49d31725ed73587c144 [Pipeline] echo [2020-12-14T16:09:55.884Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d2188d4 [Pipeline] echo [2020-12-14T16:09:55.993Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-14T16:09:56.195Z] provisioning config files... [2020-12-14T16:09:56.236Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config950648588398007367tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-14T16:09:56.676Z] ---> docker-login.sh [2020-12-14T16:09:56.676Z] nexus3.edgexfoundry.org:10001 [2020-12-14T16:09:57.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T16:09:57.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T16:09:57.579Z] Configure a credential helper to remove this warning. See [2020-12-14T16:09:57.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T16:09:57.579Z] [2020-12-14T16:09:57.579Z] Login Succeeded [2020-12-14T16:09:57.579Z] nexus3.edgexfoundry.org:10002 [2020-12-14T16:09:57.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T16:09:58.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T16:09:58.128Z] Configure a credential helper to remove this warning. See [2020-12-14T16:09:58.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T16:09:58.128Z] [2020-12-14T16:09:58.128Z] Login Succeeded [2020-12-14T16:09:58.128Z] nexus3.edgexfoundry.org:10003 [2020-12-14T16:09:58.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T16:09:58.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T16:09:58.414Z] Configure a credential helper to remove this warning. See [2020-12-14T16:09:58.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T16:09:58.414Z] [2020-12-14T16:09:58.414Z] Login Succeeded [2020-12-14T16:09:58.414Z] nexus3.edgexfoundry.org:10004 [2020-12-14T16:09:59.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T16:09:59.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T16:09:59.075Z] Configure a credential helper to remove this warning. See [2020-12-14T16:09:59.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T16:09:59.075Z] [2020-12-14T16:09:59.075Z] Login Succeeded [2020-12-14T16:09:59.075Z] docker.io [2020-12-14T16:09:59.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T16:09:59.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T16:09:59.625Z] Configure a credential helper to remove this warning. See [2020-12-14T16:09:59.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T16:09:59.625Z] [2020-12-14T16:09:59.625Z] Login Succeeded [2020-12-14T16:09:59.625Z] ---> docker-login.sh ends [Pipeline] } [2020-12-14T16:09:59.661Z] 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 [2020-12-14T16:10:00.800Z] + git log --format=format:%s -1 d2188d43b05b3896e876a49d31725ed73587c144 [Pipeline] echo [2020-12-14T16:10:00.950Z] GIT_COMMIT: d2188d43b05b3896e876a49d31725ed73587c144, Commit Message: Merge pull request #687 from hahattan/issue-681 [Pipeline] echo [2020-12-14T16:10:01.008Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-14T16:10:02.251Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-14T16:10:02.251Z] [2020-12-14T16:10:02.251Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-14T16:10:02.698Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-14T16:10:02.698Z] latest: Pulling from edgex-devops/git-semver [2020-12-14T16:10:02.698Z] 31603596830f: Pulling fs layer [2020-12-14T16:10:02.698Z] 2a8b12db71e7: Pulling fs layer [2020-12-14T16:10:02.698Z] 6ca5941a6612: Pulling fs layer [2020-12-14T16:10:02.698Z] ecc8261a40a4: Pulling fs layer [2020-12-14T16:10:02.698Z] ecc8261a40a4: Waiting [2020-12-14T16:10:02.997Z] 2a8b12db71e7: Verifying Checksum [2020-12-14T16:10:02.997Z] 2a8b12db71e7: Download complete [2020-12-14T16:10:02.997Z] 31603596830f: Verifying Checksum [2020-12-14T16:10:02.997Z] 31603596830f: Download complete [2020-12-14T16:10:03.642Z] ecc8261a40a4: Verifying Checksum [2020-12-14T16:10:03.642Z] ecc8261a40a4: Download complete [2020-12-14T16:10:03.642Z] 6ca5941a6612: Verifying Checksum [2020-12-14T16:10:03.642Z] 6ca5941a6612: Download complete [2020-12-14T16:10:03.912Z] 31603596830f: Pull complete [2020-12-14T16:10:03.912Z] 2a8b12db71e7: Pull complete [2020-12-14T16:10:05.923Z] 6ca5941a6612: Pull complete [2020-12-14T16:10:06.210Z] ecc8261a40a4: Pull complete [2020-12-14T16:10:06.210Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-14T16:10:06.210Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-14T16:10:06.210Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-14T16:10:06.482Z] prd-centos7-docker-4c-2g-15930 does not seem to be running inside a container [2020-12-14T16:10:06.586Z] $ 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 [2020-12-14T16:10:09.697Z] $ docker top 0550c66830f1d80445233204e2942eb1a205a450dd4a6e5fbbd8fa77853ec46f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-14T16:10:10.383Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-14T16:10:10.383Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-14T16:10:10.741Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-14T16:10:10.748Z] $ docker exec 0550c66830f1d80445233204e2942eb1a205a450dd4a6e5fbbd8fa77853ec46f ssh-agent [2020-12-14T16:10:11.025Z] SSH_AUTH_SOCK=/tmp/ssh-BOfjgfkkoqVs/agent.13 [2020-12-14T16:10:11.025Z] SSH_AGENT_PID=18 [2020-12-14T16:10:11.052Z] Running ssh-add (command line suppressed) [2020-12-14T16:10:11.366Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6835814201675682337.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6835814201675682337.key) [2020-12-14T16:10:11.492Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-14T16:10:11.888Z] + git tag --points-at HEAD [Pipeline] } [2020-12-14T16:10:11.929Z] $ docker exec --env ******** --env ******** 0550c66830f1d80445233204e2942eb1a205a450dd4a6e5fbbd8fa77853ec46f ssh-agent -k [2020-12-14T16:10:12.094Z] unset SSH_AUTH_SOCK; [2020-12-14T16:10:12.094Z] unset SSH_AGENT_PID; [2020-12-14T16:10:12.094Z] echo Agent pid 18 killed; [2020-12-14T16:10:12.150Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-14T16:10:12.338Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-14T16:10:12.338Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-14T16:10:12.613Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-14T16:10:12.619Z] $ docker exec 0550c66830f1d80445233204e2942eb1a205a450dd4a6e5fbbd8fa77853ec46f ssh-agent [2020-12-14T16:10:12.846Z] SSH_AUTH_SOCK=/tmp/ssh-zTSRPltyYAym/agent.47 [2020-12-14T16:10:12.846Z] SSH_AGENT_PID=52 [2020-12-14T16:10:12.855Z] Running ssh-add (command line suppressed) [2020-12-14T16:10:13.094Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_606258094980721688.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_606258094980721688.key) [2020-12-14T16:10:13.279Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-14T16:10:13.738Z] + git semver init [2020-12-14T16:10:13.738Z] # -> Open(): unable to determine branch for HEAD [2020-12-14T16:10:13.738Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-12-14T16:10:13.738Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-12-14T16:10:13.738Z] # $SEMVER_REMOTE_NAME = origin [2020-12-14T16:10:13.738Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-14T16:10:13.738Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-14T16:10:13.738Z] # $SEMVER_BRANCH = master [2020-12-14T16:10:13.738Z] # $SEMVER_TEMP = /tmp/semver-391180641 [2020-12-14T16:10:13.738Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-14T16:10:15.212Z] # '/tmp/semver-391180641' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-12-14T16:10:15.212Z] # -> Force: false [2020-12-14T16:10:15.212Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-12-14T16:10:15.237Z] $ docker exec --env ******** --env ******** 0550c66830f1d80445233204e2942eb1a205a450dd4a6e5fbbd8fa77853ec46f ssh-agent -k [2020-12-14T16:10:15.573Z] unset SSH_AUTH_SOCK; [2020-12-14T16:10:15.573Z] unset SSH_AGENT_PID; [2020-12-14T16:10:15.573Z] echo Agent pid 52 killed; [2020-12-14T16:10:15.736Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-14T16:10:16.332Z] + git semver [Pipeline] } [2020-12-14T16:10:16.653Z] $ docker stop --time=1 0550c66830f1d80445233204e2942eb1a205a450dd4a6e5fbbd8fa77853ec46f [2020-12-14T16:10:18.744Z] $ docker rm -f 0550c66830f1d80445233204e2942eb1a205a450dd4a6e5fbbd8fa77853ec46f [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-14T16:10:19.401Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-14T16:10:20.305Z] Stashed 1 file(s) [Pipeline] echo [2020-12-14T16:10:20.309Z] [edgeXSemver]: initialized semver on version 1.3.1-dev.6 [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 [2020-12-14T16:10:36.203Z] Still waiting to schedule task [2020-12-14T16:10:36.204Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-14T16:10:36.206Z] Still waiting to schedule task [2020-12-14T16:10:36.206Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-14T16:12:36.146Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15931 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-12-14T16:12:36.214Z] Running in /w/workspace/device-sdk-go/93 [Pipeline] { [Pipeline] checkout [2020-12-14T16:12:41.379Z] using credential edgex-jenkins-ssh [2020-12-14T16:12:41.492Z] Cloning the remote Git repository [2020-12-14T16:12:41.540Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-14T16:12:41.657Z] > git init /w/workspace/device-sdk-go/93 # timeout=10 [2020-12-14T16:12:41.738Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-14T16:12:41.739Z] > git --version # timeout=10 [2020-12-14T16:12:41.761Z] > git --version # 'git version 2.17.1' [2020-12-14T16:12:41.763Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T16:12:41.840Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-14T16:12:43.596Z] Checking out Revision d2188d43b05b3896e876a49d31725ed73587c144 (master) [2020-12-14T16:12:42.902Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-14T16:12:42.932Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-14T16:12:42.957Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-14T16:12:43.001Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-14T16:12:43.002Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T16:12:43.019Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-14T16:12:43.612Z] > git config core.sparsecheckout # timeout=10 [2020-12-14T16:12:43.634Z] > git checkout -f d2188d43b05b3896e876a49d31725ed73587c144 # timeout=10 [2020-12-14T16:12:48.318Z] Commit message: "Merge pull request #687 from hahattan/issue-681" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-14T16:12:49.994Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-14T16:12:50.412Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-14T16:12:50.761Z] + true [2020-12-14T16:12:50.761Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-14T16:12:53.464Z] provisioning config files... [2020-12-14T16:12:53.513Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/93@tmp/config8273722763663066829tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-14T16:12:53.935Z] ---> docker-login.sh [2020-12-14T16:12:53.935Z] nexus3.edgexfoundry.org:10001 [2020-12-14T16:12:54.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T16:12:55.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T16:12:55.196Z] Configure a credential helper to remove this warning. See [2020-12-14T16:12:55.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T16:12:55.196Z] [2020-12-14T16:12:55.196Z] Login Succeeded [2020-12-14T16:12:55.196Z] nexus3.edgexfoundry.org:10002 [2020-12-14T16:12:55.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T16:12:55.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T16:12:55.470Z] Configure a credential helper to remove this warning. See [2020-12-14T16:12:55.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T16:12:55.470Z] [2020-12-14T16:12:55.470Z] Login Succeeded [2020-12-14T16:12:55.470Z] nexus3.edgexfoundry.org:10003 [2020-12-14T16:12:56.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T16:12:56.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T16:12:56.066Z] Configure a credential helper to remove this warning. See [2020-12-14T16:12:56.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T16:12:56.066Z] [2020-12-14T16:12:56.066Z] Login Succeeded [2020-12-14T16:12:56.066Z] nexus3.edgexfoundry.org:10004 [2020-12-14T16:12:56.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T16:12:56.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T16:12:56.615Z] Configure a credential helper to remove this warning. See [2020-12-14T16:12:56.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T16:12:56.615Z] [2020-12-14T16:12:56.615Z] Login Succeeded [2020-12-14T16:12:56.615Z] docker.io [2020-12-14T16:12:56.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T16:12:57.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T16:12:57.490Z] Configure a credential helper to remove this warning. See [2020-12-14T16:12:57.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T16:12:57.490Z] [2020-12-14T16:12:57.490Z] Login Succeeded [2020-12-14T16:12:57.490Z] ---> docker-login.sh ends [Pipeline] } [2020-12-14T16:12:57.555Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-14T16:12:58.101Z] ========================================================= [2020-12-14T16:12:58.101Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-14T16:12:58.101Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-14T16:12:58.485Z] + 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 . [2020-12-14T16:12:58.759Z] Sending build context to Docker daemon 2.37MB [2020-12-14T16:12:59.042Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-14T16:12:59.042Z] Step 2/8 : FROM ${BASE} [2020-12-14T16:12:59.042Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-14T16:12:59.042Z] 5f621e34cdf4: Pulling fs layer [2020-12-14T16:12:59.042Z] a4357932f1b6: Pulling fs layer [2020-12-14T16:12:59.042Z] 18c013af1878: Pulling fs layer [2020-12-14T16:12:59.042Z] 00ac8860ef70: Pulling fs layer [2020-12-14T16:12:59.042Z] 63d7cb157983: Pulling fs layer [2020-12-14T16:12:59.042Z] b116817d02f9: Pulling fs layer [2020-12-14T16:12:59.042Z] 745a02a5169b: Pulling fs layer [2020-12-14T16:12:59.042Z] 00ac8860ef70: Waiting [2020-12-14T16:12:59.042Z] 63d7cb157983: Waiting [2020-12-14T16:12:59.042Z] b116817d02f9: Waiting [2020-12-14T16:12:59.042Z] 745a02a5169b: Waiting [2020-12-14T16:12:59.042Z] 18c013af1878: Verifying Checksum [2020-12-14T16:12:59.042Z] 18c013af1878: Download complete [2020-12-14T16:12:59.042Z] a4357932f1b6: Download complete [2020-12-14T16:12:59.042Z] 63d7cb157983: Verifying Checksum [2020-12-14T16:12:59.042Z] 63d7cb157983: Download complete [2020-12-14T16:12:59.042Z] b116817d02f9: Verifying Checksum [2020-12-14T16:12:59.042Z] b116817d02f9: Download complete [2020-12-14T16:12:59.042Z] 5f621e34cdf4: Verifying Checksum [2020-12-14T16:12:59.042Z] 5f621e34cdf4: Download complete [2020-12-14T16:13:00.032Z] 5f621e34cdf4: Pull complete [2020-12-14T16:13:00.310Z] a4357932f1b6: Pull complete [2020-12-14T16:13:00.585Z] 18c013af1878: Pull complete [2020-12-14T16:13:02.054Z] 745a02a5169b: Verifying Checksum [2020-12-14T16:13:02.054Z] 745a02a5169b: Download complete [2020-12-14T16:13:03.494Z] 00ac8860ef70: Verifying Checksum [2020-12-14T16:13:03.494Z] 00ac8860ef70: Download complete [2020-12-14T16:13:03.980Z] Running on prd-centos7-docker-4c-2g-15932 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-12-14T16:13:04.046Z] Running in /w/workspace/device-sdk-go/93 [Pipeline] { [Pipeline] checkout [2020-12-14T16:13:06.358Z] using credential edgex-jenkins-ssh [2020-12-14T16:13:06.414Z] Cloning the remote Git repository [2020-12-14T16:13:06.219Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-14T16:13:06.284Z] > git init /w/workspace/device-sdk-go/93 # timeout=10 [2020-12-14T16:13:06.342Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-14T16:13:06.343Z] > git --version # timeout=10 [2020-12-14T16:13:06.349Z] > git --version # 'git version 2.24.3' [2020-12-14T16:13:06.349Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T16:13:06.372Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-14T16:13:07.071Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-14T16:13:07.081Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-14T16:13:07.094Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-14T16:13:07.109Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-14T16:13:07.109Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T16:13:07.115Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-14T16:13:07.662Z] Checking out Revision d2188d43b05b3896e876a49d31725ed73587c144 (master) [2020-12-14T16:13:07.557Z] > git config core.sparsecheckout # timeout=10 [2020-12-14T16:13:07.563Z] > git checkout -f d2188d43b05b3896e876a49d31725ed73587c144 # timeout=10 [2020-12-14T16:13:11.206Z] Commit message: "Merge pull request #687 from hahattan/issue-681" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-14T16:13:12.429Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-14T16:13:12.754Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-14T16:13:13.051Z] + sudo service docker restart [2020-12-14T16:13:13.051Z] + true [2020-12-14T16:13:13.051Z] Redirecting to /bin/systemctl restart docker.service [2020-12-14T16:13:13.674Z] 00ac8860ef70: Pull complete [2020-12-14T16:13:13.674Z] 63d7cb157983: Pull complete [2020-12-14T16:13:13.948Z] b116817d02f9: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-14T16:13:14.508Z] provisioning config files... [2020-12-14T16:13:14.532Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/93@tmp/config5095159251561250144tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-14T16:13:14.904Z] ---> docker-login.sh [2020-12-14T16:13:14.904Z] nexus3.edgexfoundry.org:10001 [2020-12-14T16:13:15.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T16:13:15.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T16:13:15.166Z] Configure a credential helper to remove this warning. See [2020-12-14T16:13:15.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T16:13:15.166Z] [2020-12-14T16:13:15.166Z] Login Succeeded [2020-12-14T16:13:15.166Z] nexus3.edgexfoundry.org:10002 [2020-12-14T16:13:15.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T16:13:15.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T16:13:15.429Z] Configure a credential helper to remove this warning. See [2020-12-14T16:13:15.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T16:13:15.429Z] [2020-12-14T16:13:15.429Z] Login Succeeded [2020-12-14T16:13:15.429Z] nexus3.edgexfoundry.org:10003 [2020-12-14T16:13:15.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T16:13:15.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T16:13:15.692Z] Configure a credential helper to remove this warning. See [2020-12-14T16:13:15.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T16:13:15.692Z] [2020-12-14T16:13:15.692Z] Login Succeeded [2020-12-14T16:13:15.692Z] nexus3.edgexfoundry.org:10004 [2020-12-14T16:13:15.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T16:13:15.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T16:13:15.692Z] Configure a credential helper to remove this warning. See [2020-12-14T16:13:15.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T16:13:15.692Z] [2020-12-14T16:13:15.692Z] Login Succeeded [2020-12-14T16:13:15.692Z] docker.io [2020-12-14T16:13:15.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T16:13:16.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T16:13:16.218Z] Configure a credential helper to remove this warning. See [2020-12-14T16:13:16.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T16:13:16.218Z] [2020-12-14T16:13:16.218Z] Login Succeeded [2020-12-14T16:13:16.218Z] ---> docker-login.sh ends [Pipeline] } [2020-12-14T16:13:16.226Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-14T16:13:16.569Z] ========================================================= [2020-12-14T16:13:16.570Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-14T16:13:16.570Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-14T16:13:16.917Z] + 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 . [2020-12-14T16:13:16.917Z] Sending build context to Docker daemon 2.371MB [2020-12-14T16:13:17.179Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-14T16:13:17.179Z] Step 2/8 : FROM ${BASE} [2020-12-14T16:13:17.179Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-14T16:13:17.179Z] 188c0c94c7c5: Pulling fs layer [2020-12-14T16:13:17.179Z] 0ef7d3d256c8: Pulling fs layer [2020-12-14T16:13:17.179Z] de9db76c5a1d: Pulling fs layer [2020-12-14T16:13:17.179Z] bca2f99d35d6: Pulling fs layer [2020-12-14T16:13:17.179Z] 93359f2a8cfa: Pulling fs layer [2020-12-14T16:13:17.179Z] 7c6f9722023f: Pulling fs layer [2020-12-14T16:13:17.179Z] a35cf1a2eb13: Pulling fs layer [2020-12-14T16:13:17.179Z] bca2f99d35d6: Waiting [2020-12-14T16:13:17.179Z] 93359f2a8cfa: Waiting [2020-12-14T16:13:17.179Z] 7c6f9722023f: Waiting [2020-12-14T16:13:17.179Z] a35cf1a2eb13: Waiting [2020-12-14T16:13:17.179Z] 0ef7d3d256c8: Verifying Checksum [2020-12-14T16:13:17.179Z] 0ef7d3d256c8: Download complete [2020-12-14T16:13:17.179Z] de9db76c5a1d: Verifying Checksum [2020-12-14T16:13:17.179Z] de9db76c5a1d: Download complete [2020-12-14T16:13:17.179Z] 93359f2a8cfa: Verifying Checksum [2020-12-14T16:13:17.179Z] 93359f2a8cfa: Download complete [2020-12-14T16:13:17.179Z] 188c0c94c7c5: Verifying Checksum [2020-12-14T16:13:17.179Z] 188c0c94c7c5: Download complete [2020-12-14T16:13:17.179Z] 7c6f9722023f: Verifying Checksum [2020-12-14T16:13:17.179Z] 7c6f9722023f: Download complete [2020-12-14T16:13:17.354Z] 745a02a5169b: Pull complete [2020-12-14T16:13:17.441Z] 188c0c94c7c5: Pull complete [2020-12-14T16:13:17.626Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-14T16:13:17.626Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-14T16:13:17.626Z] ---> b7e6874047d6 [2020-12-14T16:13:17.626Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-14T16:13:17.704Z] 0ef7d3d256c8: Pull complete [2020-12-14T16:13:17.704Z] de9db76c5a1d: Pull complete [2020-12-14T16:13:19.097Z] a35cf1a2eb13: Verifying Checksum [2020-12-14T16:13:19.097Z] a35cf1a2eb13: Download complete [2020-12-14T16:13:19.670Z] bca2f99d35d6: Verifying Checksum [2020-12-14T16:13:19.670Z] bca2f99d35d6: Download complete [2020-12-14T16:13:21.005Z] ---> Running in 3c132a8ba654 [2020-12-14T16:13:21.005Z] Removing intermediate container 3c132a8ba654 [2020-12-14T16:13:21.005Z] ---> fd9c06e9cb49 [2020-12-14T16:13:21.005Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-14T16:13:21.005Z] ---> Running in dee795457e0a [2020-12-14T16:13:22.987Z] Removing intermediate container dee795457e0a [2020-12-14T16:13:22.987Z] ---> 512b78539101 [2020-12-14T16:13:22.987Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-14T16:13:23.261Z] ---> Running in ffeba255c8d3 [2020-12-14T16:13:24.249Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-14T16:13:24.976Z] bca2f99d35d6: Pull complete [2020-12-14T16:13:24.976Z] 93359f2a8cfa: Pull complete [2020-12-14T16:13:24.976Z] 7c6f9722023f: Pull complete [2020-12-14T16:13:25.223Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-14T16:13:25.838Z] OK: 142 MiB in 39 packages [2020-12-14T16:13:26.819Z] Removing intermediate container ffeba255c8d3 [2020-12-14T16:13:26.819Z] ---> c4cd74ceb696 [2020-12-14T16:13:26.819Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-14T16:13:27.104Z] ---> Running in 9b69c1879e2c [2020-12-14T16:13:27.377Z] Removing intermediate container 9b69c1879e2c [2020-12-14T16:13:27.377Z] ---> d824f0caa75e [2020-12-14T16:13:27.377Z] Step 7/8 : COPY . . [2020-12-14T16:13:28.812Z] ---> 547c40a13720 [2020-12-14T16:13:28.812Z] Step 8/8 : RUN go mod download [2020-12-14T16:13:29.086Z] ---> Running in 1fb834f9dc81 [2020-12-14T16:13:35.005Z] a35cf1a2eb13: Pull complete [2020-12-14T16:13:35.005Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-14T16:13:35.005Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-14T16:13:35.005Z] ---> a62c8e92a672 [2020-12-14T16:13:35.005Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-14T16:13:35.005Z] ---> Running in d12326be7110 [2020-12-14T16:13:35.005Z] Removing intermediate container d12326be7110 [2020-12-14T16:13:35.005Z] ---> 425f16c7cb42 [2020-12-14T16:13:35.005Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-14T16:13:35.005Z] ---> Running in 85ce22b938c5 [2020-12-14T16:13:35.270Z] Removing intermediate container 85ce22b938c5 [2020-12-14T16:13:35.270Z] ---> f76af297ba2c [2020-12-14T16:13:35.270Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-14T16:13:35.535Z] ---> Running in 60a21f78af63 [2020-12-14T16:13:35.799Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-14T16:13:36.748Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-14T16:13:37.020Z] OK: 166 MiB in 39 packages [2020-12-14T16:13:37.597Z] Removing intermediate container 60a21f78af63 [2020-12-14T16:13:37.597Z] ---> 6922715559f8 [2020-12-14T16:13:37.597Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-14T16:13:37.597Z] ---> Running in 91c0bf671de2 [2020-12-14T16:13:37.597Z] Removing intermediate container 91c0bf671de2 [2020-12-14T16:13:37.597Z] ---> 5e3c0dd23265 [2020-12-14T16:13:37.597Z] Step 7/8 : COPY . . [2020-12-14T16:13:38.993Z] ---> 149f4a700c38 [2020-12-14T16:13:38.993Z] Step 8/8 : RUN go mod download [2020-12-14T16:13:38.993Z] ---> Running in 904b4891b674 [2020-12-14T16:13:51.254Z] Removing intermediate container 1fb834f9dc81 [2020-12-14T16:13:51.254Z] ---> c119660b2014 [2020-12-14T16:13:51.254Z] Successfully built c119660b2014 [2020-12-14T16:13:51.254Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-14T16:13:51.597Z] + docker inspect -f . ci-base-image-arm64 [2020-12-14T16:13:51.597Z] . [Pipeline] withDockerContainer [2020-12-14T16:13:51.822Z] prd-ubuntu18.04-docker-arm64-4c-16g-15931 does not seem to be running inside a container [2020-12-14T16:13:51.900Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/93 -v /w/workspace/device-sdk-go/93:/w/workspace/device-sdk-go/93:rw,z -v /w/workspace/device-sdk-go/93@tmp:/w/workspace/device-sdk-go/93@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 ******** ci-base-image-arm64 cat [2020-12-14T16:13:53.293Z] $ docker top c5070bce8cf1570135b276973f8f29cd63b470c97f3b437dc03981b3edd9db86 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-14T16:13:54.269Z] + go version [2020-12-14T16:13:54.269Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-14T16:13:54.291Z] $ docker stop --time=1 c5070bce8cf1570135b276973f8f29cd63b470c97f3b437dc03981b3edd9db86 [2020-12-14T16:13:56.128Z] $ docker rm -f c5070bce8cf1570135b276973f8f29cd63b470c97f3b437dc03981b3edd9db86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-14T16:13:57.144Z] + docker inspect -f . ci-base-image-arm64 [2020-12-14T16:13:57.144Z] . [Pipeline] withDockerContainer [2020-12-14T16:13:57.165Z] Removing intermediate container 904b4891b674 [2020-12-14T16:13:57.165Z] ---> 522f12a2d787 [2020-12-14T16:13:57.165Z] Successfully built 522f12a2d787 [2020-12-14T16:13:57.165Z] Successfully tagged ci-base-image-x86_64:latest [2020-12-14T16:13:57.357Z] prd-ubuntu18.04-docker-arm64-4c-16g-15931 does not seem to be running inside a container [2020-12-14T16:13:57.431Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/93 -v /w/workspace/device-sdk-go/93:/w/workspace/device-sdk-go/93:rw,z -v /w/workspace/device-sdk-go/93@tmp:/w/workspace/device-sdk-go/93@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 ******** ci-base-image-arm64 cat [2020-12-14T16:13:58.803Z] $ docker top a5af1b8ba3ec08eac41b0b04c1ff50ca64425b4e509568664036fb3e17cff255 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-12-14T16:13:59.554Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-14T16:13:59.793Z] + make test [2020-12-14T16:13:59.793Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-14T16:13:59.817Z] . [Pipeline] withDockerContainer [2020-12-14T16:13:59.926Z] prd-centos7-docker-4c-2g-15932 does not seem to be running inside a container [2020-12-14T16:13:59.975Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/93 -v /w/workspace/device-sdk-go/93:/w/workspace/device-sdk-go/93:rw,z -v /w/workspace/device-sdk-go/93@tmp:/w/workspace/device-sdk-go/93@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 [2020-12-14T16:14:00.745Z] $ docker top ce985518c0e3b1de21bd37c7d0ba77ac2335f053caf741cb688fb26dfa33a717 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-14T16:14:01.245Z] + go version [2020-12-14T16:14:01.245Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-14T16:14:01.259Z] $ docker stop --time=1 ce985518c0e3b1de21bd37c7d0ba77ac2335f053caf741cb688fb26dfa33a717 [2020-12-14T16:14:02.635Z] $ docker rm -f ce985518c0e3b1de21bd37c7d0ba77ac2335f053caf741cb688fb26dfa33a717 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-14T16:14:03.760Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-14T16:14:03.760Z] . [Pipeline] withDockerContainer [2020-12-14T16:14:03.856Z] prd-centos7-docker-4c-2g-15932 does not seem to be running inside a container [2020-12-14T16:14:03.904Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/93 -v /w/workspace/device-sdk-go/93:/w/workspace/device-sdk-go/93:rw,z -v /w/workspace/device-sdk-go/93@tmp:/w/workspace/device-sdk-go/93@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 [2020-12-14T16:14:04.579Z] $ docker top 7df983cbdcbe8187d9a8a398b509436281aaa19c3c9021c306d55c4e11fb2a8f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-14T16:14:05.125Z] + make test [2020-12-14T16:14:05.125Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-14T16:14:11.961Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-14T16:14:21.992Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-14T16:14:27.012Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-14T16:14:27.013Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-14T16:14:27.013Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-14T16:14:27.013Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.071s coverage: 20.6% of statements [2020-12-14T16:14:28.413Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.439s coverage: 97.1% of statements [2020-12-14T16:15:00.604Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.068s coverage: 9.4% of statements [2020-12-14T16:15:00.604Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.057s coverage: 21.9% of statements [2020-12-14T16:15:00.604Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-14T16:15:00.604Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.227s coverage: 42.5% of statements [2020-12-14T16:15:00.604Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-14T16:15:00.604Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.275s coverage: 68.9% of statements [2020-12-14T16:15:00.604Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-14T16:15:00.604Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-14T16:15:00.604Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-14T16:15:00.604Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-14T16:15:00.604Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements [2020-12-14T16:15:00.604Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-14T16:15:00.604Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-14T16:15:00.604Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-14T16:15:00.604Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.304s coverage: 68.9% of statements [2020-12-14T16:15:00.604Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.053s coverage: 4.7% of statements [2020-12-14T16:15:00.604Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-14T16:15:00.604Z] GO111MODULE=on go vet ./... [2020-12-14T16:15:01.054Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-14T16:15:01.054Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-14T16:15:01.054Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-14T16:15:01.054Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.106s coverage: 20.6% of statements [2020-12-14T16:15:05.395Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.120s coverage: 97.1% of statements [2020-12-14T16:15:07.315Z] gofmt -l . [2020-12-14T16:15:07.316Z] [ "`gofmt -l .`" = "" ] [2020-12-14T16:15:07.578Z] ./bin/test-attribution-txt.sh [2020-12-14T16:15:08.155Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-14T16:15:08.435Z] $ docker stop --time=1 7df983cbdcbe8187d9a8a398b509436281aaa19c3c9021c306d55c4e11fb2a8f [2020-12-14T16:15:10.318Z] $ docker rm -f 7df983cbdcbe8187d9a8a398b509436281aaa19c3c9021c306d55c4e11fb2a8f [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-14T16:15:11.024Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-14T16:15:11.430Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-12-14T16:15:14.346Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-14T16:15:14.647Z] + ls -al . [2020-12-14T16:15:14.648Z] total 208 [2020-12-14T16:15:14.648Z] drwxrwxr-x. 10 jenkins jenkins 4096 Dec 14 16:15 . [2020-12-14T16:15:14.648Z] drwxrwxr-x. 4 jenkins jenkins 30 Dec 14 16:13 .. [2020-12-14T16:15:14.648Z] drwxrwxr-x. 2 jenkins jenkins 64 Dec 14 16:13 bin [2020-12-14T16:15:14.648Z] -rw-r--r--. 1 jenkins jenkins 127610 Dec 14 16:14 coverage.out [2020-12-14T16:15:14.648Z] -rw-rw-r--. 1 jenkins jenkins 936 Dec 14 16:13 Dockerfile.build [2020-12-14T16:15:14.648Z] -rw-rw-r--. 1 jenkins jenkins 140 Dec 14 16:13 .dockerignore [2020-12-14T16:15:14.648Z] drwxrwxr-x. 4 jenkins jenkins 48 Dec 14 16:13 example [2020-12-14T16:15:14.648Z] drwxrwxr-x. 8 jenkins jenkins 162 Dec 14 16:13 .git [2020-12-14T16:15:14.648Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 14 16:13 .github [2020-12-14T16:15:14.648Z] -rw-rw-r--. 1 jenkins jenkins 138 Dec 14 16:13 .gitignore [2020-12-14T16:15:14.648Z] -rw-r--r--. 1 jenkins jenkins 518 Dec 14 16:15 go.mod [2020-12-14T16:15:14.648Z] -rw-r--r--. 1 jenkins jenkins 13631 Dec 14 16:15 go.sum [2020-12-14T16:15:14.648Z] drwxrwxr-x. 15 jenkins jenkins 211 Dec 14 16:13 internal [2020-12-14T16:15:14.648Z] -rw-rw-r--. 1 jenkins jenkins 901 Dec 14 16:13 Jenkinsfile [2020-12-14T16:15:14.648Z] -rw-rw-r--. 1 jenkins jenkins 11341 Dec 14 16:13 LICENSE [2020-12-14T16:15:14.648Z] -rw-rw-r--. 1 jenkins jenkins 1013 Dec 14 16:13 Makefile [2020-12-14T16:15:14.648Z] drwxrwxr-x. 4 jenkins jenkins 26 Dec 14 16:13 openapi [2020-12-14T16:15:14.648Z] drwxrwxr-x. 5 jenkins jenkins 50 Dec 14 16:13 pkg [2020-12-14T16:15:14.648Z] -rw-rw-r--. 1 jenkins jenkins 5897 Dec 14 16:13 README.md [2020-12-14T16:15:14.648Z] -rw-rw-r--. 1 jenkins jenkins 4291 Dec 14 16:13 RELEASE-NOTES.txt [2020-12-14T16:15:14.648Z] drwxrwxr-x. 4 jenkins jenkins 54 Dec 14 16:13 snap [2020-12-14T16:15:14.648Z] -rw-rw-r--. 1 jenkins jenkins 11 Dec 14 16:10 VERSION [2020-12-14T16:15:14.648Z] -rw-rw-r--. 1 jenkins jenkins 222 Dec 14 16:13 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-14T16:15:14.958Z] + 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=d2188d43b05b3896e876a49d31725ed73587c144 --label arch=amd64 --label version=1.3.1-dev.6 . [2020-12-14T16:15:15.220Z] Sending build context to Docker daemon 2.499MB [2020-12-14T16:15:15.220Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-12-14T16:15:15.220Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-14T16:15:15.220Z] ---> 522f12a2d787 [2020-12-14T16:15:15.220Z] Step 3/24 : ARG MAKE='make build' [2020-12-14T16:15:15.797Z] ---> Running in b502d7b66aab [2020-12-14T16:15:16.059Z] Removing intermediate container b502d7b66aab [2020-12-14T16:15:16.059Z] ---> 619ebf61f1c7 [2020-12-14T16:15:16.059Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-14T16:15:16.059Z] ---> Running in a77831420b34 [2020-12-14T16:15:16.059Z] Removing intermediate container a77831420b34 [2020-12-14T16:15:16.059Z] ---> a369e6f6812b [2020-12-14T16:15:16.059Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-14T16:15:16.322Z] ---> Running in 22698c3e1cad [2020-12-14T16:15:16.322Z] Removing intermediate container 22698c3e1cad [2020-12-14T16:15:16.322Z] ---> d0d738ba1ea1 [2020-12-14T16:15:16.322Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-14T16:15:16.586Z] ---> Running in bcaba2896183 [2020-12-14T16:15:17.541Z] Removing intermediate container bcaba2896183 [2020-12-14T16:15:17.541Z] ---> 68b9eba72127 [2020-12-14T16:15:17.541Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-14T16:15:17.541Z] ---> Running in 2a9609428ca6 [2020-12-14T16:15:18.116Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-14T16:15:18.695Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-14T16:15:19.270Z] OK: 166 MiB in 39 packages [2020-12-14T16:15:19.533Z] Removing intermediate container 2a9609428ca6 [2020-12-14T16:15:19.533Z] ---> cbfab4a01bac [2020-12-14T16:15:19.533Z] Step 8/24 : COPY . . [2020-12-14T16:15:20.479Z] ---> cc4497df53cf [2020-12-14T16:15:20.479Z] Step 9/24 : RUN ${MAKE} [2020-12-14T16:15:20.742Z] ---> Running in 4ef8484c715a [2020-12-14T16:15:21.008Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.3.1-dev.6" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-12-14T16:15:29.275Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-14T16:15:31.835Z] Removing intermediate container 4ef8484c715a [2020-12-14T16:15:31.835Z] ---> 1e091e723787 [2020-12-14T16:15:31.835Z] Step 10/24 : FROM scratch [2020-12-14T16:15:31.835Z] ---> [2020-12-14T16:15:31.835Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-14T16:15:31.835Z] ---> Running in ab996605950d [2020-12-14T16:15:31.835Z] Removing intermediate container ab996605950d [2020-12-14T16:15:31.835Z] ---> c24ff7cf8dc3 [2020-12-14T16:15:31.835Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-14T16:15:31.835Z] ---> Running in edf6e0c637bf [2020-12-14T16:15:32.103Z] Removing intermediate container edf6e0c637bf [2020-12-14T16:15:32.103Z] ---> c2899d86d6bd [2020-12-14T16:15:32.103Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-14T16:15:32.103Z] ---> Running in 04091f932ff0 [2020-12-14T16:15:32.370Z] Removing intermediate container 04091f932ff0 [2020-12-14T16:15:32.370Z] ---> d47d1d5c6cc2 [2020-12-14T16:15:32.370Z] Step 14/24 : WORKDIR / [2020-12-14T16:15:32.370Z] ---> Running in b1f1e731030f [2020-12-14T16:15:32.637Z] Removing intermediate container b1f1e731030f [2020-12-14T16:15:32.637Z] ---> 573629c7b864 [2020-12-14T16:15:32.637Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-14T16:15:32.913Z] ---> 8f89d217c889 [2020-12-14T16:15:32.913Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-14T16:15:33.182Z] ---> b75ba5ded0f1 [2020-12-14T16:15:33.182Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-14T16:15:33.454Z] ---> aef056274258 [2020-12-14T16:15:33.454Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-14T16:15:33.724Z] ---> 904b4e82bb9a [2020-12-14T16:15:33.724Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-14T16:15:33.989Z] ---> ec8ae8f9f116 [2020-12-14T16:15:33.989Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-14T16:15:33.989Z] ---> Running in 665fbb8ea21a [2020-12-14T16:15:34.252Z] Removing intermediate container 665fbb8ea21a [2020-12-14T16:15:34.252Z] ---> 1b9a9857399c [2020-12-14T16:15:34.252Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-14T16:15:34.252Z] ---> Running in 9ea75c1f0416 [2020-12-14T16:15:34.514Z] Removing intermediate container 9ea75c1f0416 [2020-12-14T16:15:34.514Z] ---> 6ac87397a10c [2020-12-14T16:15:34.514Z] Step 22/24 : LABEL arch=amd64 [2020-12-14T16:15:34.514Z] ---> Running in 90a4db92a7e2 [2020-12-14T16:15:34.776Z] Removing intermediate container 90a4db92a7e2 [2020-12-14T16:15:34.776Z] ---> 11e14f872b94 [2020-12-14T16:15:34.776Z] Step 23/24 : LABEL git_sha=d2188d43b05b3896e876a49d31725ed73587c144 [2020-12-14T16:15:34.776Z] ---> Running in c27697f9b4fc [2020-12-14T16:15:35.038Z] Removing intermediate container c27697f9b4fc [2020-12-14T16:15:35.038Z] ---> 12e3aa622aad [2020-12-14T16:15:35.038Z] Step 24/24 : LABEL version=1.3.1-dev.6 [2020-12-14T16:15:35.038Z] ---> Running in c8412e731ad2 [2020-12-14T16:15:35.302Z] Removing intermediate container c8412e731ad2 [2020-12-14T16:15:35.302Z] ---> 34a0ae145d59 [2020-12-14T16:15:35.302Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-14T16:15:35.302Z] Successfully built 34a0ae145d59 [2020-12-14T16:15:35.302Z] 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] } [2020-12-14T16:15:37.736Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.129s coverage: 9.4% of statements [2020-12-14T16:15:37.736Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.122s coverage: 21.9% of statements [2020-12-14T16:15:37.736Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-14T16:15:37.736Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.550s coverage: 42.5% of statements [2020-12-14T16:15:37.736Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-14T16:15:37.736Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.807s coverage: 68.9% of statements [2020-12-14T16:15:37.736Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-14T16:15:37.736Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-14T16:15:37.736Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-14T16:15:37.736Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-14T16:15:37.736Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.194s coverage: 52.6% of statements [2020-12-14T16:15:37.736Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-14T16:15:37.736Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-14T16:15:37.736Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-14T16:15:37.736Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.737s coverage: 68.9% of statements [2020-12-14T16:15:37.736Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.141s coverage: 4.7% of statements [2020-12-14T16:15:37.736Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-14T16:15:37.736Z] GO111MODULE=on go vet ./... [2020-12-14T16:16:04.595Z] gofmt -l . [2020-12-14T16:16:04.595Z] [ "`gofmt -l .`" = "" ] [2020-12-14T16:16:04.595Z] ./bin/test-attribution-txt.sh [2020-12-14T16:16:04.595Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-14T16:16:04.890Z] $ docker stop --time=1 a5af1b8ba3ec08eac41b0b04c1ff50ca64425b4e509568664036fb3e17cff255 [2020-12-14T16:16:07.033Z] $ docker rm -f a5af1b8ba3ec08eac41b0b04c1ff50ca64425b4e509568664036fb3e17cff255 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-14T16:16:08.141Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-14T16:16:08.226Z] Warning: overwriting stash ‘coverage-report’ [2020-12-14T16:16:09.133Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-14T16:16:09.941Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-14T16:16:10.311Z] + ls -al . [2020-12-14T16:16:10.311Z] total 244 [2020-12-14T16:16:10.311Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 14 16:16 . [2020-12-14T16:16:10.311Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 16:12 .. [2020-12-14T16:16:10.311Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 14 16:12 .dockerignore [2020-12-14T16:16:10.311Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 16:12 .git [2020-12-14T16:16:10.311Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 16:12 .github [2020-12-14T16:16:10.311Z] -rw-rw-r-- 1 jenkins jenkins 138 Dec 14 16:12 .gitignore [2020-12-14T16:16:10.311Z] -rw-rw-r-- 1 jenkins jenkins 936 Dec 14 16:12 Dockerfile.build [2020-12-14T16:16:10.311Z] -rw-rw-r-- 1 jenkins jenkins 901 Dec 14 16:12 Jenkinsfile [2020-12-14T16:16:10.311Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 14 16:12 LICENSE [2020-12-14T16:16:10.311Z] -rw-rw-r-- 1 jenkins jenkins 1013 Dec 14 16:12 Makefile [2020-12-14T16:16:10.311Z] -rw-rw-r-- 1 jenkins jenkins 5897 Dec 14 16:12 README.md [2020-12-14T16:16:10.311Z] -rw-rw-r-- 1 jenkins jenkins 4291 Dec 14 16:12 RELEASE-NOTES.txt [2020-12-14T16:16:10.311Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 14 16:10 VERSION [2020-12-14T16:16:10.311Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 16:12 bin [2020-12-14T16:16:10.311Z] -rw-r--r-- 1 jenkins jenkins 127610 Dec 14 16:15 coverage.out [2020-12-14T16:16:10.311Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 16:12 example [2020-12-14T16:16:10.311Z] -rw-r--r-- 1 jenkins jenkins 518 Dec 14 16:16 go.mod [2020-12-14T16:16:10.311Z] -rw-r--r-- 1 jenkins jenkins 13631 Dec 14 16:16 go.sum [2020-12-14T16:16:10.311Z] drwxrwxr-x 15 jenkins jenkins 4096 Dec 14 16:12 internal [2020-12-14T16:16:10.311Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 16:12 openapi [2020-12-14T16:16:10.311Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 14 16:12 pkg [2020-12-14T16:16:10.311Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 16:12 snap [2020-12-14T16:16:10.311Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 14 16:12 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-14T16:16:10.671Z] + 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=d2188d43b05b3896e876a49d31725ed73587c144 --label arch=arm64 --label version=1.3.1-dev.6 . [2020-12-14T16:16:11.315Z] Sending build context to Docker daemon 2.498MB [2020-12-14T16:16:11.315Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-12-14T16:16:11.315Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-14T16:16:11.315Z] ---> c119660b2014 [2020-12-14T16:16:11.315Z] Step 3/24 : ARG MAKE='make build' [2020-12-14T16:16:11.597Z] ---> Running in 8562a4476818 [2020-12-14T16:16:11.889Z] Removing intermediate container 8562a4476818 [2020-12-14T16:16:11.889Z] ---> 77a6a5df1533 [2020-12-14T16:16:11.889Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-14T16:16:12.167Z] ---> Running in 38c0d86f79d9 [2020-12-14T16:16:12.761Z] Removing intermediate container 38c0d86f79d9 [2020-12-14T16:16:12.761Z] ---> 9131d83ae69f [2020-12-14T16:16:12.761Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-14T16:16:12.761Z] ---> Running in e676596cb194 [2020-12-14T16:16:13.355Z] Removing intermediate container e676596cb194 [2020-12-14T16:16:13.355Z] ---> aa1a6af2ab3b [2020-12-14T16:16:13.355Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-14T16:16:13.355Z] ---> Running in 09f0362bbbe1 [2020-12-14T16:16:15.968Z] Removing intermediate container 09f0362bbbe1 [2020-12-14T16:16:15.968Z] ---> e241daa218c6 [2020-12-14T16:16:15.968Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-14T16:16:15.968Z] ---> Running in fccb336055c8 [2020-12-14T16:16:16.946Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-14T16:16:17.539Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-14T16:16:18.132Z] OK: 142 MiB in 39 packages [2020-12-14T16:16:19.563Z] Removing intermediate container fccb336055c8 [2020-12-14T16:16:19.564Z] ---> 88308dd18e2a [2020-12-14T16:16:19.564Z] Step 8/24 : COPY . . [2020-12-14T16:16:20.547Z] ---> 14b911f7d4d1 [2020-12-14T16:16:20.547Z] Step 9/24 : RUN ${MAKE} [2020-12-14T16:16:20.819Z] ---> Running in 9a1798a9258e [2020-12-14T16:16:21.799Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.3.1-dev.6" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-12-14T16:16:48.601Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-14T16:16:48.601Z] Removing intermediate container 9a1798a9258e [2020-12-14T16:16:48.601Z] ---> 4ee56cfaca65 [2020-12-14T16:16:48.601Z] Step 10/24 : FROM scratch [2020-12-14T16:16:48.601Z] ---> [2020-12-14T16:16:48.601Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-14T16:16:48.874Z] ---> Running in 0065f3f7278c [2020-12-14T16:16:49.147Z] Removing intermediate container 0065f3f7278c [2020-12-14T16:16:49.147Z] ---> 7ba289e6b5f5 [2020-12-14T16:16:49.147Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-14T16:16:49.420Z] ---> Running in 47a33fec5220 [2020-12-14T16:16:49.697Z] Removing intermediate container 47a33fec5220 [2020-12-14T16:16:49.697Z] ---> 90bca3ca6a50 [2020-12-14T16:16:49.697Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-14T16:16:49.969Z] ---> Running in e168b05d1281 [2020-12-14T16:16:50.241Z] Removing intermediate container e168b05d1281 [2020-12-14T16:16:50.241Z] ---> 311fcd1408a4 [2020-12-14T16:16:50.241Z] Step 14/24 : WORKDIR / [2020-12-14T16:16:50.515Z] ---> Running in c43250a8061e [2020-12-14T16:16:50.790Z] Removing intermediate container c43250a8061e [2020-12-14T16:16:50.790Z] ---> 1a10cd9d1e44 [2020-12-14T16:16:50.790Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-14T16:16:52.221Z] ---> a9bcc412c6d3 [2020-12-14T16:16:52.221Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-14T16:16:52.815Z] ---> ed56f5d3e2e5 [2020-12-14T16:16:52.815Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-14T16:16:53.411Z] ---> 44162775b690 [2020-12-14T16:16:53.411Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-14T16:16:54.008Z] ---> 9660bfb91add [2020-12-14T16:16:54.008Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-14T16:16:54.988Z] ---> aa2a2af7459a [2020-12-14T16:16:54.988Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-14T16:16:54.988Z] ---> Running in f3c6773c9514 [2020-12-14T16:16:55.259Z] Removing intermediate container f3c6773c9514 [2020-12-14T16:16:55.259Z] ---> 0699a97a1e35 [2020-12-14T16:16:55.259Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-14T16:16:55.533Z] ---> Running in 22dab7759e65 [2020-12-14T16:16:55.807Z] Removing intermediate container 22dab7759e65 [2020-12-14T16:16:55.807Z] ---> 3820bef48401 [2020-12-14T16:16:55.807Z] Step 22/24 : LABEL arch=arm64 [2020-12-14T16:16:56.080Z] ---> Running in f01b338ba136 [2020-12-14T16:16:56.683Z] Removing intermediate container f01b338ba136 [2020-12-14T16:16:56.683Z] ---> 678863eabe50 [2020-12-14T16:16:56.683Z] Step 23/24 : LABEL git_sha=d2188d43b05b3896e876a49d31725ed73587c144 [2020-12-14T16:16:56.683Z] ---> Running in ebe315efd390 [2020-12-14T16:16:56.956Z] Removing intermediate container ebe315efd390 [2020-12-14T16:16:56.956Z] ---> f6bfef11af00 [2020-12-14T16:16:56.956Z] Step 24/24 : LABEL version=1.3.1-dev.6 [2020-12-14T16:16:57.229Z] ---> Running in 612ace51fefc [2020-12-14T16:16:57.821Z] Removing intermediate container 612ace51fefc [2020-12-14T16:16:57.821Z] ---> 0549501dfe9e [2020-12-14T16:16:57.821Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-14T16:16:57.821Z] Successfully built 0549501dfe9e [2020-12-14T16:16:57.821Z] 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 [2020-12-14T16:16:59.937Z] provisioning config files... [2020-12-14T16:16:59.950Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config667129816065380571tmp [Pipeline] { [Pipeline] sh [2020-12-14T16:17:00.478Z] + set +x [2020-12-14T16:17:00.478Z] + curl -s https://codecov.io/bash [2020-12-14T16:17:00.478Z] + bash -s -- [2020-12-14T16:17:00.866Z] [2020-12-14T16:17:00.866Z] _____ _ [2020-12-14T16:17:00.866Z] / ____| | | [2020-12-14T16:17:00.866Z] | | ___ __| | ___ ___ _____ __ [2020-12-14T16:17:00.866Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-14T16:17:00.866Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-14T16:17:00.866Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-14T16:17:00.866Z] Bash-20201130-cc6d3fe [2020-12-14T16:17:00.866Z] [2020-12-14T16:17:00.866Z] [2020-12-14T16:17:00.866Z] ==> Jenkins CI detected. [2020-12-14T16:17:01.187Z] project root: . [2020-12-14T16:17:01.187Z] --> token set from env [2020-12-14T16:17:01.187Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-14T16:17:01.187Z] ==> Running gcov in . (disable via -X gcov) [2020-12-14T16:17:01.187Z] ==> Python coveragepy not found [2020-12-14T16:17:01.187Z] ==> Searching for coverage reports in: [2020-12-14T16:17:01.187Z] + . [2020-12-14T16:17:01.187Z] -> Found 1 reports [2020-12-14T16:17:01.187Z] ==> Detecting git/mercurial file structure [2020-12-14T16:17:01.187Z] ==> Reading reports [2020-12-14T16:17:01.187Z] + ./coverage.out bytes=127610 [2020-12-14T16:17:01.187Z] ==> Appending adjustments [2020-12-14T16:17:01.187Z] https://docs.codecov.io/docs/fixing-reports [2020-12-14T16:17:02.230Z] + Found adjustments [2020-12-14T16:17:02.231Z] ==> Gzipping contents [2020-12-14T16:17:02.231Z] 24K /tmp/codecov.S0Bpwr.gz [2020-12-14T16:17:02.498Z] ==> Uploading reports [2020-12-14T16:17:02.498Z] url: https://codecov.io [2020-12-14T16:17:02.498Z] query: branch=master&commit=d2188d43b05b3896e876a49d31725ed73587c144&build=93&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F93%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-12-14T16:17:02.498Z] -> Pinging Codecov [2020-12-14T16:17:02.498Z] https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=master&commit=d2188d43b05b3896e876a49d31725ed73587c144&build=93&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F93%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-12-14T16:17:03.090Z] -> Uploading to [2020-12-14T16:17:03.090Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-14/7E55EF52A471D76F132DFD9A03CDDE97/d2188d43b05b3896e876a49d31725ed73587c144/5c87f646-5327-447e-b983-ae2b84f88cfa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201214T161702Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4261971ab6eedffdc27d7dfd0fd9c25134823488bc25082f4321ff854a0de13d [2020-12-14T16:17:03.090Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-14T16:17:03.090Z] Dload Upload Total Spent Left Speed [2020-12-14T16:17:03.678Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20881 0 0 100 20881 0 38087 --:--:-- --:--:-- --:--:-- 38173 [2020-12-14T16:17:03.678Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d2188d43b05b3896e876a49d31725ed73587c144 [Pipeline] } [2020-12-14T16:17:03.704Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2020-12-14T16:17:04.758Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2020-12-14T16:17:04.863Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-14T16:17:05.244Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-14T16:17:05.508Z] [2020-12-14T16:17:05.508Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2020-12-14T16:17:05.882Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-14T16:17:06.148Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2020-12-14T16:17:06.148Z] 188c0c94c7c5: Pulling fs layer [2020-12-14T16:17:06.148Z] 0ef7d3d256c8: Pulling fs layer [2020-12-14T16:17:06.148Z] de9db76c5a1d: Pulling fs layer [2020-12-14T16:17:06.148Z] 0eba1c9be4d2: Pulling fs layer [2020-12-14T16:17:06.148Z] 0d57e429df01: Pulling fs layer [2020-12-14T16:17:06.148Z] 4e4be7b47b0d: Pulling fs layer [2020-12-14T16:17:06.148Z] e1f770b5df2f: Pulling fs layer [2020-12-14T16:17:06.148Z] 85a0685a4137: Pulling fs layer [2020-12-14T16:17:06.148Z] 0eba1c9be4d2: Waiting [2020-12-14T16:17:06.148Z] 0d57e429df01: Waiting [2020-12-14T16:17:06.148Z] 4e4be7b47b0d: Waiting [2020-12-14T16:17:06.148Z] e1f770b5df2f: Waiting [2020-12-14T16:17:06.148Z] 85a0685a4137: Waiting [2020-12-14T16:17:06.148Z] de9db76c5a1d: Verifying Checksum [2020-12-14T16:17:06.148Z] de9db76c5a1d: Download complete [2020-12-14T16:17:06.148Z] 0ef7d3d256c8: Download complete [2020-12-14T16:17:06.148Z] 0d57e429df01: Download complete [2020-12-14T16:17:06.736Z] 4e4be7b47b0d: Verifying Checksum [2020-12-14T16:17:06.736Z] 4e4be7b47b0d: Download complete [2020-12-14T16:17:06.736Z] 188c0c94c7c5: Verifying Checksum [2020-12-14T16:17:06.736Z] 188c0c94c7c5: Download complete [2020-12-14T16:17:07.365Z] 188c0c94c7c5: Pull complete [2020-12-14T16:17:08.003Z] 0ef7d3d256c8: Pull complete [2020-12-14T16:17:08.332Z] de9db76c5a1d: Pull complete [2020-12-14T16:17:10.411Z] e1f770b5df2f: Verifying Checksum [2020-12-14T16:17:10.411Z] e1f770b5df2f: Download complete [2020-12-14T16:17:15.043Z] 0eba1c9be4d2: Verifying Checksum [2020-12-14T16:17:15.043Z] 0eba1c9be4d2: Download complete [2020-12-14T16:17:17.161Z] 85a0685a4137: Verifying Checksum [2020-12-14T16:17:17.161Z] 85a0685a4137: Download complete [2020-12-14T16:17:27.465Z] 0eba1c9be4d2: Pull complete [2020-12-14T16:17:27.465Z] 0d57e429df01: Pull complete [2020-12-14T16:17:27.767Z] 4e4be7b47b0d: Pull complete [2020-12-14T16:17:30.460Z] e1f770b5df2f: Pull complete [2020-12-14T16:17:40.723Z] 85a0685a4137: Pull complete [2020-12-14T16:17:40.723Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2020-12-14T16:17:40.991Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-14T16:17:40.991Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2020-12-14T16:17:41.278Z] prd-centos7-docker-4c-2g-15930 does not seem to be running inside a container [2020-12-14T16:17:41.353Z] $ 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 [2020-12-14T16:17:42.933Z] $ docker top 1e05277aa59f37381e4f5693ae7d7f1e2d4ff0cc4d2e7089ac3e4c4be77b9b2d -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-14T16:17:43.287Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2020-12-14T16:17:43.627Z] + set -o pipefail [2020-12-14T16:17:43.627Z] + snyk monitor '--org=edgex-jenkins' [2020-12-14T16:17:56.025Z] [2020-12-14T16:17:56.026Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... [2020-12-14T16:17:56.026Z] [2020-12-14T16:17:56.026Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/d27cb20c-3ccf-41c8-8c46-ce58c038e7aa [2020-12-14T16:17:56.026Z] [2020-12-14T16:17:56.026Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-12-14T16:17:56.026Z] [2020-12-14T16:17:56.026Z] [2020-12-14T16:17:56.026Z] You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. [2020-12-14T16:17:56.026Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2020-12-14T16:17:56.047Z] $ docker stop --time=1 1e05277aa59f37381e4f5693ae7d7f1e2d4ff0cc4d2e7089ac3e4c4be77b9b2d [2020-12-14T16:17:58.855Z] $ docker rm -f 1e05277aa59f37381e4f5693ae7d7f1e2d4ff0cc4d2e7089ac3e4c4be77b9b2d [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 [2020-12-14T16:18:00.873Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-14T16:18:00.948Z] provisioning config files... [2020-12-14T16:18:00.960Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8829282480645306983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-14T16:18:01.446Z] --> edgex-publish-swagger.sh [2020-12-14T16:18:01.446Z] === Publish openapi/v1 API === [2020-12-14T16:18:01.446Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2020-12-14T16:18:01.446Z] [publishToSwagger] Publishing API Name [device-sdk] [2020-12-14T16:18:01.446Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-14T16:18:01.446Z] Dload Upload Total Spent Left Speed [2020-12-14T16:18:02.429Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20188 0 0 100 20188 0 23494 --:--:-- --:--:-- --:--:-- 23501 100 20188 0 0 100 20188 0 23484 --:--:-- --:--:-- --:--:-- 23474 [2020-12-14T16:18:02.429Z] [2020-12-14T16:18:02.429Z] [2020-12-14T16:18:02.429Z] === Publish openapi/v2 API === [2020-12-14T16:18:02.429Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2020-12-14T16:18:02.429Z] [publishToSwagger] Publishing API Name [device-sdk] [2020-12-14T16:18:02.429Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-14T16:18:02.429Z] Dload Upload Total Spent Left Speed [2020-12-14T16:18:03.045Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 49274 0 0 100 49274 0 68041 --:--:-- --:--:-- --:--:-- 68058 100 49274 0 0 100 49274 0 68012 --:--:-- --:--:-- --:--:-- 67964 [2020-12-14T16:18:03.045Z] [2020-12-14T16:18:03.045Z] [Pipeline] } [2020-12-14T16:18:03.068Z] 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 [2020-12-14T16:18:04.174Z] + git log --format=format:%s -1 d2188d43b05b3896e876a49d31725ed73587c144 [Pipeline] isUnix [Pipeline] sh [2020-12-14T16:18:05.282Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-14T16:18:05.282Z] . [Pipeline] withDockerContainer [2020-12-14T16:18:05.627Z] prd-centos7-docker-4c-2g-15930 does not seem to be running inside a container [2020-12-14T16:18:05.751Z] $ 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 [2020-12-14T16:18:07.385Z] $ docker top 2159cf9c8255d92aa575ac90b67b789fc249c4ceb2713697b35eebdd90e33d24 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-14T16:18:07.860Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-14T16:18:07.860Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-14T16:18:08.388Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-14T16:18:08.395Z] $ docker exec 2159cf9c8255d92aa575ac90b67b789fc249c4ceb2713697b35eebdd90e33d24 ssh-agent [2020-12-14T16:18:08.844Z] SSH_AUTH_SOCK=/tmp/ssh-8vPMOf4dHtsa/agent.11 [2020-12-14T16:18:08.844Z] SSH_AGENT_PID=16 [2020-12-14T16:18:08.854Z] Running ssh-add (command line suppressed) [2020-12-14T16:18:09.090Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1290351652596056020.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1290351652596056020.key) [2020-12-14T16:18:09.168Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-14T16:18:09.534Z] + git semver tag [2020-12-14T16:18:09.799Z] # -> Open(): unable to determine branch for HEAD [2020-12-14T16:18:09.799Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-12-14T16:18:09.799Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-12-14T16:18:09.799Z] # $SEMVER_REMOTE_NAME = origin [2020-12-14T16:18:09.799Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-14T16:18:09.799Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-14T16:18:09.799Z] # $SEMVER_BRANCH = master [2020-12-14T16:18:09.799Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-12-14T16:18:09.799Z] # d2188d43b05b3896e876a49d31725ed73587c144 HEAD [2020-12-14T16:18:09.799Z] # -> Force: false [2020-12-14T16:18:09.799Z] # 9c1f6c04157893a23ceabca0c0ddedd7b92e7382 refs/tags/v1.3.1-dev.6 [Pipeline] } [2020-12-14T16:18:09.819Z] $ docker exec --env ******** --env ******** 2159cf9c8255d92aa575ac90b67b789fc249c4ceb2713697b35eebdd90e33d24 ssh-agent -k [2020-12-14T16:18:10.032Z] unset SSH_AUTH_SOCK; [2020-12-14T16:18:10.033Z] unset SSH_AGENT_PID; [2020-12-14T16:18:10.033Z] echo Agent pid 16 killed; [2020-12-14T16:18:10.101Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-14T16:18:10.779Z] + git semver [Pipeline] } [2020-12-14T16:18:10.799Z] $ docker stop --time=1 2159cf9c8255d92aa575ac90b67b789fc249c4ceb2713697b35eebdd90e33d24 [2020-12-14T16:18:12.246Z] $ docker rm -f 2159cf9c8255d92aa575ac90b67b789fc249c4ceb2713697b35eebdd90e33d24 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-12-14T16:18:13.035Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-14T16:18:13.035Z] [2020-12-14T16:18:13.035Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-12-14T16:18:13.403Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-14T16:18:13.404Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-12-14T16:18:13.404Z] ab5ef0e58194: Pulling fs layer [2020-12-14T16:18:13.404Z] 9712f1f96733: Pulling fs layer [2020-12-14T16:18:13.404Z] 63f879dbbcfc: Pulling fs layer [2020-12-14T16:18:13.404Z] 0d9ebad4ef96: Pulling fs layer [2020-12-14T16:18:13.404Z] e9a5061849ea: Pulling fs layer [2020-12-14T16:18:13.404Z] d747dcd14b5f: Pulling fs layer [2020-12-14T16:18:13.404Z] 2de7ff778b66: Pulling fs layer [2020-12-14T16:18:13.404Z] 0d9ebad4ef96: Waiting [2020-12-14T16:18:13.404Z] e9a5061849ea: Waiting [2020-12-14T16:18:13.404Z] d747dcd14b5f: Waiting [2020-12-14T16:18:13.404Z] 2de7ff778b66: Waiting [2020-12-14T16:18:13.404Z] 9712f1f96733: Verifying Checksum [2020-12-14T16:18:13.404Z] 9712f1f96733: Download complete [2020-12-14T16:18:16.013Z] 63f879dbbcfc: Verifying Checksum [2020-12-14T16:18:16.013Z] 63f879dbbcfc: Download complete [2020-12-14T16:18:16.013Z] e9a5061849ea: Verifying Checksum [2020-12-14T16:18:16.013Z] e9a5061849ea: Download complete [2020-12-14T16:18:16.284Z] d747dcd14b5f: Verifying Checksum [2020-12-14T16:18:16.284Z] d747dcd14b5f: Download complete [2020-12-14T16:18:16.875Z] 2de7ff778b66: Verifying Checksum [2020-12-14T16:18:16.875Z] 2de7ff778b66: Download complete [2020-12-14T16:18:16.875Z] ab5ef0e58194: Verifying Checksum [2020-12-14T16:18:16.875Z] ab5ef0e58194: Download complete [2020-12-14T16:18:16.875Z] 0d9ebad4ef96: Verifying Checksum [2020-12-14T16:18:16.875Z] 0d9ebad4ef96: Download complete [2020-12-14T16:18:25.222Z] ab5ef0e58194: Pull complete [2020-12-14T16:18:25.222Z] 9712f1f96733: Pull complete [2020-12-14T16:18:27.918Z] 63f879dbbcfc: Pull complete [2020-12-14T16:18:38.166Z] 0d9ebad4ef96: Pull complete [2020-12-14T16:18:40.255Z] e9a5061849ea: Pull complete [2020-12-14T16:18:40.571Z] d747dcd14b5f: Pull complete [2020-12-14T16:18:43.274Z] 2de7ff778b66: Pull complete [2020-12-14T16:18:43.274Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-12-14T16:18:43.274Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-14T16:18:43.274Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-12-14T16:18:43.558Z] prd-centos7-docker-4c-2g-15930 does not seem to be running inside a container [2020-12-14T16:18:43.634Z] $ 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 [2020-12-14T16:18:47.591Z] $ docker top ed0bc85b73d2591dd8fad3533a5b33d75b7909193a86628c6a4f898fbeb35047 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-12-14T16:18:48.109Z] provisioning config files... [2020-12-14T16:18:48.135Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config598003077410174716tmp [2020-12-14T16:18:48.171Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8325272872057659978tmp [2020-12-14T16:18:48.249Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6638452219675167232tmp [Pipeline] { [Pipeline] echo [2020-12-14T16:18:48.340Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T16:18:49.016Z] ---> sigul-configuration.sh [2020-12-14T16:18:49.016Z] gpg: directory `/root/.gnupg' created [2020-12-14T16:18:49.016Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-12-14T16:18:49.016Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-12-14T16:18:49.016Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-12-14T16:18:49.016Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-12-14T16:18:49.016Z] gpg: CAST5 encrypted data [2020-12-14T16:18:49.299Z] gpg: encrypted with 1 passphrase [2020-12-14T16:18:49.299Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-12-14T16:18:49.633Z] + mkdir /home/jenkins [2020-12-14T16:18:49.633Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-12-14T16:18:49.974Z] + 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 [2020-12-14T16:18:49.990Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T16:18:50.316Z] ---> sigul-install.sh [2020-12-14T16:18:58.654Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-12-14T16:18:59.375Z] + git tag --list [2020-12-14T16:18:59.375Z] 0.7.1 [2020-12-14T16:18:59.375Z] delhi-tag [2020-12-14T16:18:59.375Z] v1.0.0 [2020-12-14T16:18:59.375Z] v1.1.0 [2020-12-14T16:18:59.375Z] v1.1.1 [2020-12-14T16:18:59.375Z] v1.1.2 [2020-12-14T16:18:59.375Z] v1.2.0 [2020-12-14T16:18:59.375Z] v1.2.1 [2020-12-14T16:18:59.375Z] v1.2.2 [2020-12-14T16:18:59.375Z] v1.2.3 [2020-12-14T16:18:59.375Z] v1.2.4-dev.1 [2020-12-14T16:18:59.375Z] v1.2.4-dev.10 [2020-12-14T16:18:59.375Z] v1.2.4-dev.11 [2020-12-14T16:18:59.375Z] v1.2.4-dev.12 [2020-12-14T16:18:59.375Z] v1.2.4-dev.13 [2020-12-14T16:18:59.375Z] v1.2.4-dev.14 [2020-12-14T16:18:59.375Z] v1.2.4-dev.15 [2020-12-14T16:18:59.375Z] v1.2.4-dev.16 [2020-12-14T16:18:59.375Z] v1.2.4-dev.17 [2020-12-14T16:18:59.375Z] v1.2.4-dev.18 [2020-12-14T16:18:59.375Z] v1.2.4-dev.19 [2020-12-14T16:18:59.375Z] v1.2.4-dev.2 [2020-12-14T16:18:59.375Z] v1.2.4-dev.20 [2020-12-14T16:18:59.375Z] v1.2.4-dev.21 [2020-12-14T16:18:59.375Z] v1.2.4-dev.22 [2020-12-14T16:18:59.375Z] v1.2.4-dev.23 [2020-12-14T16:18:59.375Z] v1.2.4-dev.24 [2020-12-14T16:18:59.375Z] v1.2.4-dev.25 [2020-12-14T16:18:59.375Z] v1.2.4-dev.26 [2020-12-14T16:18:59.375Z] v1.2.4-dev.27 [2020-12-14T16:18:59.375Z] v1.2.4-dev.28 [2020-12-14T16:18:59.375Z] v1.2.4-dev.29 [2020-12-14T16:18:59.375Z] v1.2.4-dev.3 [2020-12-14T16:18:59.375Z] v1.2.4-dev.30 [2020-12-14T16:18:59.375Z] v1.2.4-dev.31 [2020-12-14T16:18:59.375Z] v1.2.4-dev.32 [2020-12-14T16:18:59.375Z] v1.2.4-dev.33 [2020-12-14T16:18:59.375Z] v1.2.4-dev.34 [2020-12-14T16:18:59.375Z] v1.2.4-dev.35 [2020-12-14T16:18:59.375Z] v1.2.4-dev.4 [2020-12-14T16:18:59.375Z] v1.2.4-dev.5 [2020-12-14T16:18:59.375Z] v1.2.4-dev.6 [2020-12-14T16:18:59.375Z] v1.2.4-dev.7 [2020-12-14T16:18:59.375Z] v1.2.4-dev.8 [2020-12-14T16:18:59.375Z] v1.2.4-dev.9 [2020-12-14T16:18:59.375Z] v1.3.0 [2020-12-14T16:18:59.375Z] v1.3.1-dev.1 [2020-12-14T16:18:59.375Z] v1.3.1-dev.2 [2020-12-14T16:18:59.375Z] v1.3.1-dev.3 [2020-12-14T16:18:59.375Z] v1.3.1-dev.4 [2020-12-14T16:18:59.375Z] v1.3.1-dev.5 [2020-12-14T16:18:59.375Z] v1.3.1-dev.6 [Pipeline] sh [2020-12-14T16:19:00.163Z] + lftools sign git-tag v1.3.1-dev.6 [2020-12-14T16:19:02.866Z] Signing Git tag with Sigul... [2020-12-14T16:19:02.866Z] Signing v1.3.1-dev.6 [Pipeline] echo [2020-12-14T16:19:03.852Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T16:19:04.530Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-12-14T16:19:04.543Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-12-14T16:19:04.668Z] $ docker stop --time=1 ed0bc85b73d2591dd8fad3533a5b33d75b7909193a86628c6a4f898fbeb35047 [2020-12-14T16:19:07.032Z] $ docker rm -f ed0bc85b73d2591dd8fad3533a5b33d75b7909193a86628c6a4f898fbeb35047 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-12-14T16:19:08.264Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-14T16:19:08.264Z] . [Pipeline] withDockerContainer [2020-12-14T16:19:08.426Z] prd-centos7-docker-4c-2g-15930 does not seem to be running inside a container [2020-12-14T16:19:08.497Z] $ 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 [2020-12-14T16:19:09.712Z] $ docker top f54f063ae5ee58aa2714a42ad357e296235c3724dae4fb50357a356338e8e6cb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-14T16:19:10.130Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-14T16:19:10.130Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-14T16:19:10.600Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-14T16:19:10.606Z] $ docker exec f54f063ae5ee58aa2714a42ad357e296235c3724dae4fb50357a356338e8e6cb ssh-agent [2020-12-14T16:19:11.262Z] SSH_AUTH_SOCK=/tmp/ssh-Izd8FMFn4XJV/agent.11 [2020-12-14T16:19:11.262Z] SSH_AGENT_PID=16 [2020-12-14T16:19:11.298Z] Running ssh-add (command line suppressed) [2020-12-14T16:19:11.659Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5987888554525620746.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5987888554525620746.key) [2020-12-14T16:19:11.810Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-14T16:19:12.500Z] + git semver bump pre [2020-12-14T16:19:12.500Z] # -> Open(): unable to determine branch for HEAD [2020-12-14T16:19:12.500Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-12-14T16:19:12.500Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-12-14T16:19:12.500Z] # $SEMVER_REMOTE_NAME = origin [2020-12-14T16:19:12.500Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-14T16:19:12.500Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-14T16:19:12.500Z] # $SEMVER_BRANCH = master [2020-12-14T16:19:12.500Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-12-14T16:19:12.500Z] 1.3.1-dev.7 [Pipeline] } [2020-12-14T16:19:12.517Z] $ docker exec --env ******** --env ******** f54f063ae5ee58aa2714a42ad357e296235c3724dae4fb50357a356338e8e6cb ssh-agent -k [2020-12-14T16:19:12.867Z] unset SSH_AUTH_SOCK; [2020-12-14T16:19:12.868Z] unset SSH_AGENT_PID; [2020-12-14T16:19:12.868Z] echo Agent pid 16 killed; [2020-12-14T16:19:13.040Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-14T16:19:13.889Z] + git semver [Pipeline] } [2020-12-14T16:19:13.916Z] $ docker stop --time=1 f54f063ae5ee58aa2714a42ad357e296235c3724dae4fb50357a356338e8e6cb [2020-12-14T16:19:15.809Z] $ docker rm -f f54f063ae5ee58aa2714a42ad357e296235c3724dae4fb50357a356338e8e6cb [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-12-14T16:19:16.592Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-14T16:19:16.880Z] . [Pipeline] withDockerContainer [2020-12-14T16:19:17.141Z] prd-centos7-docker-4c-2g-15930 does not seem to be running inside a container [2020-12-14T16:19:17.297Z] $ 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 [2020-12-14T16:19:18.803Z] $ docker top 05c58ba6654e21fb0b3993f6067b946872c7844c296e0e98f566c2541f80aed9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-14T16:19:19.200Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-14T16:19:19.200Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-14T16:19:19.749Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-14T16:19:19.755Z] $ docker exec 05c58ba6654e21fb0b3993f6067b946872c7844c296e0e98f566c2541f80aed9 ssh-agent [2020-12-14T16:19:20.064Z] SSH_AUTH_SOCK=/tmp/ssh-Vt5SitfciWR5/agent.11 [2020-12-14T16:19:20.064Z] SSH_AGENT_PID=16 [2020-12-14T16:19:20.074Z] Running ssh-add (command line suppressed) [2020-12-14T16:19:20.304Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5494966318738498608.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5494966318738498608.key) [2020-12-14T16:19:20.413Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-14T16:19:20.781Z] + git semver push [2020-12-14T16:19:20.781Z] # -> Open(): unable to determine branch for HEAD [2020-12-14T16:19:20.781Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-12-14T16:19:20.781Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-12-14T16:19:20.781Z] # $SEMVER_REMOTE_NAME = origin [2020-12-14T16:19:20.781Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-14T16:19:20.781Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-14T16:19:20.781Z] # $SEMVER_BRANCH = master [2020-12-14T16:19:20.781Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-12-14T16:19:29.010Z] $ docker exec --env ******** --env ******** 05c58ba6654e21fb0b3993f6067b946872c7844c296e0e98f566c2541f80aed9 ssh-agent -k [2020-12-14T16:19:29.247Z] unset SSH_AUTH_SOCK; [2020-12-14T16:19:29.249Z] unset SSH_AGENT_PID; [2020-12-14T16:19:29.249Z] echo Agent pid 16 killed; [2020-12-14T16:19:29.351Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-14T16:19:29.929Z] + git semver [Pipeline] } [2020-12-14T16:19:30.283Z] $ docker stop --time=1 05c58ba6654e21fb0b3993f6067b946872c7844c296e0e98f566c2541f80aed9 [2020-12-14T16:19:31.803Z] $ docker rm -f 05c58ba6654e21fb0b3993f6067b946872c7844c296e0e98f566c2541f80aed9 [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 [2020-12-14T16:19:33.889Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T16:19:34.477Z] ---> package-listing.sh [2020-12-14T16:19:34.477Z] ++ facter osfamily [2020-12-14T16:19:34.477Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-14T16:19:34.477Z] + OS_FAMILY=redhat [2020-12-14T16:19:34.477Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-12-14T16:19:34.477Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-14T16:19:34.477Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-14T16:19:34.477Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-14T16:19:34.477Z] + PACKAGES=/tmp/packages_start.txt [2020-12-14T16:19:34.477Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-12-14T16:19:34.477Z] + PACKAGES=/tmp/packages_end.txt [2020-12-14T16:19:34.477Z] + case "${OS_FAMILY}" in [2020-12-14T16:19:34.477Z] + sort [2020-12-14T16:19:34.477Z] + rpm -qa [2020-12-14T16:19:41.176Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-14T16:19:41.176Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-14T16:19:41.176Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-14T16:19:41.176Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-12-14T16:19:41.176Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-12-14T16:19:41.176Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo [2020-12-14T16:19:41.193Z] 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 [2020-12-14T16:19:41.506Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-14T16:19:42.132Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-14T16:19:42.132Z] [2020-12-14T16:19:42.132Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-14T16:19:42.549Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-14T16:19:42.549Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-14T16:19:42.549Z] df20fa9351a1: Pulling fs layer [2020-12-14T16:19:42.549Z] 36b3adc4ff6f: Pulling fs layer [2020-12-14T16:19:42.549Z] 8ad3a11d3b57: Pulling fs layer [2020-12-14T16:19:42.549Z] 46f8f816bc3b: Pulling fs layer [2020-12-14T16:19:42.549Z] 93b61091891f: Pulling fs layer [2020-12-14T16:19:42.549Z] 93b9cdb0e59b: Pulling fs layer [2020-12-14T16:19:42.549Z] 5e14af77c1be: Pulling fs layer [2020-12-14T16:19:42.549Z] 01666e4c0597: Pulling fs layer [2020-12-14T16:19:42.549Z] aa168da1d23b: Pulling fs layer [2020-12-14T16:19:42.549Z] 46f8f816bc3b: Waiting [2020-12-14T16:19:42.549Z] 93b61091891f: Waiting [2020-12-14T16:19:42.549Z] 93b9cdb0e59b: Waiting [2020-12-14T16:19:42.549Z] 5e14af77c1be: Waiting [2020-12-14T16:19:42.549Z] 01666e4c0597: Waiting [2020-12-14T16:19:42.549Z] aa168da1d23b: Waiting [2020-12-14T16:19:42.845Z] 36b3adc4ff6f: Verifying Checksum [2020-12-14T16:19:42.845Z] 36b3adc4ff6f: Download complete [2020-12-14T16:19:42.845Z] 46f8f816bc3b: Verifying Checksum [2020-12-14T16:19:42.845Z] 46f8f816bc3b: Download complete [2020-12-14T16:19:42.845Z] df20fa9351a1: Verifying Checksum [2020-12-14T16:19:42.845Z] df20fa9351a1: Download complete [2020-12-14T16:19:42.845Z] 93b9cdb0e59b: Verifying Checksum [2020-12-14T16:19:42.845Z] 93b9cdb0e59b: Download complete [2020-12-14T16:19:42.845Z] 5e14af77c1be: Verifying Checksum [2020-12-14T16:19:42.845Z] 5e14af77c1be: Download complete [2020-12-14T16:19:42.845Z] 93b61091891f: Verifying Checksum [2020-12-14T16:19:42.845Z] 93b61091891f: Download complete [2020-12-14T16:19:42.845Z] 01666e4c0597: Verifying Checksum [2020-12-14T16:19:42.845Z] 01666e4c0597: Download complete [2020-12-14T16:19:43.503Z] df20fa9351a1: Pull complete [2020-12-14T16:19:43.793Z] 8ad3a11d3b57: Verifying Checksum [2020-12-14T16:19:43.793Z] 8ad3a11d3b57: Download complete [2020-12-14T16:19:43.793Z] 36b3adc4ff6f: Pull complete [2020-12-14T16:19:45.858Z] 8ad3a11d3b57: Pull complete [2020-12-14T16:19:46.130Z] 46f8f816bc3b: Pull complete [2020-12-14T16:19:47.149Z] 93b61091891f: Pull complete [2020-12-14T16:19:47.149Z] aa168da1d23b: Verifying Checksum [2020-12-14T16:19:47.149Z] aa168da1d23b: Download complete [2020-12-14T16:19:47.424Z] 93b9cdb0e59b: Pull complete [2020-12-14T16:19:47.693Z] 5e14af77c1be: Pull complete [2020-12-14T16:19:47.959Z] 01666e4c0597: Pull complete [2020-12-14T16:20:03.211Z] aa168da1d23b: Pull complete [2020-12-14T16:20:03.211Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-14T16:20:03.211Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-14T16:20:03.211Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-14T16:20:03.843Z] prd-centos7-docker-4c-2g-15930 does not seem to be running inside a container [2020-12-14T16:20:04.158Z] $ 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 [2020-12-14T16:20:06.943Z] $ docker top 07e42799d7083f1d4501d6ba5aee0691576890244a558cd50298cea571034c7f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-14T16:20:07.588Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-14T16:20:07.947Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-14T16:20:08.309Z] + ls /var/log/sa-host [2020-12-14T16:20:08.309Z] + sadf -c /var/log/sa-host/sa14 [2020-12-14T16:20:08.309Z] file_magic: OK [2020-12-14T16:20:08.309Z] HZ: Using current value: 100 [2020-12-14T16:20:08.309Z] file_header: OK [2020-12-14T16:20:08.309Z] 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 [2020-12-14T16:20:08.309Z] Statistics: [2020-12-14T16:20:08.309Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-14T16:20:08.309Z] File successfully converted to sysstat format version 12.2.1 [2020-12-14T16:20:08.309Z] + sadf -c /var/log/sa-host/sa23 [2020-12-14T16:20:08.309Z] file_magic: OK [2020-12-14T16:20:08.309Z] HZ: Using current value: 100 [2020-12-14T16:20:08.309Z] file_header: OK [2020-12-14T16:20:08.309Z] 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 [2020-12-14T16:20:08.309Z] Statistics: [2020-12-14T16:20:08.309Z] Hnuu...uuuununununu... [2020-12-14T16:20:08.309Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-14T16:20:09.102Z] provisioning config files... [2020-12-14T16:20:09.138Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3923354999644986805tmp [Pipeline] { [Pipeline] echo [2020-12-14T16:20:09.212Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T16:20:09.933Z] ---> create-netrc.sh [Pipeline] } [2020-12-14T16:20:09.961Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-14T16:20:10.071Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T16:20:10.853Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-14T16:20:10.892Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T16:20:11.208Z] ---> sudo-logs.sh [2020-12-14T16:20:11.208Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-14T16:20:11.222Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T16:20:11.550Z] ---> job-cost.sh [2020-12-14T16:20:11.819Z] lf-activate-venv: SKIPPING [2020-12-14T16:20:11.819Z] INFO: No Stack... [2020-12-14T16:20:13.778Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-14T16:20:14.355Z] INFO: Archiving Costs [Pipeline] echo [2020-12-14T16:20:14.372Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T16:20:14.911Z] ---> logs-deploy.sh [2020-12-14T16:20:14.911Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/93 [2020-12-14T16:20:14.911Z] INFO: archiving workspace using pattern(s): [2020-12-14T16:20:17.514Z] Archives upload complete. [2020-12-14T16:20:17.514Z] INFO: archiving logs to Nexus