Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3aea893206dfece0cb943228d650ae216607898f Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-24198’ is offline Running on prd-centos7-docker-4c-2g-24201 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 3aea893206dfece0cb943228d650ae216607898f (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 3aea893206dfece0cb943228d650ae216607898f # timeout=10 Commit message: "Merge pull request #753 from judehung/issue-352" > git rev-list --no-walk 84ea4a05cef1466ee67975698004463005cbf340 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-31T15:56:03.761Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-31T15:56:04.027Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-31T15:56:04.119Z] ========================================================= [2021-01-31T15:56:04.119Z] EdgeX Global Pipelines Version Info [2021-01-31T15:56:04.119Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-31T15:56:05.672Z] ------------------- [2021-01-31T15:56:05.672Z] stable info: [2021-01-31T15:56:05.672Z] ------------------- [2021-01-31T15:56:05.672Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-31T15:56:05.672Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-31T15:56:05.672Z] Message: update stable to v1.0.179 [2021-01-31T15:56:06.620Z] ------------------- [2021-01-31T15:56:06.620Z] experimental info: [2021-01-31T15:56:06.620Z] ------------------- [2021-01-31T15:56:06.621Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-31T15:56:06.621Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-31T15:56:06.621Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-31T15:56:06.910Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-31T15:56:07.010Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-31T15:56:07.120Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-31T15:56:07.226Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-31T15:56:07.321Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-31T15:56:07.408Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-31T15:56:07.497Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-31T15:56:07.596Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-31T15:56:07.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-31T15:56:07.863Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-31T15:56:07.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-31T15:56:08.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-31T15:56:08.167Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-31T15:56:08.254Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-31T15:56:08.368Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-31T15:56:08.459Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-31T15:56:08.551Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-31T15:56:08.652Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-31T15:56:08.789Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-31T15:56:08.889Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-31T15:56:09.021Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-31T15:56:09.160Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-31T15:56:09.307Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-31T15:56:09.429Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-31T15:56:09.514Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-31T15:56:09.599Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-31T15:56:09.703Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-31T15:56:09.788Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-01-31T15:56:09.906Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-01-31T15:56:09.992Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-01-31T15:56:10.076Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3aea893206dfece0cb943228d650ae216607898f [Pipeline] echo [2021-01-31T15:56:10.164Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3aea893 [Pipeline] echo [2021-01-31T15:56:10.297Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-31T15:56:10.462Z] provisioning config files... [2021-01-31T15:56:10.503Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8056739944396583206tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-31T15:56:10.867Z] ---> docker-login.sh [2021-01-31T15:56:10.867Z] nexus3.edgexfoundry.org:10001 [2021-01-31T15:56:11.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-31T15:56:11.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-31T15:56:11.438Z] Configure a credential helper to remove this warning. See [2021-01-31T15:56:11.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-31T15:56:11.438Z] [2021-01-31T15:56:11.438Z] Login Succeeded [2021-01-31T15:56:11.438Z] nexus3.edgexfoundry.org:10002 [2021-01-31T15:56:11.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-31T15:56:11.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-31T15:56:11.438Z] Configure a credential helper to remove this warning. See [2021-01-31T15:56:11.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-31T15:56:11.439Z] [2021-01-31T15:56:11.439Z] Login Succeeded [2021-01-31T15:56:11.702Z] nexus3.edgexfoundry.org:10003 [2021-01-31T15:56:11.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-31T15:56:11.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-31T15:56:11.702Z] Configure a credential helper to remove this warning. See [2021-01-31T15:56:11.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-31T15:56:11.702Z] [2021-01-31T15:56:11.702Z] Login Succeeded [2021-01-31T15:56:11.702Z] nexus3.edgexfoundry.org:10004 [2021-01-31T15:56:11.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-31T15:56:11.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-31T15:56:11.966Z] Configure a credential helper to remove this warning. See [2021-01-31T15:56:11.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-31T15:56:11.966Z] [2021-01-31T15:56:11.966Z] Login Succeeded [2021-01-31T15:56:11.966Z] docker.io [2021-01-31T15:56:11.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-31T15:56:12.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-31T15:56:12.231Z] Configure a credential helper to remove this warning. See [2021-01-31T15:56:12.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-31T15:56:12.231Z] [2021-01-31T15:56:12.231Z] Login Succeeded [2021-01-31T15:56:12.231Z] ---> docker-login.sh ends [Pipeline] } [2021-01-31T15:56:12.241Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-31T15:56:13.013Z] + git log --format=format:%s -1 3aea893206dfece0cb943228d650ae216607898f [Pipeline] echo [2021-01-31T15:56:13.085Z] GIT_COMMIT: 3aea893206dfece0cb943228d650ae216607898f, Commit Message: Merge pull request #753 from judehung/issue-352 [Pipeline] echo [2021-01-31T15:56:13.129Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-31T15:56:13.756Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-31T15:56:13.756Z] [2021-01-31T15:56:13.756Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-31T15:56:14.107Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-31T15:56:14.108Z] latest: Pulling from edgex-devops/git-semver [2021-01-31T15:56:14.108Z] 31603596830f: Pulling fs layer [2021-01-31T15:56:14.108Z] 2a8b12db71e7: Pulling fs layer [2021-01-31T15:56:14.108Z] 6ca5941a6612: Pulling fs layer [2021-01-31T15:56:14.108Z] ecc8261a40a4: Pulling fs layer [2021-01-31T15:56:14.108Z] ecc8261a40a4: Waiting [2021-01-31T15:56:14.108Z] 2a8b12db71e7: Verifying Checksum [2021-01-31T15:56:14.108Z] 2a8b12db71e7: Download complete [2021-01-31T15:56:14.108Z] 31603596830f: Download complete [2021-01-31T15:56:14.375Z] ecc8261a40a4: Verifying Checksum [2021-01-31T15:56:14.375Z] ecc8261a40a4: Download complete [2021-01-31T15:56:14.375Z] 6ca5941a6612: Verifying Checksum [2021-01-31T15:56:14.375Z] 6ca5941a6612: Download complete [2021-01-31T15:56:14.639Z] 31603596830f: Pull complete [2021-01-31T15:56:14.639Z] 2a8b12db71e7: Pull complete [2021-01-31T15:56:15.589Z] 6ca5941a6612: Pull complete [2021-01-31T15:56:15.851Z] ecc8261a40a4: Pull complete [2021-01-31T15:56:15.851Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-31T15:56:15.851Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-31T15:56:15.851Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-31T15:56:15.960Z] prd-centos7-docker-4c-2g-24201 does not seem to be running inside a container [2021-01-31T15:56:16.008Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-31T15:56:17.997Z] $ docker top f0802f3f24eaeef19f6ccbf050026206fecc8211858a53db7a088b756db761b3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-31T15:56:18.285Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-31T15:56:18.285Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-31T15:56:18.519Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-31T15:56:18.522Z] $ docker exec f0802f3f24eaeef19f6ccbf050026206fecc8211858a53db7a088b756db761b3 ssh-agent [2021-01-31T15:56:18.705Z] SSH_AUTH_SOCK=/tmp/ssh-RcosUgUeiftK/agent.11 [2021-01-31T15:56:18.705Z] SSH_AGENT_PID=16 [2021-01-31T15:56:18.721Z] Running ssh-add (command line suppressed) [2021-01-31T15:56:18.858Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1574493997460050481.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1574493997460050481.key) [2021-01-31T15:56:18.918Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-31T15:56:19.258Z] + git tag --points-at HEAD [Pipeline] } [2021-01-31T15:56:19.280Z] $ docker exec --env ******** --env ******** f0802f3f24eaeef19f6ccbf050026206fecc8211858a53db7a088b756db761b3 ssh-agent -k [2021-01-31T15:56:19.407Z] unset SSH_AUTH_SOCK; [2021-01-31T15:56:19.407Z] unset SSH_AGENT_PID; [2021-01-31T15:56:19.407Z] echo Agent pid 16 killed; [2021-01-31T15:56:19.467Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-31T15:56:19.611Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-31T15:56:19.611Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-31T15:56:19.793Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-31T15:56:19.796Z] $ docker exec f0802f3f24eaeef19f6ccbf050026206fecc8211858a53db7a088b756db761b3 ssh-agent [2021-01-31T15:56:19.975Z] SSH_AUTH_SOCK=/tmp/ssh-O0bB2n2I5YyA/agent.44 [2021-01-31T15:56:19.975Z] SSH_AGENT_PID=49 [2021-01-31T15:56:19.981Z] Running ssh-add (command line suppressed) [2021-01-31T15:56:20.101Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_877708278202440301.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_877708278202440301.key) [2021-01-31T15:56:20.155Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-31T15:56:20.499Z] + git semver init [2021-01-31T15:56:20.499Z] # -> Open(): unable to determine branch for HEAD [2021-01-31T15:56:20.499Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-31T15:56:20.499Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-31T15:56:20.499Z] # $SEMVER_REMOTE_NAME = origin [2021-01-31T15:56:20.499Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-31T15:56:20.499Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-31T15:56:20.499Z] # $SEMVER_BRANCH = master [2021-01-31T15:56:20.499Z] # $SEMVER_TEMP = /tmp/semver-578966130 [2021-01-31T15:56:20.499Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-31T15:56:21.078Z] # '/tmp/semver-578966130' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2021-01-31T15:56:21.078Z] # -> Force: false [2021-01-31T15:56:21.078Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-01-31T15:56:21.089Z] $ docker exec --env ******** --env ******** f0802f3f24eaeef19f6ccbf050026206fecc8211858a53db7a088b756db761b3 ssh-agent -k [2021-01-31T15:56:21.208Z] unset SSH_AUTH_SOCK; [2021-01-31T15:56:21.208Z] unset SSH_AGENT_PID; [2021-01-31T15:56:21.208Z] echo Agent pid 49 killed; [2021-01-31T15:56:21.258Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-31T15:56:21.723Z] + git semver [Pipeline] } [2021-01-31T15:56:21.740Z] $ docker stop --time=1 f0802f3f24eaeef19f6ccbf050026206fecc8211858a53db7a088b756db761b3 [2021-01-31T15:56:23.118Z] $ docker rm -f f0802f3f24eaeef19f6ccbf050026206fecc8211858a53db7a088b756db761b3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-31T15:56:23.585Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-31T15:56:24.185Z] Stashed 1 file(s) [Pipeline] echo [2021-01-31T15:56:24.188Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.10 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-31T15:56:39.767Z] Still waiting to schedule task [2021-01-31T15:56:39.767Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-31T15:56:39.770Z] Still waiting to schedule task [2021-01-31T15:56:39.770Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-24199’ is offline [2021-01-31T15:58:29.746Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-24202 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-01-31T15:58:29.811Z] Running in /w/workspace/device-sdk-go/115 [Pipeline] { [Pipeline] checkout [2021-01-31T15:58:35.153Z] using credential edgex-jenkins-ssh [2021-01-31T15:58:35.213Z] Cloning the remote Git repository [2021-01-31T15:58:35.281Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-31T15:58:35.384Z] > git init /w/workspace/device-sdk-go/115 # timeout=10 [2021-01-31T15:58:35.465Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-31T15:58:35.466Z] > git --version # timeout=10 [2021-01-31T15:58:35.489Z] > git --version # 'git version 2.17.1' [2021-01-31T15:58:35.491Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-31T15:58:35.563Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-31T15:58:37.282Z] Checking out Revision 3aea893206dfece0cb943228d650ae216607898f (master) [2021-01-31T15:58:36.770Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-31T15:58:36.786Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-31T15:58:36.814Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-31T15:58:36.847Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-31T15:58:36.847Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-31T15:58:36.858Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-31T15:58:37.318Z] > git config core.sparsecheckout # timeout=10 [2021-01-31T15:58:37.334Z] > git checkout -f 3aea893206dfece0cb943228d650ae216607898f # timeout=10 [2021-01-31T15:58:41.771Z] Commit message: "Merge pull request #753 from judehung/issue-352" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-31T15:58:43.276Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-31T15:58:43.683Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-31T15:58:44.026Z] + true [2021-01-31T15:58:44.026Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-31T15:58:46.733Z] provisioning config files... [2021-01-31T15:58:46.794Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/115@tmp/config7398266344848870755tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-31T15:58:47.225Z] ---> docker-login.sh [2021-01-31T15:58:47.225Z] nexus3.edgexfoundry.org:10001 [2021-01-31T15:58:48.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-31T15:58:48.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-31T15:58:48.484Z] Configure a credential helper to remove this warning. See [2021-01-31T15:58:48.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-31T15:58:48.484Z] [2021-01-31T15:58:48.484Z] Login Succeeded [2021-01-31T15:58:48.484Z] nexus3.edgexfoundry.org:10002 [2021-01-31T15:58:48.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-31T15:58:49.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-31T15:58:49.031Z] Configure a credential helper to remove this warning. See [2021-01-31T15:58:49.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-31T15:58:49.031Z] [2021-01-31T15:58:49.031Z] Login Succeeded [2021-01-31T15:58:49.031Z] nexus3.edgexfoundry.org:10003 [2021-01-31T15:58:49.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-31T15:58:49.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-31T15:58:49.577Z] Configure a credential helper to remove this warning. See [2021-01-31T15:58:49.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-31T15:58:49.577Z] [2021-01-31T15:58:49.577Z] Login Succeeded [2021-01-31T15:58:49.577Z] nexus3.edgexfoundry.org:10004 [2021-01-31T15:58:49.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-31T15:58:50.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-31T15:58:50.128Z] Configure a credential helper to remove this warning. See [2021-01-31T15:58:50.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-31T15:58:50.128Z] [2021-01-31T15:58:50.128Z] Login Succeeded [2021-01-31T15:58:50.128Z] docker.io [2021-01-31T15:58:50.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-31T15:58:50.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-31T15:58:50.997Z] Configure a credential helper to remove this warning. See [2021-01-31T15:58:50.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-31T15:58:50.997Z] [2021-01-31T15:58:50.997Z] Login Succeeded [2021-01-31T15:58:50.997Z] ---> docker-login.sh ends [Pipeline] } [2021-01-31T15:58:51.015Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-31T15:58:51.472Z] ========================================================= [2021-01-31T15:58:51.472Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-31T15:58:51.472Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-31T15:58:51.847Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-31T15:58:52.448Z] Sending build context to Docker daemon 2.487MB [2021-01-31T15:58:52.448Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-31T15:58:52.448Z] Step 2/8 : FROM ${BASE} [2021-01-31T15:58:52.448Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-31T15:58:52.448Z] 5f621e34cdf4: Pulling fs layer [2021-01-31T15:58:52.448Z] a4357932f1b6: Pulling fs layer [2021-01-31T15:58:52.448Z] 18c013af1878: Pulling fs layer [2021-01-31T15:58:52.448Z] 00ac8860ef70: Pulling fs layer [2021-01-31T15:58:52.448Z] 63d7cb157983: Pulling fs layer [2021-01-31T15:58:52.448Z] b116817d02f9: Pulling fs layer [2021-01-31T15:58:52.448Z] 745a02a5169b: Pulling fs layer [2021-01-31T15:58:52.448Z] 00ac8860ef70: Waiting [2021-01-31T15:58:52.448Z] b116817d02f9: Waiting [2021-01-31T15:58:52.448Z] 745a02a5169b: Waiting [2021-01-31T15:58:52.448Z] 63d7cb157983: Waiting [2021-01-31T15:58:52.448Z] 18c013af1878: Verifying Checksum [2021-01-31T15:58:52.448Z] 18c013af1878: Download complete [2021-01-31T15:58:52.448Z] a4357932f1b6: Download complete [2021-01-31T15:58:52.448Z] 63d7cb157983: Verifying Checksum [2021-01-31T15:58:52.448Z] 63d7cb157983: Download complete [2021-01-31T15:58:52.448Z] b116817d02f9: Verifying Checksum [2021-01-31T15:58:52.448Z] b116817d02f9: Download complete [2021-01-31T15:58:52.448Z] 5f621e34cdf4: Verifying Checksum [2021-01-31T15:58:52.448Z] 5f621e34cdf4: Download complete [2021-01-31T15:58:53.440Z] 5f621e34cdf4: Pull complete [2021-01-31T15:58:54.049Z] a4357932f1b6: Pull complete [2021-01-31T15:58:54.324Z] 18c013af1878: Pull complete [2021-01-31T15:58:54.919Z] 745a02a5169b: Verifying Checksum [2021-01-31T15:58:54.920Z] 745a02a5169b: Download complete [2021-01-31T15:58:55.893Z] 00ac8860ef70: Verifying Checksum [2021-01-31T15:58:55.893Z] 00ac8860ef70: Download complete [2021-01-31T15:59:03.648Z] Running on prd-centos7-docker-4c-2g-24203 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-01-31T15:59:03.705Z] Running in /w/workspace/device-sdk-go/115 [Pipeline] { [Pipeline] checkout [2021-01-31T15:59:06.100Z] 00ac8860ef70: Pull complete [2021-01-31T15:59:06.100Z] 63d7cb157983: Pull complete [2021-01-31T15:59:06.150Z] using credential edgex-jenkins-ssh [2021-01-31T15:59:06.209Z] Cloning the remote Git repository [2021-01-31T15:59:06.697Z] b116817d02f9: Pull complete [2021-01-31T15:59:06.091Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-31T15:59:06.164Z] > git init /w/workspace/device-sdk-go/115 # timeout=10 [2021-01-31T15:59:06.223Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-31T15:59:06.223Z] > git --version # timeout=10 [2021-01-31T15:59:06.229Z] > git --version # 'git version 2.24.3' [2021-01-31T15:59:06.229Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-31T15:59:06.256Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-31T15:59:07.496Z] Checking out Revision 3aea893206dfece0cb943228d650ae216607898f (master) [2021-01-31T15:59:07.041Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-31T15:59:07.050Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-31T15:59:07.069Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-31T15:59:07.082Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-31T15:59:07.082Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-31T15:59:07.088Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-31T15:59:07.469Z] > git config core.sparsecheckout # timeout=10 [2021-01-31T15:59:07.484Z] > git checkout -f 3aea893206dfece0cb943228d650ae216607898f # timeout=10 [2021-01-31T15:59:10.102Z] 745a02a5169b: Pull complete [2021-01-31T15:59:10.102Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-31T15:59:10.102Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-31T15:59:10.102Z] ---> b7e6874047d6 [2021-01-31T15:59:10.102Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-31T15:59:11.057Z] Commit message: "Merge pull request #753 from judehung/issue-352" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-31T15:59:12.327Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-31T15:59:12.659Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-31T15:59:12.954Z] + sudo service docker restart [2021-01-31T15:59:12.954Z] + true [2021-01-31T15:59:12.954Z] Redirecting to /bin/systemctl restart docker.service [2021-01-31T15:59:13.507Z] ---> Running in 713f2e06e0d9 [2021-01-31T15:59:13.507Z] Removing intermediate container 713f2e06e0d9 [2021-01-31T15:59:13.507Z] ---> 67a85e581aed [2021-01-31T15:59:13.507Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-31T15:59:13.507Z] ---> Running in 24c6d37b2e43 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-31T15:59:13.977Z] provisioning config files... [2021-01-31T15:59:14.029Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/115@tmp/config2085718812485825447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-31T15:59:14.404Z] ---> docker-login.sh [2021-01-31T15:59:14.405Z] nexus3.edgexfoundry.org:10001 [2021-01-31T15:59:14.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-31T15:59:14.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-31T15:59:14.667Z] Configure a credential helper to remove this warning. See [2021-01-31T15:59:14.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-31T15:59:14.667Z] [2021-01-31T15:59:14.667Z] Login Succeeded [2021-01-31T15:59:14.667Z] nexus3.edgexfoundry.org:10002 [2021-01-31T15:59:14.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-31T15:59:14.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-31T15:59:14.930Z] Configure a credential helper to remove this warning. See [2021-01-31T15:59:14.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-31T15:59:14.930Z] [2021-01-31T15:59:14.930Z] Login Succeeded [2021-01-31T15:59:14.930Z] nexus3.edgexfoundry.org:10003 [2021-01-31T15:59:14.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-31T15:59:15.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-31T15:59:15.191Z] Configure a credential helper to remove this warning. See [2021-01-31T15:59:15.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-31T15:59:15.191Z] [2021-01-31T15:59:15.191Z] Login Succeeded [2021-01-31T15:59:15.191Z] nexus3.edgexfoundry.org:10004 [2021-01-31T15:59:15.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-31T15:59:15.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-31T15:59:15.191Z] Configure a credential helper to remove this warning. See [2021-01-31T15:59:15.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-31T15:59:15.191Z] [2021-01-31T15:59:15.191Z] Login Succeeded [2021-01-31T15:59:15.191Z] docker.io [2021-01-31T15:59:15.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-31T15:59:15.486Z] Removing intermediate container 24c6d37b2e43 [2021-01-31T15:59:15.486Z] ---> e560cf130d70 [2021-01-31T15:59:15.486Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-31T15:59:15.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-31T15:59:15.715Z] Configure a credential helper to remove this warning. See [2021-01-31T15:59:15.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-31T15:59:15.715Z] [2021-01-31T15:59:15.715Z] Login Succeeded [2021-01-31T15:59:15.715Z] ---> docker-login.sh ends [Pipeline] } [2021-01-31T15:59:15.724Z] Deleting 1 temporary files [2021-01-31T15:59:15.758Z] ---> Running in 4d424f86c447 [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-31T15:59:16.016Z] ========================================================= [2021-01-31T15:59:16.016Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-31T15:59:16.016Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-31T15:59:16.354Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-31T15:59:16.354Z] Sending build context to Docker daemon 2.488MB [2021-01-31T15:59:16.354Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-31T15:59:16.354Z] Step 2/8 : FROM ${BASE} [2021-01-31T15:59:16.354Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-31T15:59:16.354Z] 188c0c94c7c5: Pulling fs layer [2021-01-31T15:59:16.354Z] 0ef7d3d256c8: Pulling fs layer [2021-01-31T15:59:16.354Z] de9db76c5a1d: Pulling fs layer [2021-01-31T15:59:16.354Z] bca2f99d35d6: Pulling fs layer [2021-01-31T15:59:16.354Z] 93359f2a8cfa: Pulling fs layer [2021-01-31T15:59:16.354Z] 7c6f9722023f: Pulling fs layer [2021-01-31T15:59:16.354Z] a35cf1a2eb13: Pulling fs layer [2021-01-31T15:59:16.354Z] 93359f2a8cfa: Waiting [2021-01-31T15:59:16.354Z] 7c6f9722023f: Waiting [2021-01-31T15:59:16.354Z] a35cf1a2eb13: Waiting [2021-01-31T15:59:16.354Z] bca2f99d35d6: Waiting [2021-01-31T15:59:16.622Z] de9db76c5a1d: Verifying Checksum [2021-01-31T15:59:16.622Z] de9db76c5a1d: Download complete [2021-01-31T15:59:16.623Z] 0ef7d3d256c8: Verifying Checksum [2021-01-31T15:59:16.623Z] 0ef7d3d256c8: Download complete [2021-01-31T15:59:16.623Z] 93359f2a8cfa: Download complete [2021-01-31T15:59:16.623Z] 188c0c94c7c5: Verifying Checksum [2021-01-31T15:59:16.623Z] 188c0c94c7c5: Download complete [2021-01-31T15:59:16.623Z] 7c6f9722023f: Verifying Checksum [2021-01-31T15:59:16.623Z] 7c6f9722023f: Download complete [2021-01-31T15:59:16.737Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-31T15:59:16.887Z] 188c0c94c7c5: Pull complete [2021-01-31T15:59:16.887Z] 0ef7d3d256c8: Pull complete [2021-01-31T15:59:17.149Z] de9db76c5a1d: Pull complete [2021-01-31T15:59:18.559Z] a35cf1a2eb13: Verifying Checksum [2021-01-31T15:59:18.559Z] a35cf1a2eb13: Download complete [2021-01-31T15:59:18.729Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-31T15:59:18.826Z] bca2f99d35d6: Verifying Checksum [2021-01-31T15:59:18.826Z] bca2f99d35d6: Download complete [2021-01-31T15:59:22.105Z] OK: 142 MiB in 39 packages [2021-01-31T15:59:22.696Z] Removing intermediate container 4d424f86c447 [2021-01-31T15:59:22.696Z] ---> 6b4f6aa1a907 [2021-01-31T15:59:22.696Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-31T15:59:22.696Z] ---> Running in 2a439db5e368 [2021-01-31T15:59:23.286Z] Removing intermediate container 2a439db5e368 [2021-01-31T15:59:23.286Z] ---> 4930d100f58b [2021-01-31T15:59:23.286Z] Step 7/8 : COPY . . [2021-01-31T15:59:24.261Z] ---> 1ce38f234b8a [2021-01-31T15:59:24.261Z] Step 8/8 : RUN go mod download [2021-01-31T15:59:24.538Z] ---> Running in 66ce62d31b42 [2021-01-31T15:59:25.515Z] bca2f99d35d6: Pull complete [2021-01-31T15:59:25.515Z] 93359f2a8cfa: Pull complete [2021-01-31T15:59:25.515Z] 7c6f9722023f: Pull complete [2021-01-31T15:59:33.692Z] a35cf1a2eb13: Pull complete [2021-01-31T15:59:33.692Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-31T15:59:33.692Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-31T15:59:33.692Z] ---> a62c8e92a672 [2021-01-31T15:59:33.692Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-31T15:59:33.692Z] ---> Running in 791697b4b89c [2021-01-31T15:59:33.692Z] Removing intermediate container 791697b4b89c [2021-01-31T15:59:33.692Z] ---> 276de88e34bf [2021-01-31T15:59:33.692Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-31T15:59:33.692Z] ---> Running in a5c2e84ddbbe [2021-01-31T15:59:34.271Z] Removing intermediate container a5c2e84ddbbe [2021-01-31T15:59:34.271Z] ---> 22b2d8cfe726 [2021-01-31T15:59:34.271Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-31T15:59:34.271Z] ---> Running in 69a0a2ded221 [2021-01-31T15:59:35.220Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-31T15:59:37.140Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-31T15:59:38.539Z] OK: 166 MiB in 39 packages [2021-01-31T15:59:38.805Z] Removing intermediate container 69a0a2ded221 [2021-01-31T15:59:38.805Z] ---> d4f0917fa9c0 [2021-01-31T15:59:38.805Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-31T15:59:38.805Z] ---> Running in f6441f549d0a [2021-01-31T15:59:39.067Z] Removing intermediate container f6441f549d0a [2021-01-31T15:59:39.068Z] ---> 73613fedf97f [2021-01-31T15:59:39.068Z] Step 7/8 : COPY . . [2021-01-31T15:59:40.029Z] ---> 5bb1523155c5 [2021-01-31T15:59:40.029Z] Step 8/8 : RUN go mod download [2021-01-31T15:59:40.294Z] ---> Running in 4eb089fd9c4c [2021-01-31T15:59:46.730Z] Removing intermediate container 66ce62d31b42 [2021-01-31T15:59:46.730Z] ---> 4c65d2d35314 [2021-01-31T15:59:46.730Z] Successfully built 4c65d2d35314 [2021-01-31T15:59:46.730Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-31T15:59:47.076Z] + docker inspect -f . ci-base-image-arm64 [2021-01-31T15:59:47.076Z] . [Pipeline] withDockerContainer [2021-01-31T15:59:47.353Z] prd-ubuntu18.04-docker-arm64-4c-16g-24202 does not seem to be running inside a container [2021-01-31T15:59:47.450Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/115 -v /w/workspace/device-sdk-go/115:/w/workspace/device-sdk-go/115:rw,z -v /w/workspace/device-sdk-go/115@tmp:/w/workspace/device-sdk-go/115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-31T15:59:48.979Z] $ docker top 8e6efbcd0aa8b98dee2d7e84a365e7b7445f9ca02b9fe67850964a9a3d972e70 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-31T15:59:50.012Z] + go version [2021-01-31T15:59:50.012Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-31T15:59:50.048Z] $ docker stop --time=1 8e6efbcd0aa8b98dee2d7e84a365e7b7445f9ca02b9fe67850964a9a3d972e70 [2021-01-31T15:59:52.015Z] $ docker rm -f 8e6efbcd0aa8b98dee2d7e84a365e7b7445f9ca02b9fe67850964a9a3d972e70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-31T15:59:53.029Z] + docker inspect -f . ci-base-image-arm64 [2021-01-31T15:59:53.029Z] . [Pipeline] withDockerContainer [2021-01-31T15:59:53.284Z] prd-ubuntu18.04-docker-arm64-4c-16g-24202 does not seem to be running inside a container [2021-01-31T15:59:53.379Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/115 -v /w/workspace/device-sdk-go/115:/w/workspace/device-sdk-go/115:rw,z -v /w/workspace/device-sdk-go/115@tmp:/w/workspace/device-sdk-go/115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-31T15:59:54.901Z] $ docker top 42f7de3c4ffab7c8747d4a2109db9bf7d7f86c8208a7c326bde47cf90862f75f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-31T15:59:55.909Z] + make test [2021-01-31T15:59:55.909Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-31T15:59:58.474Z] Removing intermediate container 4eb089fd9c4c [2021-01-31T15:59:58.474Z] ---> cadf6040f184 [2021-01-31T15:59:58.474Z] Successfully built cadf6040f184 [2021-01-31T15:59:58.474Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-31T15:59:58.789Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-31T15:59:58.789Z] . [Pipeline] withDockerContainer [2021-01-31T15:59:59.039Z] prd-centos7-docker-4c-2g-24203 does not seem to be running inside a container [2021-01-31T15:59:59.163Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/115 -v /w/workspace/device-sdk-go/115:/w/workspace/device-sdk-go/115:rw,z -v /w/workspace/device-sdk-go/115@tmp:/w/workspace/device-sdk-go/115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-31T15:59:59.885Z] $ docker top b49247640e77963143e8251cba1606ffe4c565099f5822896e2cb82ccd8037b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-31T16:00:00.384Z] + go version [2021-01-31T16:00:00.384Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-31T16:00:00.401Z] $ docker stop --time=1 b49247640e77963143e8251cba1606ffe4c565099f5822896e2cb82ccd8037b3 [2021-01-31T16:00:02.458Z] $ docker rm -f b49247640e77963143e8251cba1606ffe4c565099f5822896e2cb82ccd8037b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-31T16:00:03.457Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-31T16:00:03.457Z] . [Pipeline] withDockerContainer [2021-01-31T16:00:03.559Z] prd-centos7-docker-4c-2g-24203 does not seem to be running inside a container [2021-01-31T16:00:03.608Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/115 -v /w/workspace/device-sdk-go/115:/w/workspace/device-sdk-go/115:rw,z -v /w/workspace/device-sdk-go/115@tmp:/w/workspace/device-sdk-go/115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-31T16:00:04.314Z] $ docker top a814aeecf49c4ddf7499cb3202cf04a6e8509e3ab90f19ba35e834f25e49e30d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-31T16:00:04.835Z] + make test [2021-01-31T16:00:04.835Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-31T16:00:11.476Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-31T16:00:18.158Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-31T16:00:26.510Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-31T16:00:26.511Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-31T16:00:26.511Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-31T16:00:26.511Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.067s coverage: 19.4% of statements [2021-01-31T16:00:27.916Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.441s coverage: 97.1% of statements [2021-01-31T16:00:57.243Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-31T16:00:57.243Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-31T16:00:57.243Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-31T16:00:58.234Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.158s coverage: 19.4% of statements [2021-01-31T16:01:00.151Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.043s coverage: 9.4% of statements [2021-01-31T16:01:00.151Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.048s coverage: 21.7% of statements [2021-01-31T16:01:00.151Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-31T16:01:00.151Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.210s coverage: 43.6% of statements [2021-01-31T16:01:00.152Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-31T16:01:00.152Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.275s coverage: 68.9% of statements [2021-01-31T16:01:00.152Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-31T16:01:00.152Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-31T16:01:00.152Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-31T16:01:00.152Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-31T16:01:00.152Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.075s coverage: 53.8% of statements [2021-01-31T16:01:00.152Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-31T16:01:00.152Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-31T16:01:00.152Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.079s coverage: 25.2% of statements [2021-01-31T16:01:00.152Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.276s coverage: 83.5% of statements [2021-01-31T16:01:00.152Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.2% of statements [2021-01-31T16:01:00.152Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-31T16:01:00.152Z] GO111MODULE=on go vet ./... [2021-01-31T16:01:03.674Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.213s coverage: 97.1% of statements [2021-01-31T16:01:08.400Z] gofmt -l . [2021-01-31T16:01:08.400Z] [ "`gofmt -l .`" = "" ] [2021-01-31T16:01:08.400Z] ./bin/test-attribution-txt.sh [2021-01-31T16:01:08.400Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-31T16:01:08.417Z] $ docker stop --time=1 a814aeecf49c4ddf7499cb3202cf04a6e8509e3ab90f19ba35e834f25e49e30d [2021-01-31T16:01:10.394Z] $ docker rm -f a814aeecf49c4ddf7499cb3202cf04a6e8509e3ab90f19ba35e834f25e49e30d [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-31T16:01:11.124Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-31T16:01:11.550Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-31T16:01:14.181Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-31T16:01:14.515Z] + ls -al . [2021-01-31T16:01:14.515Z] total 216 [2021-01-31T16:01:14.515Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 31 16:01 . [2021-01-31T16:01:14.515Z] drwxrwxr-x. 4 jenkins jenkins 32 Jan 31 15:59 .. [2021-01-31T16:01:14.515Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 31 15:59 bin [2021-01-31T16:01:14.515Z] -rw-r--r--. 1 jenkins jenkins 137332 Jan 31 16:00 coverage.out [2021-01-31T16:01:14.516Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 31 15:59 Dockerfile.build [2021-01-31T16:01:14.516Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 31 15:59 .dockerignore [2021-01-31T16:01:14.516Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 31 15:59 example [2021-01-31T16:01:14.516Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 31 15:59 .git [2021-01-31T16:01:14.516Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 31 15:59 .github [2021-01-31T16:01:14.516Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 31 15:59 .gitignore [2021-01-31T16:01:14.516Z] -rw-r--r--. 1 jenkins jenkins 514 Jan 31 16:01 go.mod [2021-01-31T16:01:14.516Z] -rw-r--r--. 1 jenkins jenkins 14191 Jan 31 16:01 go.sum [2021-01-31T16:01:14.516Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 31 15:59 internal [2021-01-31T16:01:14.516Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 31 15:59 Jenkinsfile [2021-01-31T16:01:14.516Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 31 15:59 LICENSE [2021-01-31T16:01:14.516Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 31 15:59 Makefile [2021-01-31T16:01:14.516Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 31 15:59 openapi [2021-01-31T16:01:14.516Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 31 15:59 pkg [2021-01-31T16:01:14.516Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 31 15:59 README.md [2021-01-31T16:01:14.516Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 31 15:59 RELEASE-NOTES.txt [2021-01-31T16:01:14.516Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 31 15:59 snap [2021-01-31T16:01:14.516Z] -rw-rw-r--. 1 jenkins jenkins 12 Jan 31 15:56 VERSION [2021-01-31T16:01:14.516Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 31 15:59 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-31T16:01:14.840Z] + 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=3aea893206dfece0cb943228d650ae216607898f --label arch=amd64 --label version=2.0.0-dev.10 . [2021-01-31T16:01:14.840Z] Sending build context to Docker daemon 2.626MB [2021-01-31T16:01:14.840Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-31T16:01:14.840Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-31T16:01:14.840Z] ---> cadf6040f184 [2021-01-31T16:01:14.840Z] Step 3/24 : ARG MAKE='make build' [2021-01-31T16:01:15.414Z] ---> Running in de18fb9e94a6 [2021-01-31T16:01:15.677Z] Removing intermediate container de18fb9e94a6 [2021-01-31T16:01:15.677Z] ---> 581ce16746d6 [2021-01-31T16:01:15.677Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-31T16:01:15.677Z] ---> Running in fa1bc1329403 [2021-01-31T16:01:15.938Z] Removing intermediate container fa1bc1329403 [2021-01-31T16:01:15.938Z] ---> 74c3fa2b3c20 [2021-01-31T16:01:15.938Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-31T16:01:15.938Z] ---> Running in 39b9d9a37f9d [2021-01-31T16:01:16.209Z] Removing intermediate container 39b9d9a37f9d [2021-01-31T16:01:16.209Z] ---> 0b7f5132f734 [2021-01-31T16:01:16.209Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-31T16:01:16.209Z] ---> Running in 3410ec0adcb3 [2021-01-31T16:01:17.160Z] Removing intermediate container 3410ec0adcb3 [2021-01-31T16:01:17.160Z] ---> fbae4ad51f23 [2021-01-31T16:01:17.160Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-31T16:01:17.160Z] ---> Running in 9dc040ea5f0a [2021-01-31T16:01:17.425Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-31T16:01:18.823Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-31T16:01:19.787Z] OK: 166 MiB in 39 packages [2021-01-31T16:01:20.055Z] Removing intermediate container 9dc040ea5f0a [2021-01-31T16:01:20.055Z] ---> ec04ea6a5bbb [2021-01-31T16:01:20.055Z] Step 8/24 : COPY . . [2021-01-31T16:01:21.022Z] ---> 8a8fbee97206 [2021-01-31T16:01:21.022Z] Step 9/24 : RUN ${MAKE} [2021-01-31T16:01:21.284Z] ---> Running in 3301214bbbd7 [2021-01-31T16:01:21.550Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.10" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-31T16:01:29.799Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-31T16:01:31.717Z] Removing intermediate container 3301214bbbd7 [2021-01-31T16:01:31.717Z] ---> c098c34dfae8 [2021-01-31T16:01:31.717Z] Step 10/24 : FROM scratch [2021-01-31T16:01:31.717Z] ---> [2021-01-31T16:01:31.717Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-31T16:01:31.717Z] ---> Running in 5cf217e9ddf9 [2021-01-31T16:01:31.717Z] Removing intermediate container 5cf217e9ddf9 [2021-01-31T16:01:31.717Z] ---> f6b2423bb18c [2021-01-31T16:01:31.717Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-31T16:01:31.717Z] ---> Running in 31243ea7983a [2021-01-31T16:01:31.977Z] Removing intermediate container 31243ea7983a [2021-01-31T16:01:31.977Z] ---> 92b459fb44b3 [2021-01-31T16:01:31.977Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-31T16:01:31.977Z] ---> Running in d7da39e30e91 [2021-01-31T16:01:32.238Z] Removing intermediate container d7da39e30e91 [2021-01-31T16:01:32.238Z] ---> 11b19d13878c [2021-01-31T16:01:32.238Z] Step 14/24 : WORKDIR / [2021-01-31T16:01:32.238Z] ---> Running in 5c1d9dd08f52 [2021-01-31T16:01:32.499Z] Removing intermediate container 5c1d9dd08f52 [2021-01-31T16:01:32.499Z] ---> 0a5d1144acec [2021-01-31T16:01:32.499Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-31T16:01:33.074Z] ---> 02e21421e465 [2021-01-31T16:01:33.074Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-31T16:01:33.335Z] ---> 99116f334d72 [2021-01-31T16:01:33.335Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-31T16:01:33.597Z] ---> b8b5d9da9885 [2021-01-31T16:01:33.597Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-31T16:01:33.859Z] ---> 1c9898ef7c9b [2021-01-31T16:01:33.859Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-31T16:01:34.120Z] ---> 6ec23ff63606 [2021-01-31T16:01:34.120Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-31T16:01:34.120Z] ---> Running in 91025382e4ec [2021-01-31T16:01:34.381Z] Removing intermediate container 91025382e4ec [2021-01-31T16:01:34.381Z] ---> dca024dd7b0f [2021-01-31T16:01:34.381Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-31T16:01:34.381Z] ---> Running in 838d5e4d852b [2021-01-31T16:01:34.642Z] Removing intermediate container 838d5e4d852b [2021-01-31T16:01:34.642Z] ---> 99b45d8ab5bc [2021-01-31T16:01:34.642Z] Step 22/24 : LABEL arch=amd64 [2021-01-31T16:01:34.642Z] ---> Running in 050ab516ab89 [2021-01-31T16:01:34.642Z] Removing intermediate container 050ab516ab89 [2021-01-31T16:01:34.642Z] ---> b557a4f1ba93 [2021-01-31T16:01:34.642Z] Step 23/24 : LABEL git_sha=3aea893206dfece0cb943228d650ae216607898f [2021-01-31T16:01:34.905Z] ---> Running in 331bb4399bc7 [2021-01-31T16:01:34.905Z] Removing intermediate container 331bb4399bc7 [2021-01-31T16:01:34.905Z] ---> 718ee75fb6b5 [2021-01-31T16:01:34.905Z] Step 24/24 : LABEL version=2.0.0-dev.10 [2021-01-31T16:01:34.905Z] ---> Running in d6b48d331d57 [2021-01-31T16:01:35.169Z] Removing intermediate container d6b48d331d57 [2021-01-31T16:01:35.169Z] ---> b7b03f8a9603 [2021-01-31T16:01:35.169Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-31T16:01:35.169Z] Successfully built b7b03f8a9603 [2021-01-31T16:01:35.169Z] 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] } [2021-01-31T16:01:36.090Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.165s coverage: 9.4% of statements [2021-01-31T16:01:36.091Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.135s coverage: 21.7% of statements [2021-01-31T16:01:36.091Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-31T16:01:36.091Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.601s coverage: 43.6% of statements [2021-01-31T16:01:36.091Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-31T16:01:36.091Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.769s coverage: 68.9% of statements [2021-01-31T16:01:36.091Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-31T16:01:36.091Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-31T16:01:36.091Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-31T16:01:36.091Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-31T16:01:36.091Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.196s coverage: 53.8% of statements [2021-01-31T16:01:36.091Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-31T16:01:36.091Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-31T16:01:36.091Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.209s coverage: 25.2% of statements [2021-01-31T16:01:36.091Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.003s coverage: 83.5% of statements [2021-01-31T16:01:36.091Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.138s coverage: 4.2% of statements [2021-01-31T16:01:36.091Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-31T16:01:36.091Z] GO111MODULE=on go vet ./... [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-31T16:02:08.479Z] gofmt -l . [2021-01-31T16:02:08.479Z] [ "`gofmt -l .`" = "" ] [2021-01-31T16:02:08.479Z] ./bin/test-attribution-txt.sh [2021-01-31T16:02:08.479Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-31T16:02:08.526Z] $ docker stop --time=1 42f7de3c4ffab7c8747d4a2109db9bf7d7f86c8208a7c326bde47cf90862f75f [2021-01-31T16:02:10.747Z] $ docker rm -f 42f7de3c4ffab7c8747d4a2109db9bf7d7f86c8208a7c326bde47cf90862f75f [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-31T16:02:11.771Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-31T16:02:11.793Z] Warning: overwriting stash ‘coverage-report’ [2021-01-31T16:02:12.725Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-31T16:02:13.456Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-31T16:02:13.818Z] + ls -al . [2021-01-31T16:02:13.818Z] total 252 [2021-01-31T16:02:13.818Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 31 16:02 . [2021-01-31T16:02:13.818Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 15:58 .. [2021-01-31T16:02:13.818Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 31 15:58 .dockerignore [2021-01-31T16:02:13.818Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 31 15:58 .git [2021-01-31T16:02:13.818Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 15:58 .github [2021-01-31T16:02:13.818Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 31 15:58 .gitignore [2021-01-31T16:02:13.818Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 31 15:58 Dockerfile.build [2021-01-31T16:02:13.818Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 31 15:58 Jenkinsfile [2021-01-31T16:02:13.818Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 31 15:58 LICENSE [2021-01-31T16:02:13.818Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 31 15:58 Makefile [2021-01-31T16:02:13.818Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 31 15:58 README.md [2021-01-31T16:02:13.818Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 31 15:58 RELEASE-NOTES.txt [2021-01-31T16:02:13.818Z] -rw-rw-r-- 1 jenkins jenkins 12 Jan 31 15:56 VERSION [2021-01-31T16:02:13.818Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 15:58 bin [2021-01-31T16:02:13.818Z] -rw-r--r-- 1 jenkins jenkins 137332 Jan 31 16:01 coverage.out [2021-01-31T16:02:13.818Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 15:58 example [2021-01-31T16:02:13.818Z] -rw-r--r-- 1 jenkins jenkins 514 Jan 31 16:02 go.mod [2021-01-31T16:02:13.818Z] -rw-r--r-- 1 jenkins jenkins 14191 Jan 31 16:02 go.sum [2021-01-31T16:02:13.818Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 31 15:58 internal [2021-01-31T16:02:13.818Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 15:58 openapi [2021-01-31T16:02:13.818Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 31 15:58 pkg [2021-01-31T16:02:13.818Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 15:58 snap [2021-01-31T16:02:13.818Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 31 15:58 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-31T16:02:14.229Z] + 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=3aea893206dfece0cb943228d650ae216607898f --label arch=arm64 --label version=2.0.0-dev.10 . [2021-01-31T16:02:14.862Z] Sending build context to Docker daemon 2.625MB [2021-01-31T16:02:14.862Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-31T16:02:14.862Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-31T16:02:14.862Z] ---> 4c65d2d35314 [2021-01-31T16:02:14.862Z] Step 3/24 : ARG MAKE='make build' [2021-01-31T16:02:15.137Z] ---> Running in 7e99e8eeeb6e [2021-01-31T16:02:15.730Z] Removing intermediate container 7e99e8eeeb6e [2021-01-31T16:02:15.730Z] ---> dc8b25b11150 [2021-01-31T16:02:15.730Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-31T16:02:15.730Z] ---> Running in 20019ec04892 [2021-01-31T16:02:16.323Z] Removing intermediate container 20019ec04892 [2021-01-31T16:02:16.323Z] ---> 4a550bd3e6d0 [2021-01-31T16:02:16.323Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-31T16:02:16.323Z] ---> Running in 6ea8bc00ab3b [2021-01-31T16:02:16.921Z] Removing intermediate container 6ea8bc00ab3b [2021-01-31T16:02:16.921Z] ---> 8c94a4b1397b [2021-01-31T16:02:16.921Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-31T16:02:16.921Z] ---> Running in dc2df6d69fe3 [2021-01-31T16:02:18.902Z] Removing intermediate container dc2df6d69fe3 [2021-01-31T16:02:18.902Z] ---> 9c5ec0efa581 [2021-01-31T16:02:18.902Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-31T16:02:19.175Z] ---> Running in 5821f4e880a6 [2021-01-31T16:02:20.152Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-31T16:02:21.136Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-31T16:02:22.570Z] OK: 142 MiB in 39 packages [2021-01-31T16:02:23.545Z] Removing intermediate container 5821f4e880a6 [2021-01-31T16:02:23.545Z] ---> 0608b7b024ab [2021-01-31T16:02:23.545Z] Step 8/24 : COPY . . [2021-01-31T16:02:24.985Z] ---> e4884420a201 [2021-01-31T16:02:24.985Z] Step 9/24 : RUN ${MAKE} [2021-01-31T16:02:24.985Z] ---> Running in 5b6450941c15 [2021-01-31T16:02:25.969Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.10" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-31T16:02:52.788Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-31T16:02:53.385Z] Removing intermediate container 5b6450941c15 [2021-01-31T16:02:53.385Z] ---> 6afcb593911e [2021-01-31T16:02:53.385Z] Step 10/24 : FROM scratch [2021-01-31T16:02:53.385Z] ---> [2021-01-31T16:02:53.385Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-31T16:02:53.385Z] ---> Running in c87953500529 [2021-01-31T16:02:53.981Z] Removing intermediate container c87953500529 [2021-01-31T16:02:53.981Z] ---> 20c5d8749136 [2021-01-31T16:02:53.981Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-31T16:02:53.981Z] ---> Running in 43d31b880439 [2021-01-31T16:02:54.575Z] Removing intermediate container 43d31b880439 [2021-01-31T16:02:54.575Z] ---> 10482a89a644 [2021-01-31T16:02:54.575Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-31T16:02:54.575Z] ---> Running in b2dcf86516b6 [2021-01-31T16:02:54.848Z] Removing intermediate container b2dcf86516b6 [2021-01-31T16:02:54.848Z] ---> 62cf648a5349 [2021-01-31T16:02:54.848Z] Step 14/24 : WORKDIR / [2021-01-31T16:02:55.125Z] ---> Running in 62f1846d7acf [2021-01-31T16:02:55.718Z] Removing intermediate container 62f1846d7acf [2021-01-31T16:02:55.718Z] ---> 1a74a9f1e023 [2021-01-31T16:02:55.718Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-31T16:02:56.695Z] ---> e9a70732642d [2021-01-31T16:02:56.695Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-31T16:02:57.292Z] ---> 1b1128c97699 [2021-01-31T16:02:57.292Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-31T16:02:58.275Z] ---> 58b2dcfa4e4b [2021-01-31T16:02:58.275Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-31T16:02:58.868Z] ---> b0a3fdca05da [2021-01-31T16:02:58.869Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-31T16:02:59.465Z] ---> 62d869b20c83 [2021-01-31T16:02:59.465Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-31T16:02:59.739Z] ---> Running in 5c95c796edae [2021-01-31T16:03:00.331Z] Removing intermediate container 5c95c796edae [2021-01-31T16:03:00.331Z] ---> 2870c70f9102 [2021-01-31T16:03:00.331Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-31T16:03:00.331Z] ---> Running in b4afb391efcb [2021-01-31T16:03:00.928Z] Removing intermediate container b4afb391efcb [2021-01-31T16:03:00.928Z] ---> dd66727abe39 [2021-01-31T16:03:00.928Z] Step 22/24 : LABEL arch=arm64 [2021-01-31T16:03:00.928Z] ---> Running in 1012e2be3771 [2021-01-31T16:03:01.527Z] Removing intermediate container 1012e2be3771 [2021-01-31T16:03:01.527Z] ---> 06655b710937 [2021-01-31T16:03:01.527Z] Step 23/24 : LABEL git_sha=3aea893206dfece0cb943228d650ae216607898f [2021-01-31T16:03:01.527Z] ---> Running in 7ca20c1d111d [2021-01-31T16:03:02.124Z] Removing intermediate container 7ca20c1d111d [2021-01-31T16:03:02.124Z] ---> 78c4132177e0 [2021-01-31T16:03:02.124Z] Step 24/24 : LABEL version=2.0.0-dev.10 [2021-01-31T16:03:02.124Z] ---> Running in 450a6e6a2aba [2021-01-31T16:03:02.716Z] Removing intermediate container 450a6e6a2aba [2021-01-31T16:03:02.716Z] ---> 19318e112287 [2021-01-31T16:03:02.716Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-31T16:03:02.716Z] Successfully built 19318e112287 [2021-01-31T16:03:02.716Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-31T16:03:04.530Z] provisioning config files... [2021-01-31T16:03:04.547Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config765730796409264070tmp [Pipeline] { [Pipeline] sh [2021-01-31T16:03:04.927Z] + set +x [2021-01-31T16:03:04.927Z] + curl -s https://codecov.io/bash [2021-01-31T16:03:04.927Z] + bash -s -- [2021-01-31T16:03:05.190Z] [2021-01-31T16:03:05.191Z] _____ _ [2021-01-31T16:03:05.191Z] / ____| | | [2021-01-31T16:03:05.191Z] | | ___ __| | ___ ___ _____ __ [2021-01-31T16:03:05.191Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-31T16:03:05.191Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-31T16:03:05.191Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-31T16:03:05.191Z] Bash-20210129-7c25fce [2021-01-31T16:03:05.191Z] [2021-01-31T16:03:05.191Z] [2021-01-31T16:03:05.191Z] ==> git version 2.24.3 found [2021-01-31T16:03:05.191Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-01-31T16:03:05.191Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-31T16:03:05.191Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-31T16:03:05.191Z] ==> Jenkins CI detected. [2021-01-31T16:03:05.191Z] project root: . [2021-01-31T16:03:05.191Z] --> token set from env [2021-01-31T16:03:05.191Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-31T16:03:05.191Z] ==> Running gcov in . (disable via -X gcov) [2021-01-31T16:03:05.191Z] ==> Python coveragepy not found [2021-01-31T16:03:05.191Z] ==> Searching for coverage reports in: [2021-01-31T16:03:05.191Z] + . [2021-01-31T16:03:05.191Z] -> Found 1 reports [2021-01-31T16:03:05.191Z] ==> Detecting git/mercurial file structure [2021-01-31T16:03:05.191Z] ==> Reading reports [2021-01-31T16:03:05.191Z] + ./coverage.out bytes=137332 [2021-01-31T16:03:05.191Z] ==> Appending adjustments [2021-01-31T16:03:05.191Z] https://docs.codecov.io/docs/fixing-reports [2021-01-31T16:03:05.767Z] + Found adjustments [2021-01-31T16:03:05.767Z] ==> Gzipping contents [2021-01-31T16:03:05.767Z] 24K /tmp/codecov.lWBbWc.gz [2021-01-31T16:03:05.767Z] ==> Uploading reports [2021-01-31T16:03:05.767Z] url: https://codecov.io [2021-01-31T16:03:05.767Z] query: branch=master&commit=3aea893206dfece0cb943228d650ae216607898f&build=115&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F115%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-31T16:03:05.767Z] -> Pinging Codecov [2021-01-31T16:03:05.767Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=master&commit=3aea893206dfece0cb943228d650ae216607898f&build=115&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F115%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-31T16:03:06.343Z] -> Uploading to [2021-01-31T16:03:06.343Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-31/7E55EF52A471D76F132DFD9A03CDDE97/3aea893206dfece0cb943228d650ae216607898f/d9bc06a6-6cb4-4be0-b490-60e573ccf2b5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210131%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210131T160306Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bad205a93fbe7dac24dfac5d76b498294ae600a00b64c8b6fd3829df15223f1c [2021-01-31T16:03:06.343Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-31T16:03:06.343Z] Dload Upload Total Spent Left Speed [2021-01-31T16:03:06.605Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21672 0 0 100 21672 0 44950 --:--:-- --:--:-- --:--:-- 44962 100 21672 0 0 100 21672 0 44935 --:--:-- --:--:-- --:--:-- 44869 [2021-01-31T16:03:06.605Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3aea893206dfece0cb943228d650ae216607898f [Pipeline] } [2021-01-31T16:03:06.615Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-01-31T16:03:08.749Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-01-31T16:03:08.799Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-31T16:03:09.143Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-31T16:03:09.143Z] [2021-01-31T16:03:09.143Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-01-31T16:03:09.494Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-31T16:03:09.494Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-01-31T16:03:09.494Z] 188c0c94c7c5: Pulling fs layer [2021-01-31T16:03:09.494Z] 0ef7d3d256c8: Pulling fs layer [2021-01-31T16:03:09.494Z] de9db76c5a1d: Pulling fs layer [2021-01-31T16:03:09.494Z] 0eba1c9be4d2: Pulling fs layer [2021-01-31T16:03:09.494Z] 0d57e429df01: Pulling fs layer [2021-01-31T16:03:09.494Z] 4e4be7b47b0d: Pulling fs layer [2021-01-31T16:03:09.494Z] e1f770b5df2f: Pulling fs layer [2021-01-31T16:03:09.494Z] 85a0685a4137: Pulling fs layer [2021-01-31T16:03:09.494Z] 0d57e429df01: Waiting [2021-01-31T16:03:09.494Z] 4e4be7b47b0d: Waiting [2021-01-31T16:03:09.494Z] e1f770b5df2f: Waiting [2021-01-31T16:03:09.494Z] 85a0685a4137: Waiting [2021-01-31T16:03:09.494Z] 0eba1c9be4d2: Waiting [2021-01-31T16:03:09.494Z] de9db76c5a1d: Verifying Checksum [2021-01-31T16:03:09.494Z] de9db76c5a1d: Download complete [2021-01-31T16:03:09.494Z] 0ef7d3d256c8: Verifying Checksum [2021-01-31T16:03:09.495Z] 0ef7d3d256c8: Download complete [2021-01-31T16:03:09.495Z] 0d57e429df01: Verifying Checksum [2021-01-31T16:03:09.495Z] 0d57e429df01: Download complete [2021-01-31T16:03:09.758Z] 188c0c94c7c5: Verifying Checksum [2021-01-31T16:03:09.758Z] 188c0c94c7c5: Download complete [2021-01-31T16:03:09.758Z] 4e4be7b47b0d: Verifying Checksum [2021-01-31T16:03:09.758Z] 4e4be7b47b0d: Download complete [2021-01-31T16:03:10.028Z] 188c0c94c7c5: Pull complete [2021-01-31T16:03:10.291Z] 0ef7d3d256c8: Pull complete [2021-01-31T16:03:10.291Z] de9db76c5a1d: Pull complete [2021-01-31T16:03:11.690Z] e1f770b5df2f: Verifying Checksum [2021-01-31T16:03:11.690Z] e1f770b5df2f: Download complete [2021-01-31T16:03:13.647Z] 0eba1c9be4d2: Verifying Checksum [2021-01-31T16:03:13.647Z] 0eba1c9be4d2: Download complete [2021-01-31T16:03:13.915Z] 85a0685a4137: Verifying Checksum [2021-01-31T16:03:13.915Z] 85a0685a4137: Download complete [2021-01-31T16:03:19.233Z] 0eba1c9be4d2: Pull complete [2021-01-31T16:03:19.233Z] 0d57e429df01: Pull complete [2021-01-31T16:03:19.233Z] 4e4be7b47b0d: Pull complete [2021-01-31T16:03:22.557Z] e1f770b5df2f: Pull complete [2021-01-31T16:03:29.189Z] 85a0685a4137: Pull complete [2021-01-31T16:03:29.189Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-01-31T16:03:29.189Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-31T16:03:29.189Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-01-31T16:03:29.418Z] prd-centos7-docker-4c-2g-24201 does not seem to be running inside a container [2021-01-31T16:03:29.469Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-01-31T16:03:30.612Z] $ docker top cf80649ad9f86d17ab99d31dd02aa433d64a583dcc97ff8fddf16d84e5b1714a -eo pid,comm [Pipeline] { [Pipeline] echo [2021-01-31T16:03:30.881Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-01-31T16:03:31.178Z] + set -o pipefail [2021-01-31T16:03:31.178Z] + snyk monitor '--org=edgex-jenkins' [2021-01-31T16:03:37.781Z] [2021-01-31T16:03:37.781Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... [2021-01-31T16:03:37.781Z] [2021-01-31T16:03:37.781Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/77e9c3d1-9383-499f-baac-41ace32093f4 [2021-01-31T16:03:37.781Z] [2021-01-31T16:03:37.781Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-01-31T16:03:37.781Z] [2021-01-31T16:03:37.781Z] [Pipeline] } [2021-01-31T16:03:37.795Z] $ docker stop --time=1 cf80649ad9f86d17ab99d31dd02aa433d64a583dcc97ff8fddf16d84e5b1714a [2021-01-31T16:03:40.379Z] $ docker rm -f cf80649ad9f86d17ab99d31dd02aa433d64a583dcc97ff8fddf16d84e5b1714a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-01-31T16:03:42.004Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-31T16:03:42.064Z] provisioning config files... [2021-01-31T16:03:42.075Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5148779754700367526tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-31T16:03:42.496Z] --> edgex-publish-swagger.sh [2021-01-31T16:03:42.496Z] === Publish openapi/v1 API === [2021-01-31T16:03:42.496Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2021-01-31T16:03:42.496Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] [2021-01-31T16:03:42.496Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-31T16:03:42.496Z] Dload Upload Total Spent Left Speed [2021-01-31T16:03:43.333Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 26418 --:--:-- --:--:-- --:--:-- 26419 [2021-01-31T16:03:43.333Z] [2021-01-31T16:03:43.333Z] [2021-01-31T16:03:43.333Z] === Publish openapi/v2 API === [2021-01-31T16:03:43.333Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-01-31T16:03:43.333Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] [2021-01-31T16:03:43.334Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-31T16:03:43.334Z] Dload Upload Total Spent Left Speed [2021-01-31T16:03:43.917Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 52256 0 0 100 52256 0 76314 --:--:-- --:--:-- --:--:-- 76286 100 52256 0 0 100 52256 0 76293 --:--:-- --:--:-- --:--:-- 76286 [2021-01-31T16:03:43.917Z] [2021-01-31T16:03:43.917Z] [Pipeline] } [2021-01-31T16:03:43.929Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-01-31T16:03:44.814Z] + git log --format=format:%s -1 3aea893206dfece0cb943228d650ae216607898f [Pipeline] isUnix [Pipeline] sh [2021-01-31T16:03:45.127Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-31T16:03:45.127Z] . [Pipeline] withDockerContainer [2021-01-31T16:03:45.230Z] prd-centos7-docker-4c-2g-24201 does not seem to be running inside a container [2021-01-31T16:03:45.282Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-31T16:03:46.168Z] $ docker top 142f455df4c88d15ed9dd070e33bd07f926f0a45be7821b35a539d8632fd6e2d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-31T16:03:46.530Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-31T16:03:46.530Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-31T16:03:46.807Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-31T16:03:46.810Z] $ docker exec 142f455df4c88d15ed9dd070e33bd07f926f0a45be7821b35a539d8632fd6e2d ssh-agent [2021-01-31T16:03:46.983Z] SSH_AUTH_SOCK=/tmp/ssh-cm6Bq7GKLJN3/agent.11 [2021-01-31T16:03:46.983Z] SSH_AGENT_PID=16 [2021-01-31T16:03:46.991Z] Running ssh-add (command line suppressed) [2021-01-31T16:03:47.135Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4953687543743173450.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4953687543743173450.key) [2021-01-31T16:03:47.192Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-31T16:03:47.554Z] + git semver tag [2021-01-31T16:03:47.554Z] # -> Open(): unable to determine branch for HEAD [2021-01-31T16:03:47.554Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-31T16:03:47.554Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-31T16:03:47.554Z] # $SEMVER_REMOTE_NAME = origin [2021-01-31T16:03:47.554Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-31T16:03:47.554Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-31T16:03:47.554Z] # $SEMVER_BRANCH = master [2021-01-31T16:03:47.554Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-01-31T16:03:47.554Z] # 3aea893206dfece0cb943228d650ae216607898f HEAD [2021-01-31T16:03:47.554Z] # -> Force: false [2021-01-31T16:03:47.554Z] # 5b12670cc02e9be24948d70c166d630251d2a85b refs/tags/v2.0.0-dev.10 [Pipeline] } [2021-01-31T16:03:47.566Z] $ docker exec --env ******** --env ******** 142f455df4c88d15ed9dd070e33bd07f926f0a45be7821b35a539d8632fd6e2d ssh-agent -k [2021-01-31T16:03:47.695Z] unset SSH_AUTH_SOCK; [2021-01-31T16:03:47.696Z] unset SSH_AGENT_PID; [2021-01-31T16:03:47.696Z] echo Agent pid 16 killed; [2021-01-31T16:03:47.747Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-31T16:03:48.224Z] + git semver [Pipeline] } [2021-01-31T16:03:48.243Z] $ docker stop --time=1 142f455df4c88d15ed9dd070e33bd07f926f0a45be7821b35a539d8632fd6e2d [2021-01-31T16:03:49.620Z] $ docker rm -f 142f455df4c88d15ed9dd070e33bd07f926f0a45be7821b35a539d8632fd6e2d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-01-31T16:03:50.279Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-31T16:03:50.280Z] [2021-01-31T16:03:50.280Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-01-31T16:03:50.623Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-31T16:03:50.623Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-01-31T16:03:50.623Z] ab5ef0e58194: Pulling fs layer [2021-01-31T16:03:50.623Z] 9712f1f96733: Pulling fs layer [2021-01-31T16:03:50.623Z] 63f879dbbcfc: Pulling fs layer [2021-01-31T16:03:50.623Z] 0d9ebad4ef96: Pulling fs layer [2021-01-31T16:03:50.623Z] e9a5061849ea: Pulling fs layer [2021-01-31T16:03:50.623Z] d747dcd14b5f: Pulling fs layer [2021-01-31T16:03:50.623Z] 2de7ff778b66: Pulling fs layer [2021-01-31T16:03:50.623Z] e9a5061849ea: Waiting [2021-01-31T16:03:50.623Z] 0d9ebad4ef96: Waiting [2021-01-31T16:03:50.623Z] d747dcd14b5f: Waiting [2021-01-31T16:03:50.623Z] 2de7ff778b66: Waiting [2021-01-31T16:03:50.885Z] 9712f1f96733: Verifying Checksum [2021-01-31T16:03:50.885Z] 9712f1f96733: Download complete [2021-01-31T16:03:52.274Z] 63f879dbbcfc: Verifying Checksum [2021-01-31T16:03:52.540Z] e9a5061849ea: Download complete [2021-01-31T16:03:52.540Z] d747dcd14b5f: Verifying Checksum [2021-01-31T16:03:52.540Z] d747dcd14b5f: Download complete [2021-01-31T16:03:53.117Z] 2de7ff778b66: Verifying Checksum [2021-01-31T16:03:53.117Z] 2de7ff778b66: Download complete [2021-01-31T16:03:53.117Z] 0d9ebad4ef96: Verifying Checksum [2021-01-31T16:03:53.117Z] 0d9ebad4ef96: Download complete [2021-01-31T16:03:53.383Z] ab5ef0e58194: Verifying Checksum [2021-01-31T16:03:53.383Z] ab5ef0e58194: Download complete [2021-01-31T16:03:57.612Z] ab5ef0e58194: Pull complete [2021-01-31T16:03:57.874Z] 9712f1f96733: Pull complete [2021-01-31T16:04:00.451Z] 63f879dbbcfc: Pull complete [2021-01-31T16:04:07.094Z] 0d9ebad4ef96: Pull complete [2021-01-31T16:04:08.488Z] e9a5061849ea: Pull complete [2021-01-31T16:04:08.758Z] d747dcd14b5f: Pull complete [2021-01-31T16:04:11.356Z] 2de7ff778b66: Pull complete [2021-01-31T16:04:11.356Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-01-31T16:04:11.356Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-31T16:04:11.356Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-01-31T16:04:11.620Z] prd-centos7-docker-4c-2g-24201 does not seem to be running inside a container [2021-01-31T16:04:11.666Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-01-31T16:04:16.113Z] $ docker top 27b78261e84fa8bd8e718ff06a6de0172c264274ce14f92e2accc0c8b5a5bfac -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-01-31T16:04:16.394Z] provisioning config files... [2021-01-31T16:04:16.413Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8505640068406275936tmp [2021-01-31T16:04:16.438Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4921053240652245607tmp [2021-01-31T16:04:16.470Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config136798098260901660tmp [Pipeline] { [Pipeline] echo [2021-01-31T16:04:16.543Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-31T16:04:16.872Z] ---> sigul-configuration.sh [2021-01-31T16:04:16.872Z] gpg: directory `/root/.gnupg' created [2021-01-31T16:04:16.872Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-01-31T16:04:16.872Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-01-31T16:04:16.872Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-01-31T16:04:16.872Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-01-31T16:04:16.872Z] gpg: CAST5 encrypted data [2021-01-31T16:04:17.136Z] gpg: encrypted with 1 passphrase [2021-01-31T16:04:17.136Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-01-31T16:04:17.438Z] + mkdir /home/jenkins [2021-01-31T16:04:17.438Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-01-31T16:04:17.739Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-01-31T16:04:17.749Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-31T16:04:18.047Z] ---> sigul-install.sh [2021-01-31T16:04:24.652Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-01-31T16:04:24.951Z] + git tag --list [2021-01-31T16:04:24.951Z] 0.7.1 [2021-01-31T16:04:24.951Z] delhi-tag [2021-01-31T16:04:24.951Z] v1.0.0 [2021-01-31T16:04:24.951Z] v1.1.0 [2021-01-31T16:04:24.951Z] v1.1.1 [2021-01-31T16:04:24.951Z] v1.1.2 [2021-01-31T16:04:24.951Z] v1.2.0 [2021-01-31T16:04:24.951Z] v1.2.1 [2021-01-31T16:04:24.951Z] v1.2.2 [2021-01-31T16:04:24.951Z] v1.2.3 [2021-01-31T16:04:24.951Z] v1.3.0 [2021-01-31T16:04:24.951Z] v1.4.0 [2021-01-31T16:04:24.951Z] v2.0.0-dev.1 [2021-01-31T16:04:24.951Z] v2.0.0-dev.10 [2021-01-31T16:04:24.951Z] v2.0.0-dev.2 [2021-01-31T16:04:24.951Z] v2.0.0-dev.3 [2021-01-31T16:04:24.951Z] v2.0.0-dev.4 [2021-01-31T16:04:24.951Z] v2.0.0-dev.5 [2021-01-31T16:04:24.951Z] v2.0.0-dev.6 [2021-01-31T16:04:24.951Z] v2.0.0-dev.7 [2021-01-31T16:04:24.951Z] v2.0.0-dev.8 [2021-01-31T16:04:24.951Z] v2.0.0-dev.9 [Pipeline] sh [2021-01-31T16:04:25.251Z] + lftools sign git-tag v2.0.0-dev.10 [2021-01-31T16:04:26.643Z] Signing Git tag with Sigul... [2021-01-31T16:04:26.643Z] Signing v2.0.0-dev.10 [Pipeline] echo [2021-01-31T16:04:27.603Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-31T16:04:27.902Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-01-31T16:04:27.912Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-01-31T16:04:28.020Z] $ docker stop --time=1 27b78261e84fa8bd8e718ff06a6de0172c264274ce14f92e2accc0c8b5a5bfac [2021-01-31T16:04:30.113Z] $ docker rm -f 27b78261e84fa8bd8e718ff06a6de0172c264274ce14f92e2accc0c8b5a5bfac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-01-31T16:04:31.268Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-31T16:04:31.268Z] . [Pipeline] withDockerContainer [2021-01-31T16:04:31.377Z] prd-centos7-docker-4c-2g-24201 does not seem to be running inside a container [2021-01-31T16:04:31.429Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-31T16:04:32.285Z] $ docker top f1f9ff345600e52a72f7b2c334d24fcdd84b6fbd6771213b7fb7882bd0e41105 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-31T16:04:32.621Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-31T16:04:32.621Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-31T16:04:32.856Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-31T16:04:32.859Z] $ docker exec f1f9ff345600e52a72f7b2c334d24fcdd84b6fbd6771213b7fb7882bd0e41105 ssh-agent [2021-01-31T16:04:33.043Z] SSH_AUTH_SOCK=/tmp/ssh-tCDsamTjZOqV/agent.11 [2021-01-31T16:04:33.043Z] SSH_AGENT_PID=17 [2021-01-31T16:04:33.051Z] Running ssh-add (command line suppressed) [2021-01-31T16:04:33.185Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7335271005379500973.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7335271005379500973.key) [2021-01-31T16:04:33.249Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-31T16:04:33.588Z] + git semver bump pre [2021-01-31T16:04:33.588Z] # -> Open(): unable to determine branch for HEAD [2021-01-31T16:04:33.588Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-31T16:04:33.588Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-31T16:04:33.588Z] # $SEMVER_REMOTE_NAME = origin [2021-01-31T16:04:33.588Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-31T16:04:33.588Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-31T16:04:33.588Z] # $SEMVER_BRANCH = master [2021-01-31T16:04:33.588Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-01-31T16:04:33.588Z] 2.0.0-dev.11 [Pipeline] } [2021-01-31T16:04:33.599Z] $ docker exec --env ******** --env ******** f1f9ff345600e52a72f7b2c334d24fcdd84b6fbd6771213b7fb7882bd0e41105 ssh-agent -k [2021-01-31T16:04:33.717Z] unset SSH_AUTH_SOCK; [2021-01-31T16:04:33.718Z] unset SSH_AGENT_PID; [2021-01-31T16:04:33.718Z] echo Agent pid 17 killed; [2021-01-31T16:04:33.770Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-31T16:04:34.235Z] + git semver [Pipeline] } [2021-01-31T16:04:34.252Z] $ docker stop --time=1 f1f9ff345600e52a72f7b2c334d24fcdd84b6fbd6771213b7fb7882bd0e41105 [2021-01-31T16:04:35.591Z] $ docker rm -f f1f9ff345600e52a72f7b2c334d24fcdd84b6fbd6771213b7fb7882bd0e41105 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-01-31T16:04:36.106Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-31T16:04:36.106Z] . [Pipeline] withDockerContainer [2021-01-31T16:04:36.208Z] prd-centos7-docker-4c-2g-24201 does not seem to be running inside a container [2021-01-31T16:04:36.253Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-31T16:04:36.860Z] $ docker top 3399b72af5c58314d6867a896e96c472b430d38b8bff6fad2791bf972a2f76fa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-31T16:04:37.218Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-31T16:04:37.218Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-31T16:04:37.393Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-31T16:04:37.396Z] $ docker exec 3399b72af5c58314d6867a896e96c472b430d38b8bff6fad2791bf972a2f76fa ssh-agent [2021-01-31T16:04:37.583Z] SSH_AUTH_SOCK=/tmp/ssh-2moGavoB2K3b/agent.11 [2021-01-31T16:04:37.583Z] SSH_AGENT_PID=17 [2021-01-31T16:04:37.591Z] Running ssh-add (command line suppressed) [2021-01-31T16:04:37.721Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_476618115111760507.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_476618115111760507.key) [2021-01-31T16:04:37.791Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-31T16:04:38.125Z] + git semver push [2021-01-31T16:04:38.125Z] # -> Open(): unable to determine branch for HEAD [2021-01-31T16:04:38.125Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-31T16:04:38.125Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-31T16:04:38.125Z] # $SEMVER_REMOTE_NAME = origin [2021-01-31T16:04:38.125Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-31T16:04:38.125Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-31T16:04:38.125Z] # $SEMVER_BRANCH = master [2021-01-31T16:04:38.125Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-01-31T16:04:44.748Z] $ docker exec --env ******** --env ******** 3399b72af5c58314d6867a896e96c472b430d38b8bff6fad2791bf972a2f76fa ssh-agent -k [2021-01-31T16:04:44.877Z] unset SSH_AUTH_SOCK; [2021-01-31T16:04:44.878Z] unset SSH_AGENT_PID; [2021-01-31T16:04:44.878Z] echo Agent pid 17 killed; [2021-01-31T16:04:44.937Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-31T16:04:45.395Z] + git semver [Pipeline] } [2021-01-31T16:04:45.415Z] $ docker stop --time=1 3399b72af5c58314d6867a896e96c472b430d38b8bff6fad2791bf972a2f76fa [2021-01-31T16:04:46.781Z] $ docker rm -f 3399b72af5c58314d6867a896e96c472b430d38b8bff6fad2791bf972a2f76fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-31T16:04:48.314Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-31T16:04:48.893Z] ---> package-listing.sh [2021-01-31T16:04:48.893Z] ++ facter osfamily [2021-01-31T16:04:48.893Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-31T16:04:48.893Z] + OS_FAMILY=redhat [2021-01-31T16:04:48.893Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2021-01-31T16:04:48.893Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-31T16:04:48.893Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-31T16:04:48.893Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-31T16:04:48.893Z] + PACKAGES=/tmp/packages_start.txt [2021-01-31T16:04:48.893Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-01-31T16:04:48.893Z] + PACKAGES=/tmp/packages_end.txt [2021-01-31T16:04:48.893Z] + case "${OS_FAMILY}" in [2021-01-31T16:04:48.893Z] + rpm -qa [2021-01-31T16:04:48.893Z] + sort [2021-01-31T16:04:54.214Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-31T16:04:54.214Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-31T16:04:54.214Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-31T16:04:54.214Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-01-31T16:04:54.214Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2021-01-31T16:04:54.214Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo [2021-01-31T16:04:54.229Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-31T16:04:54.525Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-31T16:04:54.890Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-31T16:04:54.890Z] [2021-01-31T16:04:54.890Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-31T16:04:55.311Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-31T16:04:55.311Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-31T16:04:55.312Z] df20fa9351a1: Pulling fs layer [2021-01-31T16:04:55.312Z] 36b3adc4ff6f: Pulling fs layer [2021-01-31T16:04:55.312Z] 8ad3a11d3b57: Pulling fs layer [2021-01-31T16:04:55.312Z] 46f8f816bc3b: Pulling fs layer [2021-01-31T16:04:55.312Z] 93b61091891f: Pulling fs layer [2021-01-31T16:04:55.312Z] 93b9cdb0e59b: Pulling fs layer [2021-01-31T16:04:55.312Z] 5e14af77c1be: Pulling fs layer [2021-01-31T16:04:55.312Z] 01666e4c0597: Pulling fs layer [2021-01-31T16:04:55.312Z] aa168da1d23b: Pulling fs layer [2021-01-31T16:04:55.312Z] 93b9cdb0e59b: Waiting [2021-01-31T16:04:55.312Z] 5e14af77c1be: Waiting [2021-01-31T16:04:55.312Z] 01666e4c0597: Waiting [2021-01-31T16:04:55.312Z] aa168da1d23b: Waiting [2021-01-31T16:04:55.312Z] 46f8f816bc3b: Waiting [2021-01-31T16:04:55.312Z] 93b61091891f: Waiting [2021-01-31T16:04:55.312Z] 36b3adc4ff6f: Verifying Checksum [2021-01-31T16:04:55.312Z] 36b3adc4ff6f: Download complete [2021-01-31T16:04:55.312Z] 46f8f816bc3b: Verifying Checksum [2021-01-31T16:04:55.312Z] 46f8f816bc3b: Download complete [2021-01-31T16:04:55.574Z] df20fa9351a1: Verifying Checksum [2021-01-31T16:04:55.574Z] df20fa9351a1: Download complete [2021-01-31T16:04:55.574Z] 93b9cdb0e59b: Verifying Checksum [2021-01-31T16:04:55.574Z] 93b9cdb0e59b: Download complete [2021-01-31T16:04:55.574Z] 93b61091891f: Verifying Checksum [2021-01-31T16:04:55.574Z] 5e14af77c1be: Verifying Checksum [2021-01-31T16:04:55.574Z] 5e14af77c1be: Download complete [2021-01-31T16:04:55.574Z] 93b61091891f: Download complete [2021-01-31T16:04:55.574Z] 01666e4c0597: Verifying Checksum [2021-01-31T16:04:55.574Z] 01666e4c0597: Download complete [2021-01-31T16:04:55.574Z] 8ad3a11d3b57: Verifying Checksum [2021-01-31T16:04:55.574Z] 8ad3a11d3b57: Download complete [2021-01-31T16:04:55.839Z] df20fa9351a1: Pull complete [2021-01-31T16:04:56.102Z] 36b3adc4ff6f: Pull complete [2021-01-31T16:04:58.034Z] 8ad3a11d3b57: Pull complete [2021-01-31T16:04:58.034Z] aa168da1d23b: Verifying Checksum [2021-01-31T16:04:58.034Z] aa168da1d23b: Download complete [2021-01-31T16:04:58.034Z] 46f8f816bc3b: Pull complete [2021-01-31T16:04:58.296Z] 93b61091891f: Pull complete [2021-01-31T16:04:58.296Z] 93b9cdb0e59b: Pull complete [2021-01-31T16:04:58.560Z] 5e14af77c1be: Pull complete [2021-01-31T16:04:58.560Z] 01666e4c0597: Pull complete [2021-01-31T16:05:08.630Z] aa168da1d23b: Pull complete [2021-01-31T16:05:08.630Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-31T16:05:08.630Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-31T16:05:08.630Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-31T16:05:08.857Z] prd-centos7-docker-4c-2g-24201 does not seem to be running inside a container [2021-01-31T16:05:08.907Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-31T16:05:11.777Z] $ docker top 764328e028d3e86c41d8965195325f48df4e64e6ec05955f50e061765e6670f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-31T16:05:12.327Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-31T16:05:12.627Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-31T16:05:12.926Z] + ls /var/log/sa-host [2021-01-31T16:05:12.926Z] + sadf -c /var/log/sa-host/sa23 [2021-01-31T16:05:12.926Z] file_magic: OK [2021-01-31T16:05:12.926Z] HZ: Using current value: 100 [2021-01-31T16:05:12.926Z] file_header: OK [2021-01-31T16:05:12.926Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-31T16:05:12.926Z] Statistics: [2021-01-31T16:05:12.926Z] Hnuu...uuuununununu... [2021-01-31T16:05:12.926Z] File successfully converted to sysstat format version 12.2.1 [2021-01-31T16:05:12.926Z] + sadf -c /var/log/sa-host/sa31 [2021-01-31T16:05:12.926Z] file_magic: OK [2021-01-31T16:05:12.926Z] HZ: Using current value: 100 [2021-01-31T16:05:12.926Z] file_header: OK [2021-01-31T16:05:12.926Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-31T16:05:12.926Z] Statistics: [2021-01-31T16:05:12.926Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-31T16:05:12.926Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-31T16:05:13.163Z] provisioning config files... [2021-01-31T16:05:13.183Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8945690940222052559tmp [Pipeline] { [Pipeline] echo [2021-01-31T16:05:13.287Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-31T16:05:13.585Z] ---> create-netrc.sh [Pipeline] } [2021-01-31T16:05:13.597Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-31T16:05:13.687Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-31T16:05:13.986Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-31T16:05:13.996Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-31T16:05:14.293Z] ---> sudo-logs.sh [2021-01-31T16:05:14.293Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-31T16:05:14.304Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-31T16:05:14.602Z] ---> job-cost.sh [2021-01-31T16:05:14.602Z] lf-activate-venv: SKIPPING [2021-01-31T16:05:14.602Z] INFO: No Stack... [2021-01-31T16:05:15.551Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-31T16:05:16.127Z] INFO: Archiving Costs [Pipeline] echo [2021-01-31T16:05:16.141Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-31T16:05:16.437Z] ---> logs-deploy.sh [2021-01-31T16:05:16.437Z] lf-activate-venv: SKIPPING [2021-01-31T16:05:16.437Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/115 [2021-01-31T16:05:16.437Z] INFO: archiving workspace using pattern(s): [2021-01-31T16:05:17.825Z] Archives upload complete. [2021-01-31T16:05:18.088Z] INFO: archiving logs to Nexus