Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from bb51c8debe42093e5eb42b70cd80c1650e49a210 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-16989 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision bb51c8debe42093e5eb42b70cd80c1650e49a210 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb51c8debe42093e5eb42b70cd80c1650e49a210 # timeout=10 Commit message: "Merge pull request #702 from hahattan/issue-572" > git rev-list --no-walk b058260e0a173cbd20e8373902e2c8ff53da770e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-21T04:54:13.249Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-21T04:54:13.577Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-21T04:54:13.679Z] ========================================================= [2020-12-21T04:54:13.679Z] EdgeX Global Pipelines Version Info [2020-12-21T04:54:13.679Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-21T04:54:16.194Z] ------------------- [2020-12-21T04:54:16.194Z] stable info: [2020-12-21T04:54:16.194Z] ------------------- [2020-12-21T04:54:16.194Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-21T04:54:16.194Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-21T04:54:16.194Z] Message: update stable to v1.0.173 [2020-12-21T04:54:17.147Z] ------------------- [2020-12-21T04:54:17.147Z] experimental info: [2020-12-21T04:54:17.147Z] ------------------- [2020-12-21T04:54:17.147Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-21T04:54:17.147Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-21T04:54:17.147Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-21T04:54:17.428Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-21T04:54:17.552Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-21T04:54:17.717Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-21T04:54:17.841Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-21T04:54:17.938Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-21T04:54:18.060Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-21T04:54:18.156Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-21T04:54:18.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-21T04:54:18.345Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-21T04:54:18.441Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-21T04:54:18.642Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-21T04:54:18.737Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-21T04:54:18.833Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-21T04:54:18.927Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-21T04:54:19.027Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-21T04:54:19.123Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-21T04:54:19.226Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-21T04:54:19.601Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-21T04:54:19.696Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-21T04:54:19.789Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-21T04:54:19.890Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-21T04:54:19.982Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-21T04:54:20.242Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-21T04:54:20.376Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-21T04:54:20.565Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-21T04:54:20.669Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-21T04:54:20.815Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-21T04:54:20.959Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-12-21T04:54:21.055Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-12-21T04:54:21.150Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-12-21T04:54:21.257Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bb51c8debe42093e5eb42b70cd80c1650e49a210 [Pipeline] echo [2020-12-21T04:54:21.362Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bb51c8d [Pipeline] echo [2020-12-21T04:54:21.480Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-21T04:54:21.664Z] provisioning config files... [2020-12-21T04:54:21.693Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2777130897804471802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-21T04:54:22.337Z] ---> docker-login.sh [2020-12-21T04:54:22.337Z] nexus3.edgexfoundry.org:10001 [2020-12-21T04:54:22.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T04:54:22.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T04:54:22.861Z] Configure a credential helper to remove this warning. See [2020-12-21T04:54:22.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T04:54:22.861Z] [2020-12-21T04:54:22.861Z] Login Succeeded [2020-12-21T04:54:22.861Z] nexus3.edgexfoundry.org:10002 [2020-12-21T04:54:22.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T04:54:23.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T04:54:23.128Z] Configure a credential helper to remove this warning. See [2020-12-21T04:54:23.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T04:54:23.128Z] [2020-12-21T04:54:23.128Z] Login Succeeded [2020-12-21T04:54:23.128Z] nexus3.edgexfoundry.org:10003 [2020-12-21T04:54:23.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T04:54:23.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T04:54:23.391Z] Configure a credential helper to remove this warning. See [2020-12-21T04:54:23.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T04:54:23.391Z] [2020-12-21T04:54:23.391Z] Login Succeeded [2020-12-21T04:54:23.391Z] nexus3.edgexfoundry.org:10004 [2020-12-21T04:54:23.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T04:54:23.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T04:54:23.391Z] Configure a credential helper to remove this warning. See [2020-12-21T04:54:23.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T04:54:23.391Z] [2020-12-21T04:54:23.391Z] Login Succeeded [2020-12-21T04:54:23.391Z] docker.io [2020-12-21T04:54:23.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T04:54:23.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T04:54:23.919Z] Configure a credential helper to remove this warning. See [2020-12-21T04:54:23.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T04:54:23.919Z] [2020-12-21T04:54:23.919Z] Login Succeeded [2020-12-21T04:54:23.919Z] ---> docker-login.sh ends [Pipeline] } [2020-12-21T04:54:23.932Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-21T04:54:24.820Z] + git log --format=format:%s -1 bb51c8debe42093e5eb42b70cd80c1650e49a210 [Pipeline] echo [2020-12-21T04:54:24.890Z] GIT_COMMIT: bb51c8debe42093e5eb42b70cd80c1650e49a210, Commit Message: Merge pull request #702 from hahattan/issue-572 [Pipeline] echo [2020-12-21T04:54:25.189Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-21T04:54:25.822Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T04:54:25.822Z] [2020-12-21T04:54:25.822Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-21T04:54:26.176Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T04:54:26.176Z] latest: Pulling from edgex-devops/git-semver [2020-12-21T04:54:26.176Z] 31603596830f: Pulling fs layer [2020-12-21T04:54:26.176Z] 2a8b12db71e7: Pulling fs layer [2020-12-21T04:54:26.176Z] 6ca5941a6612: Pulling fs layer [2020-12-21T04:54:26.176Z] ecc8261a40a4: Pulling fs layer [2020-12-21T04:54:26.176Z] ecc8261a40a4: Waiting [2020-12-21T04:54:26.176Z] 2a8b12db71e7: Download complete [2020-12-21T04:54:29.488Z] 31603596830f: Verifying Checksum [2020-12-21T04:54:29.488Z] 31603596830f: Download complete [2020-12-21T04:54:29.488Z] 31603596830f: Pull complete [2020-12-21T04:54:29.749Z] 2a8b12db71e7: Pull complete [2020-12-21T04:54:31.147Z] ecc8261a40a4: Verifying Checksum [2020-12-21T04:54:31.147Z] ecc8261a40a4: Download complete [2020-12-21T04:54:33.070Z] 6ca5941a6612: Verifying Checksum [2020-12-21T04:54:33.070Z] 6ca5941a6612: Download complete [2020-12-21T04:54:34.035Z] 6ca5941a6612: Pull complete [2020-12-21T04:54:34.035Z] ecc8261a40a4: Pull complete [2020-12-21T04:54:34.035Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-21T04:54:34.304Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T04:54:34.304Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-21T04:54:34.422Z] prd-centos7-docker-4c-2g-16989 does not seem to be running inside a container [2020-12-21T04:54:34.472Z] $ 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 [2020-12-21T04:54:36.846Z] $ docker top b3301fd97a485990b32f4ba9b8e6e5b2c2384acb4a697d4d14b6fb37c7a5d9df -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-21T04:54:37.263Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-21T04:54:37.263Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-21T04:54:37.493Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-21T04:54:37.498Z] $ docker exec b3301fd97a485990b32f4ba9b8e6e5b2c2384acb4a697d4d14b6fb37c7a5d9df ssh-agent [2020-12-21T04:54:37.668Z] SSH_AUTH_SOCK=/tmp/ssh-gOjnV6QEq1cr/agent.11 [2020-12-21T04:54:37.668Z] SSH_AGENT_PID=16 [2020-12-21T04:54:37.683Z] Running ssh-add (command line suppressed) [2020-12-21T04:54:37.800Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6382191251640418665.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6382191251640418665.key) [2020-12-21T04:54:37.854Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-21T04:54:38.210Z] + git tag --points-at HEAD [Pipeline] } [2020-12-21T04:54:38.239Z] $ docker exec --env ******** --env ******** b3301fd97a485990b32f4ba9b8e6e5b2c2384acb4a697d4d14b6fb37c7a5d9df ssh-agent -k [2020-12-21T04:54:38.350Z] unset SSH_AUTH_SOCK; [2020-12-21T04:54:38.350Z] unset SSH_AGENT_PID; [2020-12-21T04:54:38.351Z] echo Agent pid 16 killed; [2020-12-21T04:54:38.398Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-21T04:54:38.588Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-21T04:54:38.588Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-21T04:54:38.754Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-21T04:54:38.759Z] $ docker exec b3301fd97a485990b32f4ba9b8e6e5b2c2384acb4a697d4d14b6fb37c7a5d9df ssh-agent [2020-12-21T04:54:38.921Z] SSH_AUTH_SOCK=/tmp/ssh-hES8TXi0xXtT/agent.46 [2020-12-21T04:54:38.921Z] SSH_AGENT_PID=51 [2020-12-21T04:54:38.930Z] Running ssh-add (command line suppressed) [2020-12-21T04:54:39.048Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7306083557502723761.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7306083557502723761.key) [2020-12-21T04:54:39.107Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-21T04:54:39.467Z] + git semver init [2020-12-21T04:54:39.468Z] # -> Open(): unable to determine branch for HEAD [2020-12-21T04:54:39.468Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-12-21T04:54:39.468Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-12-21T04:54:39.468Z] # $SEMVER_REMOTE_NAME = origin [2020-12-21T04:54:39.468Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-21T04:54:39.468Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-21T04:54:39.468Z] # $SEMVER_BRANCH = master [2020-12-21T04:54:39.468Z] # $SEMVER_TEMP = /tmp/semver-022769986 [2020-12-21T04:54:39.468Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-21T04:54:42.795Z] # '/tmp/semver-022769986' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-12-21T04:54:42.795Z] # -> Force: false [2020-12-21T04:54:42.795Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-12-21T04:54:42.811Z] $ docker exec --env ******** --env ******** b3301fd97a485990b32f4ba9b8e6e5b2c2384acb4a697d4d14b6fb37c7a5d9df ssh-agent -k [2020-12-21T04:54:42.919Z] unset SSH_AUTH_SOCK; [2020-12-21T04:54:42.920Z] unset SSH_AGENT_PID; [2020-12-21T04:54:42.920Z] echo Agent pid 51 killed; [2020-12-21T04:54:42.966Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-21T04:54:43.456Z] + git semver [Pipeline] } [2020-12-21T04:54:43.477Z] $ docker stop --time=1 b3301fd97a485990b32f4ba9b8e6e5b2c2384acb4a697d4d14b6fb37c7a5d9df [2020-12-21T04:54:45.342Z] $ docker rm -f b3301fd97a485990b32f4ba9b8e6e5b2c2384acb4a697d4d14b6fb37c7a5d9df [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-21T04:54:46.065Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-21T04:54:46.534Z] Stashed 1 file(s) [Pipeline] echo [2020-12-21T04:54:46.537Z] [edgeXSemver]: initialized semver on version 1.3.1-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 [2020-12-21T04:55:02.329Z] Still waiting to schedule task [2020-12-21T04:55:02.329Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-21T04:55:02.331Z] Still waiting to schedule task [2020-12-21T04:55:02.331Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-21T04:57:11.400Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-16990 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-12-21T04:57:11.472Z] Running in /w/workspace/device-sdk-go/97 [Pipeline] { [Pipeline] checkout [2020-12-21T04:57:16.975Z] using credential edgex-jenkins-ssh [2020-12-21T04:57:17.037Z] Cloning the remote Git repository [2020-12-21T04:57:17.093Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-21T04:57:17.206Z] > git init /w/workspace/device-sdk-go/97 # timeout=10 [2020-12-21T04:57:17.315Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-21T04:57:17.316Z] > git --version # timeout=10 [2020-12-21T04:57:17.333Z] > git --version # 'git version 2.17.1' [2020-12-21T04:57:17.335Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T04:57:17.395Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T04:57:21.668Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-21T04:57:21.688Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T04:57:21.717Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-21T04:57:21.765Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-21T04:57:21.765Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T04:57:21.778Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-21T04:57:22.789Z] Checking out Revision bb51c8debe42093e5eb42b70cd80c1650e49a210 (master) [2020-12-21T04:57:22.807Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T04:57:22.828Z] > git checkout -f bb51c8debe42093e5eb42b70cd80c1650e49a210 # timeout=10 [2020-12-21T04:57:27.553Z] Commit message: "Merge pull request #702 from hahattan/issue-572" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-21T04:57:29.390Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-21T04:57:29.831Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-21T04:57:30.247Z] + sudo service docker restart [2020-12-21T04:57:30.247Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-21T04:57:32.967Z] provisioning config files... [2020-12-21T04:57:33.014Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/97@tmp/config4419085374482573137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-21T04:57:33.465Z] ---> docker-login.sh [2020-12-21T04:57:33.465Z] nexus3.edgexfoundry.org:10001 [2020-12-21T04:57:34.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T04:57:34.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T04:57:34.661Z] Configure a credential helper to remove this warning. See [2020-12-21T04:57:34.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T04:57:34.661Z] [2020-12-21T04:57:34.661Z] Login Succeeded [2020-12-21T04:57:34.661Z] nexus3.edgexfoundry.org:10002 [2020-12-21T04:57:34.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T04:57:35.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T04:57:35.209Z] Configure a credential helper to remove this warning. See [2020-12-21T04:57:35.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T04:57:35.209Z] [2020-12-21T04:57:35.209Z] Login Succeeded [2020-12-21T04:57:35.209Z] nexus3.edgexfoundry.org:10003 [2020-12-21T04:57:35.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T04:57:35.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T04:57:35.481Z] Configure a credential helper to remove this warning. See [2020-12-21T04:57:35.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T04:57:35.481Z] [2020-12-21T04:57:35.482Z] Login Succeeded [2020-12-21T04:57:35.482Z] nexus3.edgexfoundry.org:10004 [2020-12-21T04:57:36.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T04:57:36.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T04:57:36.086Z] Configure a credential helper to remove this warning. See [2020-12-21T04:57:36.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T04:57:36.086Z] [2020-12-21T04:57:36.086Z] Login Succeeded [2020-12-21T04:57:36.086Z] docker.io [2020-12-21T04:57:36.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T04:57:36.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T04:57:36.963Z] Configure a credential helper to remove this warning. See [2020-12-21T04:57:36.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T04:57:36.963Z] [2020-12-21T04:57:36.963Z] Login Succeeded [2020-12-21T04:57:36.963Z] ---> docker-login.sh ends [Pipeline] } [2020-12-21T04:57:36.982Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-21T04:57:37.466Z] ========================================================= [2020-12-21T04:57:37.466Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-21T04:57:37.466Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-21T04:57:37.864Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-12-21T04:57:38.481Z] Sending build context to Docker daemon 2.41MB [2020-12-21T04:57:38.481Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-21T04:57:38.481Z] Step 2/8 : FROM ${BASE} [2020-12-21T04:57:38.481Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-21T04:57:38.481Z] 5f621e34cdf4: Pulling fs layer [2020-12-21T04:57:38.481Z] a4357932f1b6: Pulling fs layer [2020-12-21T04:57:38.481Z] 18c013af1878: Pulling fs layer [2020-12-21T04:57:38.481Z] 00ac8860ef70: Pulling fs layer [2020-12-21T04:57:38.481Z] 63d7cb157983: Pulling fs layer [2020-12-21T04:57:38.481Z] b116817d02f9: Pulling fs layer [2020-12-21T04:57:38.481Z] 745a02a5169b: Pulling fs layer [2020-12-21T04:57:38.481Z] 63d7cb157983: Waiting [2020-12-21T04:57:38.481Z] b116817d02f9: Waiting [2020-12-21T04:57:38.481Z] 745a02a5169b: Waiting [2020-12-21T04:57:38.481Z] 00ac8860ef70: Waiting [2020-12-21T04:57:38.481Z] 18c013af1878: Verifying Checksum [2020-12-21T04:57:38.481Z] 18c013af1878: Download complete [2020-12-21T04:57:38.481Z] a4357932f1b6: Verifying Checksum [2020-12-21T04:57:38.481Z] a4357932f1b6: Download complete [2020-12-21T04:57:39.087Z] 63d7cb157983: Verifying Checksum [2020-12-21T04:57:39.087Z] 63d7cb157983: Download complete [2020-12-21T04:57:39.366Z] b116817d02f9: Verifying Checksum [2020-12-21T04:57:39.366Z] b116817d02f9: Download complete [2020-12-21T04:57:39.644Z] 5f621e34cdf4: Verifying Checksum [2020-12-21T04:57:39.644Z] 5f621e34cdf4: Download complete [2020-12-21T04:57:40.265Z] 5f621e34cdf4: Pull complete [2020-12-21T04:57:40.893Z] a4357932f1b6: Pull complete [2020-12-21T04:57:41.173Z] 18c013af1878: Pull complete [2020-12-21T04:57:45.653Z] Running on prd-centos7-docker-4c-2g-16991 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-12-21T04:57:45.707Z] Running in /w/workspace/device-sdk-go/97 [Pipeline] { [Pipeline] checkout [2020-12-21T04:57:46.586Z] 745a02a5169b: Verifying Checksum [2020-12-21T04:57:46.586Z] 745a02a5169b: Download complete [2020-12-21T04:57:48.278Z] using credential edgex-jenkins-ssh [2020-12-21T04:57:48.332Z] Cloning the remote Git repository [2020-12-21T04:57:48.357Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-21T04:57:48.423Z] > git init /w/workspace/device-sdk-go/97 # timeout=10 [2020-12-21T04:57:48.484Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-21T04:57:48.484Z] > git --version # timeout=10 [2020-12-21T04:57:48.490Z] > git --version # 'git version 2.24.3' [2020-12-21T04:57:48.491Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T04:57:48.521Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T04:57:51.984Z] 00ac8860ef70: Verifying Checksum [2020-12-21T04:57:51.984Z] 00ac8860ef70: Download complete [2020-12-21T04:57:52.249Z] Checking out Revision bb51c8debe42093e5eb42b70cd80c1650e49a210 (master) [2020-12-21T04:57:51.788Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-21T04:57:51.796Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T04:57:51.810Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-21T04:57:51.823Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-21T04:57:51.823Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T04:57:51.827Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-21T04:57:52.259Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T04:57:52.264Z] > git checkout -f bb51c8debe42093e5eb42b70cd80c1650e49a210 # timeout=10 [2020-12-21T04:57:55.886Z] Commit message: "Merge pull request #702 from hahattan/issue-572" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-21T04:57:57.655Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-21T04:57:57.986Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-21T04:57:58.288Z] + sudo service docker restart [2020-12-21T04:57:58.288Z] + true [2020-12-21T04:57:58.288Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-21T04:58:00.429Z] provisioning config files... [2020-12-21T04:58:00.458Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/97@tmp/config414929852326584870tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-21T04:58:00.835Z] ---> docker-login.sh [2020-12-21T04:58:00.835Z] nexus3.edgexfoundry.org:10001 [2020-12-21T04:58:01.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T04:58:01.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T04:58:01.100Z] Configure a credential helper to remove this warning. See [2020-12-21T04:58:01.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T04:58:01.100Z] [2020-12-21T04:58:01.100Z] Login Succeeded [2020-12-21T04:58:01.100Z] nexus3.edgexfoundry.org:10002 [2020-12-21T04:58:01.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T04:58:01.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T04:58:01.364Z] Configure a credential helper to remove this warning. See [2020-12-21T04:58:01.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T04:58:01.364Z] [2020-12-21T04:58:01.364Z] Login Succeeded [2020-12-21T04:58:01.364Z] nexus3.edgexfoundry.org:10003 [2020-12-21T04:58:01.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T04:58:01.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T04:58:01.628Z] Configure a credential helper to remove this warning. See [2020-12-21T04:58:01.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T04:58:01.628Z] [2020-12-21T04:58:01.628Z] Login Succeeded [2020-12-21T04:58:01.628Z] nexus3.edgexfoundry.org:10004 [2020-12-21T04:58:01.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T04:58:01.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T04:58:01.892Z] Configure a credential helper to remove this warning. See [2020-12-21T04:58:01.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T04:58:01.892Z] [2020-12-21T04:58:01.892Z] Login Succeeded [2020-12-21T04:58:01.892Z] docker.io [2020-12-21T04:58:01.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T04:58:02.164Z] 00ac8860ef70: Pull complete [2020-12-21T04:58:02.165Z] 63d7cb157983: Pull complete [2020-12-21T04:58:02.165Z] b116817d02f9: Pull complete [2020-12-21T04:58:02.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T04:58:02.472Z] Configure a credential helper to remove this warning. See [2020-12-21T04:58:02.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T04:58:02.472Z] [2020-12-21T04:58:02.472Z] Login Succeeded [2020-12-21T04:58:02.472Z] ---> docker-login.sh ends [Pipeline] } [2020-12-21T04:58:02.483Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-21T04:58:02.951Z] ========================================================= [2020-12-21T04:58:02.951Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-21T04:58:02.951Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-21T04:58:03.311Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-12-21T04:58:03.573Z] Sending build context to Docker daemon 2.412MB [2020-12-21T04:58:03.573Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-21T04:58:03.573Z] Step 2/8 : FROM ${BASE} [2020-12-21T04:58:04.519Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-21T04:58:04.519Z] 188c0c94c7c5: Pulling fs layer [2020-12-21T04:58:04.519Z] 0ef7d3d256c8: Pulling fs layer [2020-12-21T04:58:04.519Z] de9db76c5a1d: Pulling fs layer [2020-12-21T04:58:04.519Z] bca2f99d35d6: Pulling fs layer [2020-12-21T04:58:04.519Z] 93359f2a8cfa: Pulling fs layer [2020-12-21T04:58:04.519Z] 7c6f9722023f: Pulling fs layer [2020-12-21T04:58:04.519Z] a35cf1a2eb13: Pulling fs layer [2020-12-21T04:58:04.519Z] 93359f2a8cfa: Waiting [2020-12-21T04:58:04.519Z] 7c6f9722023f: Waiting [2020-12-21T04:58:04.519Z] a35cf1a2eb13: Waiting [2020-12-21T04:58:04.519Z] bca2f99d35d6: Waiting [2020-12-21T04:58:04.519Z] de9db76c5a1d: Verifying Checksum [2020-12-21T04:58:04.519Z] de9db76c5a1d: Download complete [2020-12-21T04:58:04.519Z] 0ef7d3d256c8: Verifying Checksum [2020-12-21T04:58:04.519Z] 0ef7d3d256c8: Download complete [2020-12-21T04:58:04.519Z] 93359f2a8cfa: Verifying Checksum [2020-12-21T04:58:04.519Z] 93359f2a8cfa: Download complete [2020-12-21T04:58:04.783Z] 7c6f9722023f: Verifying Checksum [2020-12-21T04:58:04.783Z] 7c6f9722023f: Download complete [2020-12-21T04:58:04.783Z] 188c0c94c7c5: Verifying Checksum [2020-12-21T04:58:04.783Z] 188c0c94c7c5: Download complete [2020-12-21T04:58:05.049Z] 188c0c94c7c5: Pull complete [2020-12-21T04:58:05.312Z] 0ef7d3d256c8: Pull complete [2020-12-21T04:58:05.574Z] de9db76c5a1d: Pull complete [2020-12-21T04:58:05.588Z] 745a02a5169b: Pull complete [2020-12-21T04:58:05.588Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-21T04:58:05.588Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-21T04:58:05.588Z] ---> b7e6874047d6 [2020-12-21T04:58:05.588Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-21T04:58:08.891Z] a35cf1a2eb13: Verifying Checksum [2020-12-21T04:58:08.891Z] a35cf1a2eb13: Download complete [2020-12-21T04:58:08.974Z] ---> Running in a16c29bc1db4 [2020-12-21T04:58:08.974Z] Removing intermediate container a16c29bc1db4 [2020-12-21T04:58:08.974Z] ---> 59a7414748ee [2020-12-21T04:58:08.974Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-21T04:58:09.251Z] ---> Running in 84e69fbcc101 [2020-12-21T04:58:11.884Z] Removing intermediate container 84e69fbcc101 [2020-12-21T04:58:11.884Z] ---> 7b1dc13c91f2 [2020-12-21T04:58:11.884Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-21T04:58:11.884Z] ---> Running in 26336150fd43 [2020-12-21T04:58:12.487Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-21T04:58:13.121Z] bca2f99d35d6: Verifying Checksum [2020-12-21T04:58:13.122Z] bca2f99d35d6: Download complete [2020-12-21T04:58:15.107Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-21T04:58:18.464Z] bca2f99d35d6: Pull complete [2020-12-21T04:58:18.486Z] OK: 142 MiB in 39 packages [2020-12-21T04:58:18.737Z] 93359f2a8cfa: Pull complete [2020-12-21T04:58:18.737Z] 7c6f9722023f: Pull complete [2020-12-21T04:58:19.083Z] Removing intermediate container 26336150fd43 [2020-12-21T04:58:19.083Z] ---> 4e26e27be66b [2020-12-21T04:58:19.083Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-21T04:58:19.357Z] ---> Running in f34a2845621f [2020-12-21T04:58:19.956Z] Removing intermediate container f34a2845621f [2020-12-21T04:58:19.956Z] ---> 12e39e4093d6 [2020-12-21T04:58:19.956Z] Step 7/8 : COPY . . [2020-12-21T04:58:21.405Z] ---> 408f846cdde2 [2020-12-21T04:58:21.405Z] Step 8/8 : RUN go mod download [2020-12-21T04:58:21.405Z] ---> Running in 1ebe37103094 [2020-12-21T04:58:24.063Z] a35cf1a2eb13: Pull complete [2020-12-21T04:58:24.063Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-21T04:58:24.063Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-21T04:58:24.063Z] ---> a62c8e92a672 [2020-12-21T04:58:24.063Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-21T04:58:24.063Z] ---> Running in 8ea41d8c3f7d [2020-12-21T04:58:24.063Z] Removing intermediate container 8ea41d8c3f7d [2020-12-21T04:58:24.063Z] ---> 721b74f67134 [2020-12-21T04:58:24.063Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-21T04:58:24.063Z] ---> Running in 6ebb21bae98c [2020-12-21T04:58:25.018Z] Removing intermediate container 6ebb21bae98c [2020-12-21T04:58:25.018Z] ---> e29afb365db3 [2020-12-21T04:58:25.018Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-21T04:58:25.018Z] ---> Running in 1180816d76d7 [2020-12-21T04:58:25.971Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-21T04:58:31.287Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-21T04:58:43.588Z] OK: 166 MiB in 39 packages [2020-12-21T04:58:43.588Z] Removing intermediate container 1180816d76d7 [2020-12-21T04:58:43.588Z] ---> 6db7fe69d79f [2020-12-21T04:58:43.588Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-21T04:58:43.588Z] ---> Running in b851c4791991 [2020-12-21T04:58:43.588Z] Removing intermediate container b851c4791991 [2020-12-21T04:58:43.588Z] ---> db098007671e [2020-12-21T04:58:43.588Z] Step 7/8 : COPY . . [2020-12-21T04:58:43.610Z] Removing intermediate container 1ebe37103094 [2020-12-21T04:58:43.610Z] ---> 8f68a7b9d093 [2020-12-21T04:58:43.610Z] Successfully built 8f68a7b9d093 [2020-12-21T04:58:43.610Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-21T04:58:43.977Z] + docker inspect -f . ci-base-image-arm64 [2020-12-21T04:58:43.977Z] . [Pipeline] withDockerContainer [2020-12-21T04:58:44.177Z] ---> c692548d88aa [2020-12-21T04:58:44.177Z] Step 8/8 : RUN go mod download [2020-12-21T04:58:44.177Z] ---> Running in 55db0fd73db1 [2020-12-21T04:58:44.265Z] prd-ubuntu18.04-docker-arm64-4c-16g-16990 does not seem to be running inside a container [2020-12-21T04:58:44.354Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/97 -v /w/workspace/device-sdk-go/97:/w/workspace/device-sdk-go/97:rw,z -v /w/workspace/device-sdk-go/97@tmp:/w/workspace/device-sdk-go/97@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-21T04:58:45.815Z] $ docker top cb8223845d8cbc3c50f7fba0d17c78c957cdcb06eb713b2cce5b5b3340a33807 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T04:58:46.884Z] + go version [2020-12-21T04:58:46.884Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-21T04:58:46.912Z] $ docker stop --time=1 cb8223845d8cbc3c50f7fba0d17c78c957cdcb06eb713b2cce5b5b3340a33807 [2020-12-21T04:58:48.968Z] $ docker rm -f cb8223845d8cbc3c50f7fba0d17c78c957cdcb06eb713b2cce5b5b3340a33807 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-21T04:58:50.011Z] + docker inspect -f . ci-base-image-arm64 [2020-12-21T04:58:50.011Z] . [Pipeline] withDockerContainer [2020-12-21T04:58:50.249Z] prd-ubuntu18.04-docker-arm64-4c-16g-16990 does not seem to be running inside a container [2020-12-21T04:58:50.334Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/97 -v /w/workspace/device-sdk-go/97:/w/workspace/device-sdk-go/97:rw,z -v /w/workspace/device-sdk-go/97@tmp:/w/workspace/device-sdk-go/97@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-21T04:58:51.744Z] $ docker top 78326c09085380f39d183328735f7498d3a91090c958040a848fcd1e9940a279 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T04:58:52.750Z] + make test [2020-12-21T04:58:52.750Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-21T04:59:02.389Z] Removing intermediate container 55db0fd73db1 [2020-12-21T04:59:02.389Z] ---> 5ab26745a43e [2020-12-21T04:59:02.389Z] Successfully built 5ab26745a43e [2020-12-21T04:59:02.389Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-21T04:59:02.715Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-21T04:59:02.716Z] . [Pipeline] withDockerContainer [2020-12-21T04:59:02.929Z] prd-centos7-docker-4c-2g-16991 does not seem to be running inside a container [2020-12-21T04:59:03.257Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/97 -v /w/workspace/device-sdk-go/97:/w/workspace/device-sdk-go/97:rw,z -v /w/workspace/device-sdk-go/97@tmp:/w/workspace/device-sdk-go/97@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-21T04:59:03.981Z] $ docker top cb5b4863ca29b16320056b694d8c5e3cec1508a77b0c35d442792b754cbfefd7 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T04:59:04.504Z] + go version [2020-12-21T04:59:04.504Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-21T04:59:04.521Z] $ docker stop --time=1 cb5b4863ca29b16320056b694d8c5e3cec1508a77b0c35d442792b754cbfefd7 [2020-12-21T04:59:05.861Z] $ docker rm -f cb5b4863ca29b16320056b694d8c5e3cec1508a77b0c35d442792b754cbfefd7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-21T04:59:06.973Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-21T04:59:06.974Z] . [Pipeline] withDockerContainer [2020-12-21T04:59:07.113Z] prd-centos7-docker-4c-2g-16991 does not seem to be running inside a container [2020-12-21T04:59:07.163Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/97 -v /w/workspace/device-sdk-go/97:/w/workspace/device-sdk-go/97:rw,z -v /w/workspace/device-sdk-go/97@tmp:/w/workspace/device-sdk-go/97@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-21T04:59:07.745Z] $ docker top c95e05ba5ab9aa17545a346ebfeb9425ade95032bb3d5e4384967dbca4fcc0e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T04:59:08.274Z] + make test [2020-12-21T04:59:08.274Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-21T04:59:14.904Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-21T04:59:15.004Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-21T04:59:29.953Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-21T04:59:29.953Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-21T04:59:29.953Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-21T04:59:29.953Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.053s coverage: 19.4% of statements [2020-12-21T04:59:31.922Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.479s coverage: 97.1% of statements [2020-12-21T04:59:54.074Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-21T04:59:54.074Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-21T04:59:54.074Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-21T04:59:54.074Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.189s coverage: 19.4% of statements [2020-12-21T04:59:56.742Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.376s coverage: 97.1% of statements [2020-12-21T05:00:04.176Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.048s coverage: 9.4% of statements [2020-12-21T05:00:04.176Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.049s coverage: 21.9% of statements [2020-12-21T05:00:04.176Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-21T05:00:04.176Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.228s coverage: 42.5% of statements [2020-12-21T05:00:04.176Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-21T05:00:04.176Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.304s coverage: 68.9% of statements [2020-12-21T05:00:04.176Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-21T05:00:04.176Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-21T05:00:04.176Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-21T05:00:04.176Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-21T05:00:04.176Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.070s coverage: 53.8% of statements [2020-12-21T05:00:04.176Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-21T05:00:04.176Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-21T05:00:04.176Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-21T05:00:04.176Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.622s coverage: 68.9% of statements [2020-12-21T05:00:04.176Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.054s coverage: 4.2% of statements [2020-12-21T05:00:04.176Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-21T05:00:04.176Z] GO111MODULE=on go vet ./... [2020-12-21T05:00:10.869Z] gofmt -l . [2020-12-21T05:00:10.869Z] [ "`gofmt -l .`" = "" ] [2020-12-21T05:00:10.869Z] ./bin/test-attribution-txt.sh [2020-12-21T05:00:11.139Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-21T05:00:11.425Z] $ docker stop --time=1 c95e05ba5ab9aa17545a346ebfeb9425ade95032bb3d5e4384967dbca4fcc0e0 [2020-12-21T05:00:13.270Z] $ docker rm -f c95e05ba5ab9aa17545a346ebfeb9425ade95032bb3d5e4384967dbca4fcc0e0 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-21T05:00:13.943Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-21T05:00:14.389Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-12-21T05:00:17.104Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-21T05:00:17.405Z] + ls -al . [2020-12-21T05:00:17.405Z] total 208 [2020-12-21T05:00:17.405Z] drwxrwxr-x. 10 jenkins jenkins 4096 Dec 21 05:00 . [2020-12-21T05:00:17.405Z] drwxrwxr-x. 4 jenkins jenkins 30 Dec 21 04:57 .. [2020-12-21T05:00:17.405Z] drwxrwxr-x. 2 jenkins jenkins 64 Dec 21 04:57 bin [2020-12-21T05:00:17.405Z] -rw-r--r--. 1 jenkins jenkins 130526 Dec 21 05:00 coverage.out [2020-12-21T05:00:17.405Z] -rw-rw-r--. 1 jenkins jenkins 936 Dec 21 04:57 Dockerfile.build [2020-12-21T05:00:17.405Z] -rw-rw-r--. 1 jenkins jenkins 140 Dec 21 04:57 .dockerignore [2020-12-21T05:00:17.405Z] drwxrwxr-x. 4 jenkins jenkins 48 Dec 21 04:57 example [2020-12-21T05:00:17.405Z] drwxrwxr-x. 8 jenkins jenkins 162 Dec 21 04:57 .git [2020-12-21T05:00:17.405Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 21 04:57 .github [2020-12-21T05:00:17.405Z] -rw-rw-r--. 1 jenkins jenkins 138 Dec 21 04:57 .gitignore [2020-12-21T05:00:17.405Z] -rw-r--r--. 1 jenkins jenkins 488 Dec 21 05:00 go.mod [2020-12-21T05:00:17.405Z] -rw-r--r--. 1 jenkins jenkins 13631 Dec 21 05:00 go.sum [2020-12-21T05:00:17.405Z] drwxrwxr-x. 15 jenkins jenkins 211 Dec 21 04:57 internal [2020-12-21T05:00:17.405Z] -rw-rw-r--. 1 jenkins jenkins 901 Dec 21 04:57 Jenkinsfile [2020-12-21T05:00:17.405Z] -rw-rw-r--. 1 jenkins jenkins 11341 Dec 21 04:57 LICENSE [2020-12-21T05:00:17.405Z] -rw-rw-r--. 1 jenkins jenkins 1013 Dec 21 04:57 Makefile [2020-12-21T05:00:17.405Z] drwxrwxr-x. 4 jenkins jenkins 26 Dec 21 04:57 openapi [2020-12-21T05:00:17.405Z] drwxrwxr-x. 5 jenkins jenkins 50 Dec 21 04:57 pkg [2020-12-21T05:00:17.405Z] -rw-rw-r--. 1 jenkins jenkins 5897 Dec 21 04:57 README.md [2020-12-21T05:00:17.405Z] -rw-rw-r--. 1 jenkins jenkins 4291 Dec 21 04:57 RELEASE-NOTES.txt [2020-12-21T05:00:17.405Z] drwxrwxr-x. 4 jenkins jenkins 54 Dec 21 04:57 snap [2020-12-21T05:00:17.405Z] -rw-rw-r--. 1 jenkins jenkins 12 Dec 21 04:54 VERSION [2020-12-21T05:00:17.405Z] -rw-rw-r--. 1 jenkins jenkins 222 Dec 21 04:57 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-21T05:00:17.728Z] + 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=bb51c8debe42093e5eb42b70cd80c1650e49a210 --label arch=amd64 --label version=1.3.1-dev.10 . [2020-12-21T05:00:17.997Z] Sending build context to Docker daemon 2.543MB [2020-12-21T05:00:17.997Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-12-21T05:00:17.997Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-21T05:00:17.997Z] ---> 5ab26745a43e [2020-12-21T05:00:17.997Z] Step 3/24 : ARG MAKE='make build' [2020-12-21T05:00:18.579Z] ---> Running in d0d6f1560826 [2020-12-21T05:00:18.579Z] Removing intermediate container d0d6f1560826 [2020-12-21T05:00:18.579Z] ---> 924938411ce0 [2020-12-21T05:00:18.579Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-21T05:00:18.579Z] ---> Running in 1cc8d88ee2e7 [2020-12-21T05:00:18.842Z] Removing intermediate container 1cc8d88ee2e7 [2020-12-21T05:00:18.842Z] ---> 683cb1a52a2c [2020-12-21T05:00:18.842Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-21T05:00:18.842Z] ---> Running in 88842b2a0469 [2020-12-21T05:00:19.106Z] Removing intermediate container 88842b2a0469 [2020-12-21T05:00:19.106Z] ---> 7838c2b44a31 [2020-12-21T05:00:19.106Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-21T05:00:19.106Z] ---> Running in 943c67619bab [2020-12-21T05:00:20.070Z] Removing intermediate container 943c67619bab [2020-12-21T05:00:20.070Z] ---> 61a7357cd8c3 [2020-12-21T05:00:20.070Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-21T05:00:20.070Z] ---> Running in 7dfca6cb80f9 [2020-12-21T05:00:20.659Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-21T05:00:22.605Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-21T05:00:25.209Z] OK: 166 MiB in 39 packages [2020-12-21T05:00:25.793Z] Removing intermediate container 7dfca6cb80f9 [2020-12-21T05:00:25.793Z] ---> ac4ca3dc857f [2020-12-21T05:00:25.793Z] Step 8/24 : COPY . . [2020-12-21T05:00:26.761Z] ---> 2ac322208793 [2020-12-21T05:00:26.761Z] Step 9/24 : RUN ${MAKE} [2020-12-21T05:00:26.761Z] ---> Running in 5cf8fe41aabc [2020-12-21T05:00:27.352Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.3.1-dev.10" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-12-21T05:00:29.232Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.142s coverage: 9.4% of statements [2020-12-21T05:00:29.232Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.112s coverage: 21.9% of statements [2020-12-21T05:00:29.232Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-21T05:00:29.232Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.600s coverage: 42.5% of statements [2020-12-21T05:00:29.233Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-21T05:00:29.233Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.761s coverage: 68.9% of statements [2020-12-21T05:00:29.233Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-21T05:00:29.233Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-21T05:00:29.233Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-21T05:00:29.233Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-21T05:00:29.233Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.198s coverage: 53.8% of statements [2020-12-21T05:00:29.233Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-21T05:00:29.233Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-21T05:00:29.233Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-21T05:00:29.233Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.957s coverage: 68.9% of statements [2020-12-21T05:00:29.233Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.143s coverage: 4.2% of statements [2020-12-21T05:00:29.233Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-21T05:00:29.233Z] GO111MODULE=on go vet ./... [2020-12-21T05:00:35.622Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-21T05:00:37.034Z] Removing intermediate container 5cf8fe41aabc [2020-12-21T05:00:37.035Z] ---> 70340f6e1504 [2020-12-21T05:00:37.035Z] Step 10/24 : FROM scratch [2020-12-21T05:00:37.035Z] ---> [2020-12-21T05:00:37.035Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-21T05:00:37.035Z] ---> Running in 820d766c2003 [2020-12-21T05:00:37.297Z] Removing intermediate container 820d766c2003 [2020-12-21T05:00:37.297Z] ---> ae44bb29532a [2020-12-21T05:00:37.297Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-21T05:00:37.297Z] ---> Running in e43bb23c03df [2020-12-21T05:00:37.559Z] Removing intermediate container e43bb23c03df [2020-12-21T05:00:37.559Z] ---> b8bfa6f4a81c [2020-12-21T05:00:37.559Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-21T05:00:37.559Z] ---> Running in cdeb7fc88a77 [2020-12-21T05:00:37.828Z] Removing intermediate container cdeb7fc88a77 [2020-12-21T05:00:37.828Z] ---> d593bb5ea175 [2020-12-21T05:00:37.828Z] Step 14/24 : WORKDIR / [2020-12-21T05:00:37.828Z] ---> Running in e944294cd39b [2020-12-21T05:00:37.828Z] Removing intermediate container e944294cd39b [2020-12-21T05:00:37.828Z] ---> 7ea0a93fa4ae [2020-12-21T05:00:37.828Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-21T05:00:38.407Z] ---> 809cdec6f220 [2020-12-21T05:00:38.407Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-21T05:00:38.671Z] ---> 608280b58f70 [2020-12-21T05:00:38.671Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-21T05:00:38.934Z] ---> b3b3e29b087a [2020-12-21T05:00:38.934Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-21T05:00:39.196Z] ---> 030e0e427b2a [2020-12-21T05:00:39.196Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-21T05:00:39.196Z] ---> 95f93c6fcad3 [2020-12-21T05:00:39.196Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-21T05:00:39.459Z] ---> Running in 783e649cefdf [2020-12-21T05:00:39.459Z] Removing intermediate container 783e649cefdf [2020-12-21T05:00:39.459Z] ---> 26714f007153 [2020-12-21T05:00:39.459Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-21T05:00:39.459Z] ---> Running in 979ca7c5cb29 [2020-12-21T05:00:39.722Z] Removing intermediate container 979ca7c5cb29 [2020-12-21T05:00:39.723Z] ---> 5bb6fe101727 [2020-12-21T05:00:39.723Z] Step 22/24 : LABEL arch=amd64 [2020-12-21T05:00:39.723Z] ---> Running in 59d72c36ae38 [2020-12-21T05:00:39.984Z] Removing intermediate container 59d72c36ae38 [2020-12-21T05:00:39.984Z] ---> a9bfe40a067c [2020-12-21T05:00:39.984Z] Step 23/24 : LABEL git_sha=bb51c8debe42093e5eb42b70cd80c1650e49a210 [2020-12-21T05:00:39.984Z] ---> Running in 5a8078135745 [2020-12-21T05:00:40.254Z] Removing intermediate container 5a8078135745 [2020-12-21T05:00:40.254Z] ---> fb88d451a045 [2020-12-21T05:00:40.254Z] Step 24/24 : LABEL version=1.3.1-dev.10 [2020-12-21T05:00:40.254Z] ---> Running in 4aec412a5b32 [2020-12-21T05:00:40.254Z] Removing intermediate container 4aec412a5b32 [2020-12-21T05:00:40.254Z] ---> 3d536b20c312 [2020-12-21T05:00:40.254Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-21T05:00:40.254Z] Successfully built 3d536b20c312 [2020-12-21T05:00:40.515Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-21T05:01:01.695Z] gofmt -l . [2020-12-21T05:01:01.695Z] [ "`gofmt -l .`" = "" ] [2020-12-21T05:01:01.695Z] ./bin/test-attribution-txt.sh [2020-12-21T05:01:01.695Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-21T05:01:01.724Z] $ docker stop --time=1 78326c09085380f39d183328735f7498d3a91090c958040a848fcd1e9940a279 [2020-12-21T05:01:03.987Z] $ docker rm -f 78326c09085380f39d183328735f7498d3a91090c958040a848fcd1e9940a279 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-21T05:01:06.134Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-21T05:01:06.218Z] Warning: overwriting stash ‘coverage-report’ [2020-12-21T05:01:07.093Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-21T05:01:07.834Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-21T05:01:08.175Z] + ls -al . [2020-12-21T05:01:08.175Z] total 244 [2020-12-21T05:01:08.175Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 21 05:00 . [2020-12-21T05:01:08.175Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 04:57 .. [2020-12-21T05:01:08.175Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 21 04:57 .dockerignore [2020-12-21T05:01:08.175Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 21 04:57 .git [2020-12-21T05:01:08.175Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 21 04:57 .github [2020-12-21T05:01:08.175Z] -rw-rw-r-- 1 jenkins jenkins 138 Dec 21 04:57 .gitignore [2020-12-21T05:01:08.175Z] -rw-rw-r-- 1 jenkins jenkins 936 Dec 21 04:57 Dockerfile.build [2020-12-21T05:01:08.175Z] -rw-rw-r-- 1 jenkins jenkins 901 Dec 21 04:57 Jenkinsfile [2020-12-21T05:01:08.175Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 21 04:57 LICENSE [2020-12-21T05:01:08.175Z] -rw-rw-r-- 1 jenkins jenkins 1013 Dec 21 04:57 Makefile [2020-12-21T05:01:08.175Z] -rw-rw-r-- 1 jenkins jenkins 5897 Dec 21 04:57 README.md [2020-12-21T05:01:08.175Z] -rw-rw-r-- 1 jenkins jenkins 4291 Dec 21 04:57 RELEASE-NOTES.txt [2020-12-21T05:01:08.175Z] -rw-rw-r-- 1 jenkins jenkins 12 Dec 21 04:54 VERSION [2020-12-21T05:01:08.175Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 21 04:57 bin [2020-12-21T05:01:08.175Z] -rw-r--r-- 1 jenkins jenkins 130526 Dec 21 05:00 coverage.out [2020-12-21T05:01:08.175Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 04:57 example [2020-12-21T05:01:08.175Z] -rw-r--r-- 1 jenkins jenkins 488 Dec 21 05:00 go.mod [2020-12-21T05:01:08.175Z] -rw-r--r-- 1 jenkins jenkins 13631 Dec 21 05:00 go.sum [2020-12-21T05:01:08.175Z] drwxrwxr-x 15 jenkins jenkins 4096 Dec 21 04:57 internal [2020-12-21T05:01:08.175Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 04:57 openapi [2020-12-21T05:01:08.175Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 21 04:57 pkg [2020-12-21T05:01:08.175Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 04:57 snap [2020-12-21T05:01:08.176Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 21 04:57 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-21T05:01:08.539Z] + 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=bb51c8debe42093e5eb42b70cd80c1650e49a210 --label arch=arm64 --label version=1.3.1-dev.10 . [2020-12-21T05:01:09.140Z] Sending build context to Docker daemon 2.542MB [2020-12-21T05:01:09.140Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-12-21T05:01:09.140Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-21T05:01:09.140Z] ---> 8f68a7b9d093 [2020-12-21T05:01:09.140Z] Step 3/24 : ARG MAKE='make build' [2020-12-21T05:01:09.414Z] ---> Running in 57665e05e732 [2020-12-21T05:01:09.691Z] Removing intermediate container 57665e05e732 [2020-12-21T05:01:09.691Z] ---> dbd393b26431 [2020-12-21T05:01:09.691Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-21T05:01:09.968Z] ---> Running in 35538fb3619a [2020-12-21T05:01:10.242Z] Removing intermediate container 35538fb3619a [2020-12-21T05:01:10.242Z] ---> 8642fa122403 [2020-12-21T05:01:10.242Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-21T05:01:10.517Z] ---> Running in 9bcd1a49c7f0 [2020-12-21T05:01:11.117Z] Removing intermediate container 9bcd1a49c7f0 [2020-12-21T05:01:11.117Z] ---> 36ba42529759 [2020-12-21T05:01:11.117Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-21T05:01:11.117Z] ---> Running in cd3e2d95db70 [2020-12-21T05:01:13.778Z] Removing intermediate container cd3e2d95db70 [2020-12-21T05:01:13.778Z] ---> 3f5990084672 [2020-12-21T05:01:13.778Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-21T05:01:13.778Z] ---> Running in 8e9bbb0c1178 [2020-12-21T05:01:14.757Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-21T05:01:16.726Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-21T05:01:18.156Z] OK: 142 MiB in 39 packages [2020-12-21T05:01:19.584Z] Removing intermediate container 8e9bbb0c1178 [2020-12-21T05:01:19.584Z] ---> f4d2c388cee1 [2020-12-21T05:01:19.584Z] Step 8/24 : COPY . . [2020-12-21T05:01:21.038Z] ---> 9fc9d8c48071 [2020-12-21T05:01:21.038Z] Step 9/24 : RUN ${MAKE} [2020-12-21T05:01:21.038Z] ---> Running in 0b95766d661e [2020-12-21T05:01:22.021Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.3.1-dev.10" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-12-21T05:01:48.852Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-21T05:01:49.829Z] Removing intermediate container 0b95766d661e [2020-12-21T05:01:49.829Z] ---> 75f58582416f [2020-12-21T05:01:49.829Z] Step 10/24 : FROM scratch [2020-12-21T05:01:49.829Z] ---> [2020-12-21T05:01:49.829Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-21T05:01:49.829Z] ---> Running in bf32fea916b4 [2020-12-21T05:01:50.102Z] Removing intermediate container bf32fea916b4 [2020-12-21T05:01:50.102Z] ---> b9dd5555026a [2020-12-21T05:01:50.102Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-21T05:01:50.102Z] ---> Running in 9a1f9360a714 [2020-12-21T05:01:50.697Z] Removing intermediate container 9a1f9360a714 [2020-12-21T05:01:50.697Z] ---> 59c250231547 [2020-12-21T05:01:50.697Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-21T05:01:50.697Z] ---> Running in 03423b12c821 [2020-12-21T05:01:51.292Z] Removing intermediate container 03423b12c821 [2020-12-21T05:01:51.292Z] ---> 79b5ef6d3567 [2020-12-21T05:01:51.292Z] Step 14/24 : WORKDIR / [2020-12-21T05:01:51.292Z] ---> Running in b76801d2042a [2020-12-21T05:01:51.563Z] Removing intermediate container b76801d2042a [2020-12-21T05:01:51.563Z] ---> 90c667e13cc7 [2020-12-21T05:01:51.563Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-21T05:01:52.992Z] ---> 87cdfc304dac [2020-12-21T05:01:52.992Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-21T05:01:53.586Z] ---> 9513e666b06e [2020-12-21T05:01:53.586Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-21T05:01:54.181Z] ---> 0ce0a276b8c4 [2020-12-21T05:01:54.181Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-21T05:01:54.781Z] ---> dfdd7f9f775c [2020-12-21T05:01:54.781Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-21T05:01:55.757Z] ---> 76ce0fa6474d [2020-12-21T05:01:55.757Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-21T05:01:55.757Z] ---> Running in e1f103df8426 [2020-12-21T05:01:56.029Z] Removing intermediate container e1f103df8426 [2020-12-21T05:01:56.029Z] ---> 0db94b65e9e1 [2020-12-21T05:01:56.029Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-21T05:01:56.302Z] ---> Running in 1f70e1c1a1eb [2020-12-21T05:01:56.894Z] Removing intermediate container 1f70e1c1a1eb [2020-12-21T05:01:56.894Z] ---> 953b68565285 [2020-12-21T05:01:56.894Z] Step 22/24 : LABEL arch=arm64 [2020-12-21T05:01:56.894Z] ---> Running in 8dbc7400ca45 [2020-12-21T05:01:57.165Z] Removing intermediate container 8dbc7400ca45 [2020-12-21T05:01:57.165Z] ---> ba955de54501 [2020-12-21T05:01:57.165Z] Step 23/24 : LABEL git_sha=bb51c8debe42093e5eb42b70cd80c1650e49a210 [2020-12-21T05:01:57.436Z] ---> Running in 0eac4862ad2a [2020-12-21T05:01:58.029Z] Removing intermediate container 0eac4862ad2a [2020-12-21T05:01:58.029Z] ---> 04cfae767333 [2020-12-21T05:01:58.029Z] Step 24/24 : LABEL version=1.3.1-dev.10 [2020-12-21T05:01:58.029Z] ---> Running in 39946e8e9737 [2020-12-21T05:01:58.302Z] Removing intermediate container 39946e8e9737 [2020-12-21T05:01:58.302Z] ---> 73f0f26e680c [2020-12-21T05:01:58.302Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-21T05:01:58.573Z] Successfully built 73f0f26e680c [2020-12-21T05:01:58.573Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-12-21T05:02:00.438Z] provisioning config files... [2020-12-21T05:02:00.448Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config209644970221509141tmp [Pipeline] { [Pipeline] sh [2020-12-21T05:02:00.891Z] + set +x [2020-12-21T05:02:00.891Z] + curl -s https://codecov.io/bash [2020-12-21T05:02:00.891Z] + bash -s -- [2020-12-21T05:02:01.153Z] [2020-12-21T05:02:01.153Z] _____ _ [2020-12-21T05:02:01.153Z] / ____| | | [2020-12-21T05:02:01.153Z] | | ___ __| | ___ ___ _____ __ [2020-12-21T05:02:01.153Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-21T05:02:01.153Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-21T05:02:01.153Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-21T05:02:01.153Z] Bash-20201217-3d3df35 [2020-12-21T05:02:01.153Z] [2020-12-21T05:02:01.153Z] [2020-12-21T05:02:01.153Z] git version 2.24.3 found [2020-12-21T05:02:01.153Z] 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 [2020-12-21T05:02:01.153Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2020-12-21T05:02:01.153Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets found [2020-12-21T05:02:01.153Z] ==> Jenkins CI detected. [2020-12-21T05:02:01.153Z] project root: . [2020-12-21T05:02:01.153Z] --> token set from env [2020-12-21T05:02:01.153Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-21T05:02:01.153Z] ==> Running gcov in . (disable via -X gcov) [2020-12-21T05:02:01.153Z] ==> Python coveragepy not found [2020-12-21T05:02:01.153Z] ==> Searching for coverage reports in: [2020-12-21T05:02:01.153Z] + . [2020-12-21T05:02:01.153Z] -> Found 1 reports [2020-12-21T05:02:01.153Z] ==> Detecting git/mercurial file structure [2020-12-21T05:02:01.153Z] ==> Reading reports [2020-12-21T05:02:01.153Z] + ./coverage.out bytes=130526 [2020-12-21T05:02:01.153Z] ==> Appending adjustments [2020-12-21T05:02:01.153Z] https://docs.codecov.io/docs/fixing-reports [2020-12-21T05:02:01.733Z] + Found adjustments [2020-12-21T05:02:01.733Z] ==> Gzipping contents [2020-12-21T05:02:01.733Z] 24K /tmp/codecov.ehEC0M.gz [2020-12-21T05:02:01.733Z] ==> Uploading reports [2020-12-21T05:02:01.733Z] url: https://codecov.io [2020-12-21T05:02:01.733Z] query: branch=master&commit=bb51c8debe42093e5eb42b70cd80c1650e49a210&build=97&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F97%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-12-21T05:02:01.733Z] -> Pinging Codecov [2020-12-21T05:02:01.733Z] https://codecov.io/upload/v4?package=bash-20201217-3d3df35&token=secret&branch=master&commit=bb51c8debe42093e5eb42b70cd80c1650e49a210&build=97&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F97%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-12-21T05:02:01.995Z] -> Uploading to [2020-12-21T05:02:01.995Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-21/7E55EF52A471D76F132DFD9A03CDDE97/bb51c8debe42093e5eb42b70cd80c1650e49a210/2df23548-430f-441c-a21b-25f22c17073a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201221%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201221T050201Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8f2ba6a7a0eb8182b6906a8abe166653cfb3cfc0aef4ac06fd3584da962d9d17 [2020-12-21T05:02:01.995Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-21T05:02:01.995Z] Dload Upload Total Spent Left Speed [2020-12-21T05:02:02.568Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21271 0 0 100 21271 0 46074 --:--:-- --:--:-- --:--:-- 46140 [2020-12-21T05:02:02.568Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/bb51c8debe42093e5eb42b70cd80c1650e49a210 [Pipeline] } [2020-12-21T05:02:02.577Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2020-12-21T05:02:03.394Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2020-12-21T05:02:03.448Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-21T05:02:03.795Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-21T05:02:03.795Z] [2020-12-21T05:02:03.795Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2020-12-21T05:02:04.149Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-21T05:02:04.149Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2020-12-21T05:02:04.149Z] 188c0c94c7c5: Pulling fs layer [2020-12-21T05:02:04.149Z] 0ef7d3d256c8: Pulling fs layer [2020-12-21T05:02:04.149Z] de9db76c5a1d: Pulling fs layer [2020-12-21T05:02:04.149Z] 0eba1c9be4d2: Pulling fs layer [2020-12-21T05:02:04.149Z] 0d57e429df01: Pulling fs layer [2020-12-21T05:02:04.149Z] 4e4be7b47b0d: Pulling fs layer [2020-12-21T05:02:04.149Z] e1f770b5df2f: Pulling fs layer [2020-12-21T05:02:04.149Z] 85a0685a4137: Pulling fs layer [2020-12-21T05:02:04.149Z] 0d57e429df01: Waiting [2020-12-21T05:02:04.149Z] e1f770b5df2f: Waiting [2020-12-21T05:02:04.149Z] 4e4be7b47b0d: Waiting [2020-12-21T05:02:04.149Z] 85a0685a4137: Waiting [2020-12-21T05:02:04.149Z] 0eba1c9be4d2: Waiting [2020-12-21T05:02:04.149Z] de9db76c5a1d: Verifying Checksum [2020-12-21T05:02:04.149Z] de9db76c5a1d: Download complete [2020-12-21T05:02:04.149Z] 0ef7d3d256c8: Verifying Checksum [2020-12-21T05:02:04.149Z] 0ef7d3d256c8: Download complete [2020-12-21T05:02:04.149Z] 0d57e429df01: Download complete [2020-12-21T05:02:04.412Z] 4e4be7b47b0d: Verifying Checksum [2020-12-21T05:02:04.412Z] 4e4be7b47b0d: Download complete [2020-12-21T05:02:04.412Z] 188c0c94c7c5: Download complete [2020-12-21T05:02:05.006Z] 188c0c94c7c5: Pull complete [2020-12-21T05:02:05.006Z] 0ef7d3d256c8: Pull complete [2020-12-21T05:02:05.267Z] de9db76c5a1d: Pull complete [2020-12-21T05:02:05.842Z] e1f770b5df2f: Verifying Checksum [2020-12-21T05:02:05.842Z] e1f770b5df2f: Download complete [2020-12-21T05:02:08.408Z] 0eba1c9be4d2: Verifying Checksum [2020-12-21T05:02:08.408Z] 0eba1c9be4d2: Download complete [2020-12-21T05:02:09.362Z] 85a0685a4137: Verifying Checksum [2020-12-21T05:02:09.362Z] 85a0685a4137: Download complete [2020-12-21T05:02:14.702Z] 0eba1c9be4d2: Pull complete [2020-12-21T05:02:14.702Z] 0d57e429df01: Pull complete [2020-12-21T05:02:14.702Z] 4e4be7b47b0d: Pull complete [2020-12-21T05:02:16.625Z] e1f770b5df2f: Pull complete [2020-12-21T05:02:24.823Z] 85a0685a4137: Pull complete [2020-12-21T05:02:24.823Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2020-12-21T05:02:24.823Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-21T05:02:24.823Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2020-12-21T05:02:25.024Z] prd-centos7-docker-4c-2g-16989 does not seem to be running inside a container [2020-12-21T05:02:25.080Z] $ 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 [2020-12-21T05:02:26.028Z] $ docker top c87d689f073114c4e37e459bd31eb7a38f2697e5287d835e8617fddbdd62b9dc -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-21T05:02:26.238Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2020-12-21T05:02:26.535Z] + set -o pipefail [2020-12-21T05:02:26.535Z] + snyk monitor '--org=edgex-jenkins' [2020-12-21T05:02:36.561Z] [2020-12-21T05:02:36.562Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... [2020-12-21T05:02:36.562Z] [2020-12-21T05:02:36.562Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/92477659-6480-4e9d-aa08-ad09d4ff0afd [2020-12-21T05:02:36.562Z] [2020-12-21T05:02:36.562Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-12-21T05:02:36.562Z] [2020-12-21T05:02:36.562Z] [2020-12-21T05:02:36.562Z] You have reached your monthly limit of 300 private tests for your edgex-jenkins org. [2020-12-21T05:02:36.562Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2020-12-21T05:02:36.580Z] $ docker stop --time=1 c87d689f073114c4e37e459bd31eb7a38f2697e5287d835e8617fddbdd62b9dc [2020-12-21T05:02:39.309Z] $ docker rm -f c87d689f073114c4e37e459bd31eb7a38f2697e5287d835e8617fddbdd62b9dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2020-12-21T05:02:40.866Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-21T05:02:41.013Z] provisioning config files... [2020-12-21T05:02:41.024Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7806502684947613211tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-21T05:02:41.457Z] --> edgex-publish-swagger.sh [2020-12-21T05:02:41.457Z] === Publish openapi/v1 API === [2020-12-21T05:02:41.457Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2020-12-21T05:02:41.457Z] [publishToSwagger] Publishing API Name [device-sdk] [2020-12-21T05:02:41.457Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-21T05:02:41.457Z] Dload Upload Total Spent Left Speed [2020-12-21T05:02:42.292Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 20188 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20188 0 0 100 20188 0 25108 --:--:-- --:--:-- --:--:-- 25109 [2020-12-21T05:02:42.292Z] [2020-12-21T05:02:42.292Z] [2020-12-21T05:02:42.292Z] === Publish openapi/v2 API === [2020-12-21T05:02:42.292Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2020-12-21T05:02:42.292Z] [publishToSwagger] Publishing API Name [device-sdk] [2020-12-21T05:02:42.292Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-21T05:02:42.292Z] Dload Upload Total Spent Left Speed [2020-12-21T05:02:42.868Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 49274 0 0 100 49274 0 60990 --:--:-- --:--:-- --:--:-- 60982 100 49274 0 0 100 49274 0 60978 --:--:-- --:--:-- --:--:-- 60982 [2020-12-21T05:02:42.877Z] [2020-12-21T05:02:42.877Z] [Pipeline] } [2020-12-21T05:02:42.878Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2020-12-21T05:02:43.757Z] + git log --format=format:%s -1 bb51c8debe42093e5eb42b70cd80c1650e49a210 [Pipeline] isUnix [Pipeline] sh [2020-12-21T05:02:44.065Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T05:02:44.065Z] . [Pipeline] withDockerContainer [2020-12-21T05:02:44.162Z] prd-centos7-docker-4c-2g-16989 does not seem to be running inside a container [2020-12-21T05:02:44.251Z] $ 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 [2020-12-21T05:02:45.105Z] $ docker top 4aae82d478530e35bc633c997372f8883c0a3c86a1c6849f4dd9db77da175a15 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-21T05:02:45.397Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-21T05:02:45.397Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-21T05:02:45.595Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-21T05:02:45.600Z] $ docker exec 4aae82d478530e35bc633c997372f8883c0a3c86a1c6849f4dd9db77da175a15 ssh-agent [2020-12-21T05:02:45.764Z] SSH_AUTH_SOCK=/tmp/ssh-ssZ7VVVetiPf/agent.12 [2020-12-21T05:02:45.764Z] SSH_AGENT_PID=17 [2020-12-21T05:02:45.770Z] Running ssh-add (command line suppressed) [2020-12-21T05:02:45.896Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2655995033219588386.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2655995033219588386.key) [2020-12-21T05:02:45.950Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-21T05:02:46.285Z] + git semver tag [2020-12-21T05:02:46.285Z] # -> Open(): unable to determine branch for HEAD [2020-12-21T05:02:46.285Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-12-21T05:02:46.285Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-12-21T05:02:46.285Z] # $SEMVER_REMOTE_NAME = origin [2020-12-21T05:02:46.285Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-21T05:02:46.285Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-21T05:02:46.285Z] # $SEMVER_BRANCH = master [2020-12-21T05:02:46.285Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-12-21T05:02:46.285Z] # bb51c8debe42093e5eb42b70cd80c1650e49a210 HEAD [2020-12-21T05:02:46.285Z] # -> Force: false [2020-12-21T05:02:46.285Z] # c1db930bf123eeea353378905e599bbb8baec512 refs/tags/v1.3.1-dev.10 [Pipeline] } [2020-12-21T05:02:46.297Z] $ docker exec --env ******** --env ******** 4aae82d478530e35bc633c997372f8883c0a3c86a1c6849f4dd9db77da175a15 ssh-agent -k [2020-12-21T05:02:46.418Z] unset SSH_AUTH_SOCK; [2020-12-21T05:02:46.418Z] unset SSH_AGENT_PID; [2020-12-21T05:02:46.418Z] echo Agent pid 17 killed; [2020-12-21T05:02:46.470Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-21T05:02:46.967Z] + git semver [Pipeline] } [2020-12-21T05:02:46.985Z] $ docker stop --time=1 4aae82d478530e35bc633c997372f8883c0a3c86a1c6849f4dd9db77da175a15 [2020-12-21T05:02:48.326Z] $ docker rm -f 4aae82d478530e35bc633c997372f8883c0a3c86a1c6849f4dd9db77da175a15 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-12-21T05:02:48.955Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-21T05:02:48.955Z] [2020-12-21T05:02:48.955Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-12-21T05:02:49.416Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-21T05:02:49.416Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-12-21T05:02:49.416Z] ab5ef0e58194: Pulling fs layer [2020-12-21T05:02:49.416Z] 9712f1f96733: Pulling fs layer [2020-12-21T05:02:49.416Z] 63f879dbbcfc: Pulling fs layer [2020-12-21T05:02:49.416Z] 0d9ebad4ef96: Pulling fs layer [2020-12-21T05:02:49.416Z] e9a5061849ea: Pulling fs layer [2020-12-21T05:02:49.416Z] d747dcd14b5f: Pulling fs layer [2020-12-21T05:02:49.416Z] 2de7ff778b66: Pulling fs layer [2020-12-21T05:02:49.416Z] e9a5061849ea: Waiting [2020-12-21T05:02:49.416Z] 2de7ff778b66: Waiting [2020-12-21T05:02:49.416Z] d747dcd14b5f: Waiting [2020-12-21T05:02:49.416Z] 0d9ebad4ef96: Waiting [2020-12-21T05:02:49.416Z] 9712f1f96733: Verifying Checksum [2020-12-21T05:02:49.416Z] 9712f1f96733: Download complete [2020-12-21T05:02:51.412Z] 63f879dbbcfc: Verifying Checksum [2020-12-21T05:02:51.412Z] 63f879dbbcfc: Download complete [2020-12-21T05:02:51.412Z] e9a5061849ea: Verifying Checksum [2020-12-21T05:02:51.412Z] e9a5061849ea: Download complete [2020-12-21T05:02:51.412Z] d747dcd14b5f: Verifying Checksum [2020-12-21T05:02:51.412Z] d747dcd14b5f: Download complete [2020-12-21T05:02:51.988Z] 2de7ff778b66: Verifying Checksum [2020-12-21T05:02:51.988Z] 2de7ff778b66: Download complete [2020-12-21T05:02:52.253Z] 0d9ebad4ef96: Verifying Checksum [2020-12-21T05:02:52.253Z] 0d9ebad4ef96: Download complete [2020-12-21T05:02:52.253Z] ab5ef0e58194: Verifying Checksum [2020-12-21T05:02:52.253Z] ab5ef0e58194: Download complete [2020-12-21T05:02:57.589Z] ab5ef0e58194: Pull complete [2020-12-21T05:02:57.589Z] 9712f1f96733: Pull complete [2020-12-21T05:03:00.151Z] 63f879dbbcfc: Pull complete [2020-12-21T05:03:05.470Z] 0d9ebad4ef96: Pull complete [2020-12-21T05:03:07.395Z] e9a5061849ea: Pull complete [2020-12-21T05:03:07.395Z] d747dcd14b5f: Pull complete [2020-12-21T05:03:09.950Z] 2de7ff778b66: Pull complete [2020-12-21T05:03:09.950Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-12-21T05:03:09.950Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-21T05:03:09.950Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-12-21T05:03:10.148Z] prd-centos7-docker-4c-2g-16989 does not seem to be running inside a container [2020-12-21T05:03:10.196Z] $ 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 [2020-12-21T05:03:14.446Z] $ docker top 41681ecc23cdfdd88dbfb41b442103f567c20a8b814da78eca76d6e3621e5a71 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-12-21T05:03:14.753Z] provisioning config files... [2020-12-21T05:03:14.763Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7593548168903719112tmp [2020-12-21T05:03:14.779Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config9122794437641242031tmp [2020-12-21T05:03:14.799Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config162765899804574223tmp [Pipeline] { [Pipeline] echo [2020-12-21T05:03:14.856Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T05:03:15.156Z] ---> sigul-configuration.sh [2020-12-21T05:03:15.156Z] gpg: directory `/root/.gnupg' created [2020-12-21T05:03:15.157Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-12-21T05:03:15.157Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-12-21T05:03:15.157Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-12-21T05:03:15.157Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-12-21T05:03:15.157Z] gpg: CAST5 encrypted data [2020-12-21T05:03:15.420Z] gpg: encrypted with 1 passphrase [2020-12-21T05:03:15.420Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-12-21T05:03:15.720Z] + mkdir /home/jenkins [2020-12-21T05:03:15.720Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-12-21T05:03:16.017Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2020-12-21T05:03:16.028Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T05:03:16.323Z] ---> sigul-install.sh [2020-12-21T05:03:21.631Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-12-21T05:03:21.933Z] + git tag --list [2020-12-21T05:03:21.933Z] 0.7.1 [2020-12-21T05:03:21.933Z] delhi-tag [2020-12-21T05:03:21.933Z] v1.0.0 [2020-12-21T05:03:21.933Z] v1.1.0 [2020-12-21T05:03:21.933Z] v1.1.1 [2020-12-21T05:03:21.933Z] v1.1.2 [2020-12-21T05:03:21.933Z] v1.2.0 [2020-12-21T05:03:21.933Z] v1.2.1 [2020-12-21T05:03:21.933Z] v1.2.2 [2020-12-21T05:03:21.933Z] v1.2.3 [2020-12-21T05:03:21.933Z] v1.2.4-dev.1 [2020-12-21T05:03:21.933Z] v1.2.4-dev.10 [2020-12-21T05:03:21.933Z] v1.2.4-dev.11 [2020-12-21T05:03:21.933Z] v1.2.4-dev.12 [2020-12-21T05:03:21.934Z] v1.2.4-dev.13 [2020-12-21T05:03:21.934Z] v1.2.4-dev.14 [2020-12-21T05:03:21.934Z] v1.2.4-dev.15 [2020-12-21T05:03:21.934Z] v1.2.4-dev.16 [2020-12-21T05:03:21.934Z] v1.2.4-dev.17 [2020-12-21T05:03:21.934Z] v1.2.4-dev.18 [2020-12-21T05:03:21.934Z] v1.2.4-dev.19 [2020-12-21T05:03:21.934Z] v1.2.4-dev.2 [2020-12-21T05:03:21.934Z] v1.2.4-dev.20 [2020-12-21T05:03:21.934Z] v1.2.4-dev.21 [2020-12-21T05:03:21.934Z] v1.2.4-dev.22 [2020-12-21T05:03:21.934Z] v1.2.4-dev.23 [2020-12-21T05:03:21.934Z] v1.2.4-dev.24 [2020-12-21T05:03:21.934Z] v1.2.4-dev.25 [2020-12-21T05:03:21.934Z] v1.2.4-dev.26 [2020-12-21T05:03:21.934Z] v1.2.4-dev.27 [2020-12-21T05:03:21.934Z] v1.2.4-dev.28 [2020-12-21T05:03:21.934Z] v1.2.4-dev.29 [2020-12-21T05:03:21.934Z] v1.2.4-dev.3 [2020-12-21T05:03:21.934Z] v1.2.4-dev.30 [2020-12-21T05:03:21.934Z] v1.2.4-dev.31 [2020-12-21T05:03:21.934Z] v1.2.4-dev.32 [2020-12-21T05:03:21.934Z] v1.2.4-dev.33 [2020-12-21T05:03:21.934Z] v1.2.4-dev.34 [2020-12-21T05:03:21.934Z] v1.2.4-dev.35 [2020-12-21T05:03:21.934Z] v1.2.4-dev.4 [2020-12-21T05:03:21.934Z] v1.2.4-dev.5 [2020-12-21T05:03:21.934Z] v1.2.4-dev.6 [2020-12-21T05:03:21.934Z] v1.2.4-dev.7 [2020-12-21T05:03:21.934Z] v1.2.4-dev.8 [2020-12-21T05:03:21.934Z] v1.2.4-dev.9 [2020-12-21T05:03:21.934Z] v1.3.0 [2020-12-21T05:03:21.934Z] v1.3.1-dev.1 [2020-12-21T05:03:21.934Z] v1.3.1-dev.10 [2020-12-21T05:03:21.934Z] v1.3.1-dev.2 [2020-12-21T05:03:21.934Z] v1.3.1-dev.3 [2020-12-21T05:03:21.934Z] v1.3.1-dev.4 [2020-12-21T05:03:21.934Z] v1.3.1-dev.5 [2020-12-21T05:03:21.934Z] v1.3.1-dev.6 [2020-12-21T05:03:21.934Z] v1.3.1-dev.7 [2020-12-21T05:03:21.934Z] v1.3.1-dev.8 [2020-12-21T05:03:21.934Z] v1.3.1-dev.9 [Pipeline] sh [2020-12-21T05:03:22.239Z] + lftools sign git-tag v1.3.1-dev.10 [2020-12-21T05:03:23.629Z] Signing Git tag with Sigul... [2020-12-21T05:03:23.629Z] Signing v1.3.1-dev.10 [Pipeline] echo [2020-12-21T05:03:24.214Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T05:03:24.512Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-12-21T05:03:24.521Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-12-21T05:03:24.640Z] $ docker stop --time=1 41681ecc23cdfdd88dbfb41b442103f567c20a8b814da78eca76d6e3621e5a71 [2020-12-21T05:03:26.719Z] $ docker rm -f 41681ecc23cdfdd88dbfb41b442103f567c20a8b814da78eca76d6e3621e5a71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-12-21T05:03:27.697Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T05:03:27.697Z] . [Pipeline] withDockerContainer [2020-12-21T05:03:27.797Z] prd-centos7-docker-4c-2g-16989 does not seem to be running inside a container [2020-12-21T05:03:27.842Z] $ 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 [2020-12-21T05:03:28.511Z] $ docker top b180baedcd8306b09b3e904f18d7504f2fe74e0a2d85d7cd6d99da9fe8803875 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-21T05:03:28.816Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-21T05:03:28.817Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-21T05:03:29.046Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-21T05:03:29.051Z] $ docker exec b180baedcd8306b09b3e904f18d7504f2fe74e0a2d85d7cd6d99da9fe8803875 ssh-agent [2020-12-21T05:03:29.270Z] SSH_AUTH_SOCK=/tmp/ssh-uiKftJgI5B7L/agent.11 [2020-12-21T05:03:29.270Z] SSH_AGENT_PID=16 [2020-12-21T05:03:29.277Z] Running ssh-add (command line suppressed) [2020-12-21T05:03:29.409Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8826709654251508592.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8826709654251508592.key) [2020-12-21T05:03:29.463Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-21T05:03:29.803Z] + git semver bump pre [2020-12-21T05:03:29.803Z] # -> Open(): unable to determine branch for HEAD [2020-12-21T05:03:29.803Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-12-21T05:03:29.803Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-12-21T05:03:29.803Z] # $SEMVER_REMOTE_NAME = origin [2020-12-21T05:03:29.803Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-21T05:03:29.803Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-21T05:03:29.803Z] # $SEMVER_BRANCH = master [2020-12-21T05:03:29.803Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-12-21T05:03:29.803Z] 1.3.1-dev.11 [Pipeline] } [2020-12-21T05:03:29.817Z] $ docker exec --env ******** --env ******** b180baedcd8306b09b3e904f18d7504f2fe74e0a2d85d7cd6d99da9fe8803875 ssh-agent -k [2020-12-21T05:03:29.978Z] unset SSH_AUTH_SOCK; [2020-12-21T05:03:29.980Z] unset SSH_AGENT_PID; [2020-12-21T05:03:29.980Z] echo Agent pid 16 killed; [2020-12-21T05:03:30.031Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-21T05:03:30.508Z] + git semver [Pipeline] } [2020-12-21T05:03:30.525Z] $ docker stop --time=1 b180baedcd8306b09b3e904f18d7504f2fe74e0a2d85d7cd6d99da9fe8803875 [2020-12-21T05:03:31.906Z] $ docker rm -f b180baedcd8306b09b3e904f18d7504f2fe74e0a2d85d7cd6d99da9fe8803875 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-12-21T05:03:32.448Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T05:03:32.448Z] . [Pipeline] withDockerContainer [2020-12-21T05:03:32.548Z] prd-centos7-docker-4c-2g-16989 does not seem to be running inside a container [2020-12-21T05:03:32.595Z] $ 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 [2020-12-21T05:03:33.367Z] $ docker top 1c3a1b0e57dfb336820f3b6c40d6d78f35af909811d91ffbf0f51c199d7d1523 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-21T05:03:33.701Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-21T05:03:33.701Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-21T05:03:33.907Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-21T05:03:33.912Z] $ docker exec 1c3a1b0e57dfb336820f3b6c40d6d78f35af909811d91ffbf0f51c199d7d1523 ssh-agent [2020-12-21T05:03:34.087Z] SSH_AUTH_SOCK=/tmp/ssh-6nlcJYmoQ2qe/agent.11 [2020-12-21T05:03:34.087Z] SSH_AGENT_PID=17 [2020-12-21T05:03:34.093Z] Running ssh-add (command line suppressed) [2020-12-21T05:03:34.218Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_340127995322864785.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_340127995322864785.key) [2020-12-21T05:03:34.277Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-21T05:03:34.615Z] + git semver push [2020-12-21T05:03:34.615Z] # -> Open(): unable to determine branch for HEAD [2020-12-21T05:03:34.615Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-12-21T05:03:34.615Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-12-21T05:03:34.615Z] # $SEMVER_REMOTE_NAME = origin [2020-12-21T05:03:34.615Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-21T05:03:34.615Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-21T05:03:34.615Z] # $SEMVER_BRANCH = master [2020-12-21T05:03:34.615Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-12-21T05:03:41.222Z] $ docker exec --env ******** --env ******** 1c3a1b0e57dfb336820f3b6c40d6d78f35af909811d91ffbf0f51c199d7d1523 ssh-agent -k [2020-12-21T05:03:41.348Z] unset SSH_AUTH_SOCK; [2020-12-21T05:03:41.349Z] unset SSH_AGENT_PID; [2020-12-21T05:03:41.349Z] echo Agent pid 17 killed; [2020-12-21T05:03:41.400Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-21T05:03:42.044Z] + git semver [Pipeline] } [2020-12-21T05:03:42.112Z] $ docker stop --time=1 1c3a1b0e57dfb336820f3b6c40d6d78f35af909811d91ffbf0f51c199d7d1523 [2020-12-21T05:03:43.480Z] $ docker rm -f 1c3a1b0e57dfb336820f3b6c40d6d78f35af909811d91ffbf0f51c199d7d1523 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-12-21T05:03:44.972Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T05:03:45.541Z] ---> package-listing.sh [2020-12-21T05:03:45.541Z] ++ facter osfamily [2020-12-21T05:03:45.541Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-21T05:03:45.541Z] + OS_FAMILY=redhat [2020-12-21T05:03:45.541Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-12-21T05:03:45.541Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-21T05:03:45.541Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-21T05:03:45.541Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-21T05:03:45.541Z] + PACKAGES=/tmp/packages_start.txt [2020-12-21T05:03:45.541Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-12-21T05:03:45.541Z] + PACKAGES=/tmp/packages_end.txt [2020-12-21T05:03:45.541Z] + case "${OS_FAMILY}" in [2020-12-21T05:03:45.541Z] + rpm -qa [2020-12-21T05:03:45.541Z] + sort [2020-12-21T05:03:49.761Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-21T05:03:49.761Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-21T05:03:49.761Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-21T05:03:49.761Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-12-21T05:03:49.761Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-12-21T05:03:49.761Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo [2020-12-21T05:03:49.775Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-21T05:03:50.066Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-21T05:03:50.373Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-21T05:03:50.373Z] [2020-12-21T05:03:50.373Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-21T05:03:50.725Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-21T05:03:50.725Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-21T05:03:50.725Z] df20fa9351a1: Pulling fs layer [2020-12-21T05:03:50.725Z] 36b3adc4ff6f: Pulling fs layer [2020-12-21T05:03:50.725Z] 8ad3a11d3b57: Pulling fs layer [2020-12-21T05:03:50.725Z] 46f8f816bc3b: Pulling fs layer [2020-12-21T05:03:50.725Z] 93b61091891f: Pulling fs layer [2020-12-21T05:03:50.725Z] 93b9cdb0e59b: Pulling fs layer [2020-12-21T05:03:50.725Z] 5e14af77c1be: Pulling fs layer [2020-12-21T05:03:50.725Z] 01666e4c0597: Pulling fs layer [2020-12-21T05:03:50.725Z] aa168da1d23b: Pulling fs layer [2020-12-21T05:03:50.725Z] 93b9cdb0e59b: Waiting [2020-12-21T05:03:50.725Z] 5e14af77c1be: Waiting [2020-12-21T05:03:50.725Z] 01666e4c0597: Waiting [2020-12-21T05:03:50.725Z] aa168da1d23b: Waiting [2020-12-21T05:03:50.725Z] 46f8f816bc3b: Waiting [2020-12-21T05:03:50.725Z] 93b61091891f: Waiting [2020-12-21T05:03:50.725Z] 36b3adc4ff6f: Verifying Checksum [2020-12-21T05:03:50.725Z] 36b3adc4ff6f: Download complete [2020-12-21T05:03:50.725Z] 46f8f816bc3b: Verifying Checksum [2020-12-21T05:03:50.725Z] 46f8f816bc3b: Download complete [2020-12-21T05:03:50.725Z] df20fa9351a1: Verifying Checksum [2020-12-21T05:03:50.725Z] 93b9cdb0e59b: Verifying Checksum [2020-12-21T05:03:50.725Z] 93b9cdb0e59b: Download complete [2020-12-21T05:03:50.990Z] 5e14af77c1be: Download complete [2020-12-21T05:03:50.990Z] 93b61091891f: Verifying Checksum [2020-12-21T05:03:50.990Z] 93b61091891f: Download complete [2020-12-21T05:03:50.990Z] 01666e4c0597: Verifying Checksum [2020-12-21T05:03:50.990Z] 01666e4c0597: Download complete [2020-12-21T05:03:50.990Z] 8ad3a11d3b57: Verifying Checksum [2020-12-21T05:03:50.990Z] 8ad3a11d3b57: Download complete [2020-12-21T05:03:51.257Z] df20fa9351a1: Pull complete [2020-12-21T05:03:51.521Z] 36b3adc4ff6f: Pull complete [2020-12-21T05:03:52.913Z] 8ad3a11d3b57: Pull complete [2020-12-21T05:03:52.913Z] aa168da1d23b: Verifying Checksum [2020-12-21T05:03:52.913Z] aa168da1d23b: Download complete [2020-12-21T05:03:53.183Z] 46f8f816bc3b: Pull complete [2020-12-21T05:03:53.444Z] 93b61091891f: Pull complete [2020-12-21T05:03:53.706Z] 93b9cdb0e59b: Pull complete [2020-12-21T05:03:53.706Z] 5e14af77c1be: Pull complete [2020-12-21T05:03:53.970Z] 01666e4c0597: Pull complete [2020-12-21T05:04:00.611Z] aa168da1d23b: Pull complete [2020-12-21T05:04:00.612Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-21T05:04:00.612Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-21T05:04:00.612Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-21T05:04:00.739Z] prd-centos7-docker-4c-2g-16989 does not seem to be running inside a container [2020-12-21T05:04:00.786Z] $ 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 [2020-12-21T05:04:03.930Z] $ docker top 18ac431798e3d6544ec061a1b10ba3655a03e0020ea205e4876b971bc65cf822 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T05:04:04.489Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-21T05:04:04.790Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-21T05:04:05.088Z] + ls /var/log/sa-host [2020-12-21T05:04:05.088Z] + sadf -c /var/log/sa-host/sa21 [2020-12-21T05:04:05.088Z] file_magic: OK [2020-12-21T05:04:05.088Z] HZ: Using current value: 100 [2020-12-21T05:04:05.088Z] file_header: OK [2020-12-21T05:04:05.088Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-21T05:04:05.088Z] Statistics: [2020-12-21T05:04:05.088Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-21T05:04:05.088Z] File successfully converted to sysstat format version 12.2.1 [2020-12-21T05:04:05.088Z] + sadf -c /var/log/sa-host/sa23 [2020-12-21T05:04:05.088Z] file_magic: OK [2020-12-21T05:04:05.088Z] HZ: Using current value: 100 [2020-12-21T05:04:05.088Z] file_header: OK [2020-12-21T05:04:05.088Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-21T05:04:05.088Z] Statistics: [2020-12-21T05:04:05.088Z] Hnuu...uuuununununu... [2020-12-21T05:04:05.088Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-21T05:04:05.323Z] provisioning config files... [2020-12-21T05:04:05.348Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3570608395654529983tmp [Pipeline] { [Pipeline] echo [2020-12-21T05:04:05.437Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T05:04:05.739Z] ---> create-netrc.sh [Pipeline] } [2020-12-21T05:04:05.750Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-21T05:04:05.856Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T05:04:06.157Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-21T05:04:06.168Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T05:04:06.466Z] ---> sudo-logs.sh [2020-12-21T05:04:06.466Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-21T05:04:06.478Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T05:04:06.775Z] ---> job-cost.sh [2020-12-21T05:04:06.775Z] lf-activate-venv: SKIPPING [2020-12-21T05:04:06.775Z] INFO: No Stack... [2020-12-21T05:04:07.722Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-21T05:04:08.296Z] INFO: Archiving Costs [Pipeline] echo [2020-12-21T05:04:08.310Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T05:04:08.607Z] ---> logs-deploy.sh [2020-12-21T05:04:08.607Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/97 [2020-12-21T05:04:08.607Z] INFO: archiving workspace using pattern(s):