Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 34e320ac99befae92f8b4aae2047dc1351ba020b 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 # timeout=10 Commit message: "Merge pull request #301 from ernestojeda/enable-docker-proxy" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-12908 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.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 34e320ac99befae92f8b4aae2047dc1351ba020b (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 34e320ac99befae92f8b4aae2047dc1351ba020b # timeout=10 Commit message: "Merge pull request #652 from hahattan/issue-651" > git rev-list --no-walk 43893dea7cdf8ffe29fac0bba279684163774e51 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-20T04:38:28.623Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-20T04:38:28.978Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-20T04:38:29.097Z] ========================================================= [2020-11-20T04:38:29.097Z] EdgeX Global Pipelines Version Info [2020-11-20T04:38:29.097Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-20T04:38:30.635Z] ------------------- [2020-11-20T04:38:30.635Z] stable info: [2020-11-20T04:38:30.635Z] ------------------- [2020-11-20T04:38:30.635Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-20T04:38:30.635Z] Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [2020-11-20T04:38:30.635Z] Message: update stable to v1.0.167 [2020-11-20T04:38:31.581Z] ------------------- [2020-11-20T04:38:31.581Z] experimental info: [2020-11-20T04:38:31.581Z] ------------------- [2020-11-20T04:38:31.581Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-11-20T04:38:31.581Z] Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [2020-11-20T04:38:31.581Z] Message: update experimental to v1.0.167 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-20T04:38:32.072Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-11-20T04:38:32.186Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-11-20T04:38:32.310Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-20T04:38:32.437Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-20T04:38:32.563Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-20T04:38:32.693Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-20T04:38:32.809Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-20T04:38:32.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-20T04:38:33.025Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-11-20T04:38:33.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-20T04:38:33.277Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-20T04:38:33.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-11-20T04:38:33.565Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-20T04:38:33.674Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-20T04:38:33.781Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-20T04:38:33.900Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-11-20T04:38:34.033Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-20T04:38:34.157Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-20T04:38:34.269Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-20T04:38:34.383Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-11-20T04:38:34.491Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-11-20T04:38:34.605Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-11-20T04:38:34.718Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-20T04:38:34.829Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-20T04:38:34.947Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-20T04:38:35.045Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-11-20T04:38:35.146Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-11-20T04:38:35.248Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-11-20T04:38:35.352Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-11-20T04:38:35.456Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 34e320ac99befae92f8b4aae2047dc1351ba020b [Pipeline] echo [2020-11-20T04:38:35.590Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 34e320a [Pipeline] echo [2020-11-20T04:38:35.763Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-20T04:38:35.955Z] provisioning config files... [2020-11-20T04:38:35.985Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3368324176682359538tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-20T04:38:36.357Z] ---> docker-login.sh [2020-11-20T04:38:36.357Z] nexus3.edgexfoundry.org:10001 [2020-11-20T04:38:36.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-20T04:38:36.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-20T04:38:36.622Z] Configure a credential helper to remove this warning. See [2020-11-20T04:38:36.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-20T04:38:36.622Z] [2020-11-20T04:38:36.622Z] Login Succeeded [2020-11-20T04:38:36.622Z] nexus3.edgexfoundry.org:10002 [2020-11-20T04:38:36.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-20T04:38:36.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-20T04:38:36.888Z] Configure a credential helper to remove this warning. See [2020-11-20T04:38:36.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-20T04:38:36.888Z] [2020-11-20T04:38:36.888Z] Login Succeeded [2020-11-20T04:38:36.888Z] nexus3.edgexfoundry.org:10003 [2020-11-20T04:38:37.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-20T04:38:37.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-20T04:38:37.150Z] Configure a credential helper to remove this warning. See [2020-11-20T04:38:37.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-20T04:38:37.150Z] [2020-11-20T04:38:37.150Z] Login Succeeded [2020-11-20T04:38:37.150Z] nexus3.edgexfoundry.org:10004 [2020-11-20T04:38:37.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-20T04:38:37.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-20T04:38:37.412Z] Configure a credential helper to remove this warning. See [2020-11-20T04:38:37.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-20T04:38:37.412Z] [2020-11-20T04:38:37.412Z] Login Succeeded [2020-11-20T04:38:37.412Z] docker.io [2020-11-20T04:38:37.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-20T04:38:37.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-20T04:38:37.680Z] Configure a credential helper to remove this warning. See [2020-11-20T04:38:37.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-20T04:38:37.680Z] [2020-11-20T04:38:37.680Z] Login Succeeded [2020-11-20T04:38:37.680Z] ---> docker-login.sh ends [Pipeline] } [2020-11-20T04:38:37.691Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-20T04:38:38.496Z] + git log --format=format:%s -1 34e320ac99befae92f8b4aae2047dc1351ba020b [Pipeline] echo [2020-11-20T04:38:38.561Z] GIT_COMMIT: 34e320ac99befae92f8b4aae2047dc1351ba020b, Commit Message: Merge pull request #652 from hahattan/issue-651 [Pipeline] echo [2020-11-20T04:38:38.614Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-20T04:38:39.632Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-20T04:38:39.632Z] [2020-11-20T04:38:39.632Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-20T04:38:39.986Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-20T04:38:39.986Z] latest: Pulling from edgex-devops/git-semver [2020-11-20T04:38:39.986Z] 31603596830f: Pulling fs layer [2020-11-20T04:38:39.986Z] 2a8b12db71e7: Pulling fs layer [2020-11-20T04:38:39.986Z] 6ca5941a6612: Pulling fs layer [2020-11-20T04:38:39.986Z] ecc8261a40a4: Pulling fs layer [2020-11-20T04:38:39.986Z] ecc8261a40a4: Waiting [2020-11-20T04:38:39.986Z] 2a8b12db71e7: Verifying Checksum [2020-11-20T04:38:39.986Z] 2a8b12db71e7: Download complete [2020-11-20T04:38:39.986Z] 31603596830f: Verifying Checksum [2020-11-20T04:38:39.986Z] 31603596830f: Download complete [2020-11-20T04:38:40.248Z] ecc8261a40a4: Verifying Checksum [2020-11-20T04:38:40.248Z] ecc8261a40a4: Download complete [2020-11-20T04:38:40.248Z] 6ca5941a6612: Verifying Checksum [2020-11-20T04:38:40.248Z] 6ca5941a6612: Download complete [2020-11-20T04:38:40.513Z] 31603596830f: Pull complete [2020-11-20T04:38:40.513Z] 2a8b12db71e7: Pull complete [2020-11-20T04:38:41.095Z] 6ca5941a6612: Pull complete [2020-11-20T04:38:41.358Z] ecc8261a40a4: Pull complete [2020-11-20T04:38:41.358Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-20T04:38:41.358Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-20T04:38:41.358Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-20T04:38:41.463Z] prd-centos7-docker-4c-2g-12908 does not seem to be running inside a container [2020-11-20T04:38:41.513Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-20T04:38:43.483Z] $ docker top 40f5dd71f7741dce2c47960f8921c49c4fbee8cf4a00d785dbce378ea3999078 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-20T04:38:43.889Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-20T04:38:43.889Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-20T04:38:44.113Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-20T04:38:44.119Z] $ docker exec 40f5dd71f7741dce2c47960f8921c49c4fbee8cf4a00d785dbce378ea3999078 ssh-agent [2020-11-20T04:38:44.278Z] SSH_AUTH_SOCK=/tmp/ssh-AwIvnvNr3SaC/agent.11 [2020-11-20T04:38:44.278Z] SSH_AGENT_PID=16 [2020-11-20T04:38:44.393Z] Running ssh-add (command line suppressed) [2020-11-20T04:38:44.567Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7756002028831675501.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7756002028831675501.key) [2020-11-20T04:38:44.642Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-20T04:38:44.986Z] + git tag --points-at HEAD [Pipeline] } [2020-11-20T04:38:45.008Z] $ docker exec --env ******** --env ******** 40f5dd71f7741dce2c47960f8921c49c4fbee8cf4a00d785dbce378ea3999078 ssh-agent -k [2020-11-20T04:38:45.114Z] unset SSH_AUTH_SOCK; [2020-11-20T04:38:45.114Z] unset SSH_AGENT_PID; [2020-11-20T04:38:45.114Z] echo Agent pid 16 killed; [2020-11-20T04:38:45.154Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-20T04:38:45.330Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-20T04:38:45.330Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-20T04:38:45.490Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-20T04:38:45.496Z] $ docker exec 40f5dd71f7741dce2c47960f8921c49c4fbee8cf4a00d785dbce378ea3999078 ssh-agent [2020-11-20T04:38:45.644Z] SSH_AUTH_SOCK=/tmp/ssh-uXYAUfEF6waB/agent.45 [2020-11-20T04:38:45.644Z] SSH_AGENT_PID=50 [2020-11-20T04:38:45.651Z] Running ssh-add (command line suppressed) [2020-11-20T04:38:45.769Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4139556999030936466.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4139556999030936466.key) [2020-11-20T04:38:45.814Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-20T04:38:46.159Z] + git semver init [2020-11-20T04:38:46.160Z] # -> Open(): unable to determine branch for HEAD [2020-11-20T04:38:46.160Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-11-20T04:38:46.160Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-11-20T04:38:46.160Z] # $SEMVER_REMOTE_NAME = origin [2020-11-20T04:38:46.160Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-20T04:38:46.160Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-20T04:38:46.160Z] # $SEMVER_BRANCH = master [2020-11-20T04:38:46.160Z] # $SEMVER_TEMP = /tmp/semver-219122628 [2020-11-20T04:38:46.160Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-11-20T04:38:46.734Z] # '/tmp/semver-219122628' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-11-20T04:38:46.734Z] # -> Force: false [2020-11-20T04:38:46.734Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-11-20T04:38:46.750Z] $ docker exec --env ******** --env ******** 40f5dd71f7741dce2c47960f8921c49c4fbee8cf4a00d785dbce378ea3999078 ssh-agent -k [2020-11-20T04:38:46.870Z] unset SSH_AUTH_SOCK; [2020-11-20T04:38:46.870Z] unset SSH_AGENT_PID; [2020-11-20T04:38:46.870Z] echo Agent pid 50 killed; [2020-11-20T04:38:46.912Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-20T04:38:47.422Z] + git semver [Pipeline] } [2020-11-20T04:38:47.443Z] $ docker stop --time=1 40f5dd71f7741dce2c47960f8921c49c4fbee8cf4a00d785dbce378ea3999078 [2020-11-20T04:38:48.929Z] $ docker rm -f 40f5dd71f7741dce2c47960f8921c49c4fbee8cf4a00d785dbce378ea3999078 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-20T04:38:49.406Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-20T04:38:49.800Z] Stashed 1 file(s) [Pipeline] echo [2020-11-20T04:38:49.803Z] [edgeXSemver]: initialized semver on version 1.3.1-dev.1 [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-11-20T04:39:05.465Z] Still waiting to schedule task [2020-11-20T04:39:05.465Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-12908’ [2020-11-20T04:39:05.467Z] Still waiting to schedule task [2020-11-20T04:39:05.467Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-11-20T04:41:50.437Z] Running on prd-centos7-docker-4c-2g-12909 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-11-20T04:41:50.506Z] Running in /w/workspace/device-sdk-go/88 [Pipeline] { [Pipeline] checkout [2020-11-20T04:41:54.405Z] using credential edgex-jenkins-ssh [2020-11-20T04:41:54.467Z] Cloning the remote Git repository [2020-11-20T04:41:54.528Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-11-20T04:41:54.620Z] > git init /w/workspace/device-sdk-go/88 # timeout=10 [2020-11-20T04:41:55.265Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-11-20T04:41:55.266Z] > git --version # timeout=10 [2020-11-20T04:41:55.281Z] > git --version # 'git version 2.16.5' [2020-11-20T04:41:55.282Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-20T04:41:55.322Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-20T04:41:56.497Z] Checking out Revision 34e320ac99befae92f8b4aae2047dc1351ba020b (master) [2020-11-20T04:41:56.063Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-11-20T04:41:56.069Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-20T04:41:56.080Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-11-20T04:41:56.096Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-11-20T04:41:56.097Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-20T04:41:56.101Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-20T04:41:56.509Z] > git config core.sparsecheckout # timeout=10 [2020-11-20T04:41:56.514Z] > git checkout -f 34e320ac99befae92f8b4aae2047dc1351ba020b # timeout=10 [2020-11-20T04:42:00.218Z] Commit message: "Merge pull request #652 from hahattan/issue-651" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-20T04:42:01.846Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-11-20T04:42:02.171Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-11-20T04:42:02.477Z] + sudo service docker restart [2020-11-20T04:42:02.477Z] + true [2020-11-20T04:42:02.477Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-20T04:42:03.943Z] provisioning config files... [2020-11-20T04:42:03.979Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/88@tmp/config1641029711082325736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-20T04:42:04.363Z] ---> docker-login.sh [2020-11-20T04:42:04.364Z] nexus3.edgexfoundry.org:10001 [2020-11-20T04:42:04.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-20T04:42:04.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-20T04:42:04.892Z] Configure a credential helper to remove this warning. See [2020-11-20T04:42:04.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-20T04:42:04.892Z] [2020-11-20T04:42:04.892Z] Login Succeeded [2020-11-20T04:42:04.892Z] nexus3.edgexfoundry.org:10002 [2020-11-20T04:42:04.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-20T04:42:05.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-20T04:42:05.156Z] Configure a credential helper to remove this warning. See [2020-11-20T04:42:05.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-20T04:42:05.156Z] [2020-11-20T04:42:05.156Z] Login Succeeded [2020-11-20T04:42:05.156Z] nexus3.edgexfoundry.org:10003 [2020-11-20T04:42:05.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-20T04:42:05.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-20T04:42:05.156Z] Configure a credential helper to remove this warning. See [2020-11-20T04:42:05.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-20T04:42:05.156Z] [2020-11-20T04:42:05.156Z] Login Succeeded [2020-11-20T04:42:05.156Z] nexus3.edgexfoundry.org:10004 [2020-11-20T04:42:05.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-20T04:42:05.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-20T04:42:05.420Z] Configure a credential helper to remove this warning. See [2020-11-20T04:42:05.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-20T04:42:05.420Z] [2020-11-20T04:42:05.420Z] Login Succeeded [2020-11-20T04:42:05.420Z] docker.io [2020-11-20T04:42:05.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-20T04:42:05.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-20T04:42:05.946Z] Configure a credential helper to remove this warning. See [2020-11-20T04:42:05.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-20T04:42:05.946Z] [2020-11-20T04:42:05.946Z] Login Succeeded [2020-11-20T04:42:05.946Z] ---> docker-login.sh ends [Pipeline] } [2020-11-20T04:42:05.956Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-20T04:42:06.373Z] ========================================================= [2020-11-20T04:42:06.373Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-20T04:42:06.373Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-20T04:42:06.718Z] + 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-11-20T04:42:06.719Z] Sending build context to Docker daemon 2.348MB [2020-11-20T04:42:06.719Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-20T04:42:06.719Z] Step 2/8 : FROM ${BASE} [2020-11-20T04:42:06.980Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-20T04:42:06.980Z] df20fa9351a1: Pulling fs layer [2020-11-20T04:42:06.980Z] ed8968b2872e: Pulling fs layer [2020-11-20T04:42:06.980Z] a92cc7c5fd73: Pulling fs layer [2020-11-20T04:42:06.980Z] e871e8e8d7a9: Pulling fs layer [2020-11-20T04:42:06.980Z] e73272ec9a57: Pulling fs layer [2020-11-20T04:42:06.980Z] 1e910a182e73: Pulling fs layer [2020-11-20T04:42:06.980Z] 4e634b169226: Pulling fs layer [2020-11-20T04:42:06.980Z] e871e8e8d7a9: Waiting [2020-11-20T04:42:06.980Z] e73272ec9a57: Waiting [2020-11-20T04:42:06.980Z] 1e910a182e73: Waiting [2020-11-20T04:42:06.980Z] 4e634b169226: Waiting [2020-11-20T04:42:06.980Z] a92cc7c5fd73: Verifying Checksum [2020-11-20T04:42:06.980Z] a92cc7c5fd73: Download complete [2020-11-20T04:42:06.980Z] ed8968b2872e: Download complete [2020-11-20T04:42:06.980Z] e73272ec9a57: Verifying Checksum [2020-11-20T04:42:06.980Z] e73272ec9a57: Download complete [2020-11-20T04:42:06.980Z] 1e910a182e73: Verifying Checksum [2020-11-20T04:42:06.980Z] 1e910a182e73: Download complete [2020-11-20T04:42:06.980Z] df20fa9351a1: Verifying Checksum [2020-11-20T04:42:06.980Z] df20fa9351a1: Download complete [2020-11-20T04:42:07.243Z] df20fa9351a1: Pull complete [2020-11-20T04:42:07.505Z] ed8968b2872e: Pull complete [2020-11-20T04:42:07.505Z] a92cc7c5fd73: Pull complete [2020-11-20T04:42:09.434Z] 4e634b169226: Verifying Checksum [2020-11-20T04:42:09.434Z] 4e634b169226: Download complete [2020-11-20T04:42:09.699Z] e871e8e8d7a9: Verifying Checksum [2020-11-20T04:42:09.699Z] e871e8e8d7a9: Download complete [2020-11-20T04:42:15.038Z] e871e8e8d7a9: Pull complete [2020-11-20T04:42:15.038Z] e73272ec9a57: Pull complete [2020-11-20T04:42:15.302Z] 1e910a182e73: Pull complete [2020-11-20T04:42:20.630Z] 4e634b169226: Pull complete [2020-11-20T04:42:20.630Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-20T04:42:20.630Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-20T04:42:20.630Z] ---> f7629b54cfaa [2020-11-20T04:42:20.630Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-20T04:42:20.630Z] ---> Running in e72684e870e6 [2020-11-20T04:42:20.630Z] Removing intermediate container e72684e870e6 [2020-11-20T04:42:20.630Z] ---> 41fda80232d9 [2020-11-20T04:42:20.630Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-20T04:42:20.630Z] ---> Running in 258efde8c12f [2020-11-20T04:42:22.031Z] Removing intermediate container 258efde8c12f [2020-11-20T04:42:22.032Z] ---> 6bed529992a2 [2020-11-20T04:42:22.032Z] Step 5/8 : RUN apk add --no-cache make git [2020-11-20T04:42:22.032Z] ---> Running in 7783e09616b2 [2020-11-20T04:42:22.306Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-20T04:42:23.255Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-20T04:42:23.519Z] OK: 166 MiB in 39 packages [2020-11-20T04:42:24.097Z] Removing intermediate container 7783e09616b2 [2020-11-20T04:42:24.097Z] ---> f44336518a10 [2020-11-20T04:42:24.097Z] Step 6/8 : WORKDIR /device-sdk-go [2020-11-20T04:42:24.097Z] ---> Running in e7e6adf022ee [2020-11-20T04:42:24.097Z] Removing intermediate container e7e6adf022ee [2020-11-20T04:42:24.097Z] ---> 6a7b217a79f9 [2020-11-20T04:42:24.097Z] Step 7/8 : COPY . . [2020-11-20T04:42:25.499Z] ---> 584cc9bba179 [2020-11-20T04:42:25.499Z] Step 8/8 : RUN go mod download [2020-11-20T04:42:25.499Z] ---> Running in 8dd521d70790 [2020-11-20T04:42:47.546Z] Removing intermediate container 8dd521d70790 [2020-11-20T04:42:47.546Z] ---> f918aafb88bf [2020-11-20T04:42:47.546Z] Successfully built f918aafb88bf [2020-11-20T04:42:47.546Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-20T04:42:47.864Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-20T04:42:47.864Z] . [Pipeline] withDockerContainer [2020-11-20T04:42:48.108Z] prd-centos7-docker-4c-2g-12909 does not seem to be running inside a container [2020-11-20T04:42:48.199Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/88 -v /w/workspace/device-sdk-go/88:/w/workspace/device-sdk-go/88:rw,z -v /w/workspace/device-sdk-go/88@tmp:/w/workspace/device-sdk-go/88@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-11-20T04:42:49.017Z] $ docker top 839d19bff14e11152c1306e26cba93f070005bb1ab7d1f049e2301f497aadf39 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-20T04:42:49.536Z] + go version [2020-11-20T04:42:49.536Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-20T04:42:49.554Z] $ docker stop --time=1 839d19bff14e11152c1306e26cba93f070005bb1ab7d1f049e2301f497aadf39 [2020-11-20T04:42:50.909Z] $ docker rm -f 839d19bff14e11152c1306e26cba93f070005bb1ab7d1f049e2301f497aadf39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-20T04:42:51.783Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-20T04:42:51.783Z] . [Pipeline] withDockerContainer [2020-11-20T04:42:51.888Z] prd-centos7-docker-4c-2g-12909 does not seem to be running inside a container [2020-11-20T04:42:51.942Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/88 -v /w/workspace/device-sdk-go/88:/w/workspace/device-sdk-go/88:rw,z -v /w/workspace/device-sdk-go/88@tmp:/w/workspace/device-sdk-go/88@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-11-20T04:42:52.557Z] $ docker top 7d47e9e71a858c1f804e12eee8cb78cf6899ae8989859bac2e7c26a45b9e3361 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-20T04:42:53.059Z] + make test [2020-11-20T04:42:53.059Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-11-20T04:43:01.335Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-11-20T04:43:16.454Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-11-20T04:43:16.454Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-11-20T04:43:16.454Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-11-20T04:43:16.454Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.087s coverage: 20.6% of statements [2020-11-20T04:43:18.416Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.443s coverage: 97.1% of statements [2020-11-20T04:43:28.778Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-12910 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-11-20T04:43:28.865Z] Running in /w/workspace/device-sdk-go/88 [Pipeline] { [Pipeline] checkout [2020-11-20T04:43:34.186Z] using credential edgex-jenkins-ssh [2020-11-20T04:43:34.253Z] Cloning the remote Git repository [2020-11-20T04:43:34.358Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-11-20T04:43:34.478Z] > git init /w/workspace/device-sdk-go/88 # timeout=10 [2020-11-20T04:43:34.629Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-11-20T04:43:34.630Z] > git --version # timeout=10 [2020-11-20T04:43:34.651Z] > git --version # 'git version 2.17.1' [2020-11-20T04:43:34.653Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-20T04:43:34.708Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-20T04:43:36.433Z] Checking out Revision 34e320ac99befae92f8b4aae2047dc1351ba020b (master) [2020-11-20T04:43:35.767Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-11-20T04:43:35.797Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-20T04:43:35.833Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-11-20T04:43:35.909Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-11-20T04:43:35.910Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-20T04:43:35.951Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-20T04:43:36.455Z] > git config core.sparsecheckout # timeout=10 [2020-11-20T04:43:36.466Z] > git checkout -f 34e320ac99befae92f8b4aae2047dc1351ba020b # timeout=10 [2020-11-20T04:43:40.705Z] Commit message: "Merge pull request #652 from hahattan/issue-651" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-20T04:43:42.416Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-11-20T04:43:42.835Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-11-20T04:43:43.252Z] + sudo service docker restart [2020-11-20T04:43:43.252Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-20T04:43:45.962Z] provisioning config files... [2020-11-20T04:43:46.002Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/88@tmp/config6752356946831132439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-20T04:43:46.428Z] ---> docker-login.sh [2020-11-20T04:43:46.429Z] nexus3.edgexfoundry.org:10001 [2020-11-20T04:43:47.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-20T04:43:47.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-20T04:43:47.683Z] Configure a credential helper to remove this warning. See [2020-11-20T04:43:47.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-20T04:43:47.683Z] [2020-11-20T04:43:47.683Z] Login Succeeded [2020-11-20T04:43:47.683Z] nexus3.edgexfoundry.org:10002 [2020-11-20T04:43:47.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-20T04:43:48.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-20T04:43:48.232Z] Configure a credential helper to remove this warning. See [2020-11-20T04:43:48.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-20T04:43:48.232Z] [2020-11-20T04:43:48.232Z] Login Succeeded [2020-11-20T04:43:48.232Z] nexus3.edgexfoundry.org:10003 [2020-11-20T04:43:48.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-20T04:43:48.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-20T04:43:48.507Z] Configure a credential helper to remove this warning. See [2020-11-20T04:43:48.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-20T04:43:48.507Z] [2020-11-20T04:43:48.507Z] Login Succeeded [2020-11-20T04:43:48.507Z] nexus3.edgexfoundry.org:10004 [2020-11-20T04:43:49.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-20T04:43:49.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-20T04:43:49.104Z] Configure a credential helper to remove this warning. See [2020-11-20T04:43:49.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-20T04:43:49.104Z] [2020-11-20T04:43:49.104Z] Login Succeeded [2020-11-20T04:43:49.104Z] docker.io [2020-11-20T04:43:49.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-20T04:43:49.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-20T04:43:49.972Z] Configure a credential helper to remove this warning. See [2020-11-20T04:43:49.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-20T04:43:49.972Z] [2020-11-20T04:43:49.972Z] Login Succeeded [2020-11-20T04:43:49.972Z] ---> docker-login.sh ends [Pipeline] } [2020-11-20T04:43:49.990Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2020-11-20T04:43:50.640Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.073s coverage: 9.4% of statements [2020-11-20T04:43:50.640Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.056s coverage: 21.9% of statements [2020-11-20T04:43:50.640Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-11-20T04:43:50.640Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.226s coverage: 42.5% of statements [2020-11-20T04:43:50.640Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-11-20T04:43:50.640Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.309s coverage: 68.9% of statements [2020-11-20T04:43:50.640Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-11-20T04:43:50.640Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-11-20T04:43:50.640Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-11-20T04:43:50.640Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-11-20T04:43:50.640Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.064s coverage: 52.6% of statements [2020-11-20T04:43:50.640Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-11-20T04:43:50.640Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-11-20T04:43:50.640Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-11-20T04:43:50.640Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.421s coverage: 68.9% of statements [2020-11-20T04:43:50.640Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.054s coverage: 4.7% of statements [2020-11-20T04:43:50.640Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-11-20T04:43:50.640Z] GO111MODULE=on go vet ./... [Pipeline] echo [2020-11-20T04:43:50.701Z] ========================================================= [2020-11-20T04:43:50.701Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-20T04:43:50.701Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-20T04:43:51.094Z] + 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-11-20T04:43:51.710Z] Sending build context to Docker daemon 2.348MB [2020-11-20T04:43:51.710Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-20T04:43:51.710Z] Step 2/8 : FROM ${BASE} [2020-11-20T04:43:51.710Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-20T04:43:51.710Z] b538f80385f9: Pulling fs layer [2020-11-20T04:43:51.710Z] 74f711af9a0d: Pulling fs layer [2020-11-20T04:43:51.710Z] 99f96fe45779: Pulling fs layer [2020-11-20T04:43:51.710Z] 8529a6b9a6be: Pulling fs layer [2020-11-20T04:43:51.710Z] 45590311c82a: Pulling fs layer [2020-11-20T04:43:51.710Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-20T04:43:51.710Z] 209524e5b208: Pulling fs layer [2020-11-20T04:43:51.710Z] 45590311c82a: Waiting [2020-11-20T04:43:51.710Z] 69ca0ff8b7b3: Waiting [2020-11-20T04:43:51.710Z] 209524e5b208: Waiting [2020-11-20T04:43:51.710Z] 8529a6b9a6be: Waiting [2020-11-20T04:43:51.710Z] 99f96fe45779: Verifying Checksum [2020-11-20T04:43:51.710Z] 74f711af9a0d: Verifying Checksum [2020-11-20T04:43:51.710Z] 74f711af9a0d: Download complete [2020-11-20T04:43:51.710Z] 99f96fe45779: Download complete [2020-11-20T04:43:51.710Z] 45590311c82a: Download complete [2020-11-20T04:43:51.710Z] 69ca0ff8b7b3: Download complete [2020-11-20T04:43:51.710Z] b538f80385f9: Download complete [2020-11-20T04:43:52.697Z] b538f80385f9: Pull complete [2020-11-20T04:43:52.982Z] 74f711af9a0d: Pull complete [2020-11-20T04:43:53.591Z] 99f96fe45779: Pull complete [2020-11-20T04:43:54.199Z] 209524e5b208: Verifying Checksum [2020-11-20T04:43:54.199Z] 209524e5b208: Download complete [2020-11-20T04:43:55.192Z] 8529a6b9a6be: Verifying Checksum [2020-11-20T04:43:55.192Z] 8529a6b9a6be: Download complete [2020-11-20T04:43:57.344Z] gofmt -l . [2020-11-20T04:43:57.345Z] [ "`gofmt -l .`" = "" ] [2020-11-20T04:43:57.345Z] ./bin/test-attribution-txt.sh [2020-11-20T04:43:58.292Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-20T04:43:58.310Z] $ docker stop --time=1 7d47e9e71a858c1f804e12eee8cb78cf6899ae8989859bac2e7c26a45b9e3361 [2020-11-20T04:44:00.194Z] $ docker rm -f 7d47e9e71a858c1f804e12eee8cb78cf6899ae8989859bac2e7c26a45b9e3361 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-20T04:44:00.887Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-20T04:44:01.227Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-11-20T04:44:03.849Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-20T04:44:04.151Z] + ls -al . [2020-11-20T04:44:04.151Z] total 208 [2020-11-20T04:44:04.151Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 20 04:43 . [2020-11-20T04:44:04.151Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 20 04:41 .. [2020-11-20T04:44:04.151Z] drwxrwxr-x. 2 jenkins jenkins 64 Nov 20 04:41 bin [2020-11-20T04:44:04.151Z] -rw-r--r--. 1 jenkins jenkins 127610 Nov 20 04:43 coverage.out [2020-11-20T04:44:04.151Z] -rw-rw-r--. 1 jenkins jenkins 936 Nov 20 04:41 Dockerfile.build [2020-11-20T04:44:04.151Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 20 04:41 .dockerignore [2020-11-20T04:44:04.151Z] drwxrwxr-x. 4 jenkins jenkins 48 Nov 20 04:41 example [2020-11-20T04:44:04.151Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 20 04:41 .git [2020-11-20T04:44:04.151Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 20 04:41 .github [2020-11-20T04:44:04.151Z] -rw-rw-r--. 1 jenkins jenkins 138 Nov 20 04:41 .gitignore [2020-11-20T04:44:04.151Z] -rw-r--r--. 1 jenkins jenkins 518 Nov 20 04:43 go.mod [2020-11-20T04:44:04.151Z] -rw-r--r--. 1 jenkins jenkins 13436 Nov 20 04:43 go.sum [2020-11-20T04:44:04.151Z] drwxrwxr-x. 15 jenkins jenkins 211 Nov 20 04:41 internal [2020-11-20T04:44:04.151Z] -rw-rw-r--. 1 jenkins jenkins 901 Nov 20 04:41 Jenkinsfile [2020-11-20T04:44:04.151Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 20 04:41 LICENSE [2020-11-20T04:44:04.151Z] -rw-rw-r--. 1 jenkins jenkins 1013 Nov 20 04:41 Makefile [2020-11-20T04:44:04.151Z] drwxrwxr-x. 4 jenkins jenkins 26 Nov 20 04:41 openapi [2020-11-20T04:44:04.151Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 20 04:41 pkg [2020-11-20T04:44:04.151Z] -rw-rw-r--. 1 jenkins jenkins 5897 Nov 20 04:41 README.md [2020-11-20T04:44:04.151Z] -rw-rw-r--. 1 jenkins jenkins 4291 Nov 20 04:41 RELEASE-NOTES.txt [2020-11-20T04:44:04.151Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 20 04:41 snap [2020-11-20T04:44:04.151Z] -rw-rw-r--. 1 jenkins jenkins 11 Nov 20 04:38 VERSION [2020-11-20T04:44:04.151Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 20 04:41 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-20T04:44:04.461Z] + 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=34e320ac99befae92f8b4aae2047dc1351ba020b --label arch=amd64 --label version=1.3.1-dev.1 . [2020-11-20T04:44:04.723Z] Sending build context to Docker daemon 2.476MB [2020-11-20T04:44:04.723Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-11-20T04:44:04.723Z] Step 2/24 : FROM ${BASE} AS builder [2020-11-20T04:44:04.723Z] ---> f918aafb88bf [2020-11-20T04:44:04.723Z] Step 3/24 : ARG MAKE='make build' [2020-11-20T04:44:05.298Z] ---> Running in ca1c99306875 [2020-11-20T04:44:05.298Z] Removing intermediate container ca1c99306875 [2020-11-20T04:44:05.298Z] ---> a6f97e8d9a59 [2020-11-20T04:44:05.298Z] Step 4/24 : WORKDIR /device-sdk-go [2020-11-20T04:44:05.369Z] 8529a6b9a6be: Pull complete [2020-11-20T04:44:05.561Z] ---> Running in 90116623ed8b [2020-11-20T04:44:05.561Z] Removing intermediate container 90116623ed8b [2020-11-20T04:44:05.561Z] ---> 9c84131a2cb6 [2020-11-20T04:44:05.561Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-20T04:44:05.643Z] 45590311c82a: Pull complete [2020-11-20T04:44:05.824Z] ---> Running in 2e840e379a60 [2020-11-20T04:44:05.824Z] Removing intermediate container 2e840e379a60 [2020-11-20T04:44:05.824Z] ---> 3ba52ad24e35 [2020-11-20T04:44:05.824Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-20T04:44:05.824Z] ---> Running in 6cfe411cf426 [2020-11-20T04:44:06.241Z] 69ca0ff8b7b3: Pull complete [2020-11-20T04:44:06.796Z] Removing intermediate container 6cfe411cf426 [2020-11-20T04:44:06.796Z] ---> 65277e9d4d42 [2020-11-20T04:44:06.796Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-11-20T04:44:07.062Z] ---> Running in b40269958243 [2020-11-20T04:44:07.642Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-20T04:44:08.218Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-20T04:44:08.795Z] OK: 166 MiB in 39 packages [2020-11-20T04:44:09.059Z] Removing intermediate container b40269958243 [2020-11-20T04:44:09.059Z] ---> 86c6f89d2ced [2020-11-20T04:44:09.059Z] Step 8/24 : COPY . . [2020-11-20T04:44:09.628Z] 209524e5b208: Pull complete [2020-11-20T04:44:09.628Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-20T04:44:09.629Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-20T04:44:09.629Z] ---> 5bddaf1c2fca [2020-11-20T04:44:09.629Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-20T04:44:10.461Z] ---> 2be112d18b06 [2020-11-20T04:44:10.461Z] Step 9/24 : RUN ${MAKE} [2020-11-20T04:44:10.461Z] ---> Running in d73017d53857 [2020-11-20T04:44:10.729Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.3.1-dev.1" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-11-20T04:44:13.028Z] ---> Running in cb8ed570df9f [2020-11-20T04:44:13.028Z] Removing intermediate container cb8ed570df9f [2020-11-20T04:44:13.028Z] ---> 9e5b5aadc40b [2020-11-20T04:44:13.028Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-20T04:44:13.298Z] ---> Running in 16fe5eeff03b [2020-11-20T04:44:15.917Z] Removing intermediate container 16fe5eeff03b [2020-11-20T04:44:15.917Z] ---> a61fa803d382 [2020-11-20T04:44:15.917Z] Step 5/8 : RUN apk add --no-cache make git [2020-11-20T04:44:15.917Z] ---> Running in 0391028de4f6 [2020-11-20T04:44:17.354Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-20T04:44:17.951Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-20T04:44:18.924Z] OK: 142 MiB in 39 packages [2020-11-20T04:44:19.002Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-11-20T04:44:19.900Z] Removing intermediate container 0391028de4f6 [2020-11-20T04:44:19.900Z] ---> 061049b6aedc [2020-11-20T04:44:19.900Z] Step 6/8 : WORKDIR /device-sdk-go [2020-11-20T04:44:19.900Z] ---> Running in 294cf6c8eb34 [2020-11-20T04:44:20.497Z] Removing intermediate container 294cf6c8eb34 [2020-11-20T04:44:20.497Z] ---> 05d8493d92a6 [2020-11-20T04:44:20.497Z] Step 7/8 : COPY . . [2020-11-20T04:44:21.568Z] Removing intermediate container d73017d53857 [2020-11-20T04:44:21.568Z] ---> 45c50d219da1 [2020-11-20T04:44:21.568Z] Step 10/24 : FROM scratch [2020-11-20T04:44:21.568Z] ---> [2020-11-20T04:44:21.568Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-20T04:44:21.568Z] ---> Running in fd803e53486e [2020-11-20T04:44:21.568Z] Removing intermediate container fd803e53486e [2020-11-20T04:44:21.568Z] ---> c8d25d07f181 [2020-11-20T04:44:21.568Z] Step 12/24 : ENV APP_PORT=49990 [2020-11-20T04:44:21.568Z] ---> Running in 08fe3af32cb3 [2020-11-20T04:44:21.568Z] Removing intermediate container 08fe3af32cb3 [2020-11-20T04:44:21.568Z] ---> 4c169bcc14e2 [2020-11-20T04:44:21.568Z] Step 13/24 : EXPOSE $APP_PORT [2020-11-20T04:44:21.568Z] ---> Running in 7e9fd82212e9 [2020-11-20T04:44:21.831Z] Removing intermediate container 7e9fd82212e9 [2020-11-20T04:44:21.831Z] ---> 4545d9b7cd33 [2020-11-20T04:44:21.831Z] Step 14/24 : WORKDIR / [2020-11-20T04:44:21.831Z] ---> Running in 2d4c903581c1 [2020-11-20T04:44:21.831Z] Removing intermediate container 2d4c903581c1 [2020-11-20T04:44:21.831Z] ---> 0f72aa12c0b9 [2020-11-20T04:44:21.831Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-11-20T04:44:21.932Z] ---> 4c718406c60d [2020-11-20T04:44:21.932Z] Step 8/8 : RUN go mod download [2020-11-20T04:44:21.932Z] ---> Running in c881bf08c5ca [2020-11-20T04:44:22.411Z] ---> c4c300879e27 [2020-11-20T04:44:22.411Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-11-20T04:44:22.674Z] ---> 9932edb18405 [2020-11-20T04:44:22.674Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-11-20T04:44:22.936Z] ---> c1c0b097d76a [2020-11-20T04:44:22.936Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-11-20T04:44:23.199Z] ---> d270185f1eeb [2020-11-20T04:44:23.199Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-11-20T04:44:23.199Z] ---> c8be297387ee [2020-11-20T04:44:23.199Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-11-20T04:44:23.462Z] ---> Running in 653905ea1ab5 [2020-11-20T04:44:23.462Z] Removing intermediate container 653905ea1ab5 [2020-11-20T04:44:23.462Z] ---> d8f85bc76d0b [2020-11-20T04:44:23.462Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-20T04:44:23.724Z] ---> Running in 70ead93f1baa [2020-11-20T04:44:23.724Z] Removing intermediate container 70ead93f1baa [2020-11-20T04:44:23.724Z] ---> 931a21a7e75c [2020-11-20T04:44:23.724Z] Step 22/24 : LABEL arch=amd64 [2020-11-20T04:44:23.724Z] ---> Running in 3a11dfb54802 [2020-11-20T04:44:23.986Z] Removing intermediate container 3a11dfb54802 [2020-11-20T04:44:23.986Z] ---> e1227b0a5cbe [2020-11-20T04:44:23.986Z] Step 23/24 : LABEL git_sha=34e320ac99befae92f8b4aae2047dc1351ba020b [2020-11-20T04:44:23.986Z] ---> Running in 56de685d24cf [2020-11-20T04:44:24.249Z] Removing intermediate container 56de685d24cf [2020-11-20T04:44:24.249Z] ---> 440b93c6c4dc [2020-11-20T04:44:24.249Z] Step 24/24 : LABEL version=1.3.1-dev.1 [2020-11-20T04:44:24.249Z] ---> Running in 842938dfb663 [2020-11-20T04:44:24.511Z] Removing intermediate container 842938dfb663 [2020-11-20T04:44:24.511Z] ---> cad62c8458ae [2020-11-20T04:44:24.511Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-20T04:44:24.511Z] Successfully built cad62c8458ae [2020-11-20T04:44:24.511Z] 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-11-20T04:44:44.129Z] Removing intermediate container c881bf08c5ca [2020-11-20T04:44:44.129Z] ---> aceee7f131e2 [2020-11-20T04:44:44.129Z] Successfully built aceee7f131e2 [2020-11-20T04:44:44.129Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-20T04:44:44.475Z] + docker inspect -f . ci-base-image-arm64 [2020-11-20T04:44:44.475Z] . [Pipeline] withDockerContainer [2020-11-20T04:44:44.757Z] prd-ubuntu18.04-docker-arm64-4c-16g-12910 does not seem to be running inside a container [2020-11-20T04:44:44.852Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/88 -v /w/workspace/device-sdk-go/88:/w/workspace/device-sdk-go/88:rw,z -v /w/workspace/device-sdk-go/88@tmp:/w/workspace/device-sdk-go/88@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-20T04:44:46.692Z] $ docker top e60304d578bfb494a076b1fb79ec4d9042ecb9981fbf0d260ca9355d8edf29d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-20T04:44:48.153Z] + go version [2020-11-20T04:44:48.153Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-20T04:44:48.182Z] $ docker stop --time=1 e60304d578bfb494a076b1fb79ec4d9042ecb9981fbf0d260ca9355d8edf29d1 [2020-11-20T04:44:50.081Z] $ docker rm -f e60304d578bfb494a076b1fb79ec4d9042ecb9981fbf0d260ca9355d8edf29d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-20T04:44:51.225Z] + docker inspect -f . ci-base-image-arm64 [2020-11-20T04:44:51.225Z] . [Pipeline] withDockerContainer [2020-11-20T04:44:51.498Z] prd-ubuntu18.04-docker-arm64-4c-16g-12910 does not seem to be running inside a container [2020-11-20T04:44:51.585Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/88 -v /w/workspace/device-sdk-go/88:/w/workspace/device-sdk-go/88:rw,z -v /w/workspace/device-sdk-go/88@tmp:/w/workspace/device-sdk-go/88@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-20T04:44:53.450Z] $ docker top 66ea22b5a019cd4af4f0d245c1a5b8bd463bbd964fc83dcf98d2e0d52ee81c91 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-20T04:44:54.890Z] + make test [2020-11-20T04:44:54.890Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-11-20T04:45:17.096Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-11-20T04:45:56.154Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-11-20T04:45:56.154Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-11-20T04:45:56.154Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-11-20T04:45:56.154Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.142s coverage: 20.6% of statements [2020-11-20T04:45:59.563Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.152s coverage: 97.1% of statements [2020-11-20T04:46:31.929Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.112s coverage: 9.4% of statements [2020-11-20T04:46:31.929Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.145s coverage: 21.9% of statements [2020-11-20T04:46:31.929Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-11-20T04:46:31.929Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.577s coverage: 42.5% of statements [2020-11-20T04:46:31.929Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-11-20T04:46:31.929Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.716s coverage: 68.9% of statements [2020-11-20T04:46:31.930Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-11-20T04:46:31.930Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-11-20T04:46:31.930Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-11-20T04:46:31.930Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-11-20T04:46:31.930Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.171s coverage: 52.6% of statements [2020-11-20T04:46:31.930Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-11-20T04:46:31.930Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-11-20T04:46:31.930Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-11-20T04:46:31.930Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.969s coverage: 68.9% of statements [2020-11-20T04:46:31.930Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.121s coverage: 4.7% of statements [2020-11-20T04:46:31.930Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-11-20T04:46:31.930Z] GO111MODULE=on go vet ./... [2020-11-20T04:46:58.943Z] gofmt -l . [2020-11-20T04:46:58.943Z] [ "`gofmt -l .`" = "" ] [2020-11-20T04:46:58.943Z] ./bin/test-attribution-txt.sh [2020-11-20T04:46:58.943Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-20T04:46:58.979Z] $ docker stop --time=1 66ea22b5a019cd4af4f0d245c1a5b8bd463bbd964fc83dcf98d2e0d52ee81c91 [2020-11-20T04:47:01.245Z] $ docker rm -f 66ea22b5a019cd4af4f0d245c1a5b8bd463bbd964fc83dcf98d2e0d52ee81c91 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-20T04:47:02.482Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-20T04:47:02.560Z] Warning: overwriting stash ‘coverage-report’ [2020-11-20T04:47:03.358Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-20T04:47:04.123Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-20T04:47:04.466Z] + ls -al . [2020-11-20T04:47:04.466Z] total 244 [2020-11-20T04:47:04.466Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 20 04:46 . [2020-11-20T04:47:04.466Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 20 04:43 .. [2020-11-20T04:47:04.466Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 20 04:43 .dockerignore [2020-11-20T04:47:04.466Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 20 04:43 .git [2020-11-20T04:47:04.466Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 20 04:43 .github [2020-11-20T04:47:04.466Z] -rw-rw-r-- 1 jenkins jenkins 138 Nov 20 04:43 .gitignore [2020-11-20T04:47:04.466Z] -rw-rw-r-- 1 jenkins jenkins 936 Nov 20 04:43 Dockerfile.build [2020-11-20T04:47:04.466Z] -rw-rw-r-- 1 jenkins jenkins 901 Nov 20 04:43 Jenkinsfile [2020-11-20T04:47:04.466Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 20 04:43 LICENSE [2020-11-20T04:47:04.466Z] -rw-rw-r-- 1 jenkins jenkins 1013 Nov 20 04:43 Makefile [2020-11-20T04:47:04.466Z] -rw-rw-r-- 1 jenkins jenkins 5897 Nov 20 04:43 README.md [2020-11-20T04:47:04.466Z] -rw-rw-r-- 1 jenkins jenkins 4291 Nov 20 04:43 RELEASE-NOTES.txt [2020-11-20T04:47:04.466Z] -rw-rw-r-- 1 jenkins jenkins 11 Nov 20 04:38 VERSION [2020-11-20T04:47:04.466Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 20 04:43 bin [2020-11-20T04:47:04.466Z] -rw-r--r-- 1 jenkins jenkins 127610 Nov 20 04:46 coverage.out [2020-11-20T04:47:04.466Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 20 04:43 example [2020-11-20T04:47:04.466Z] -rw-r--r-- 1 jenkins jenkins 518 Nov 20 04:46 go.mod [2020-11-20T04:47:04.467Z] -rw-r--r-- 1 jenkins jenkins 13436 Nov 20 04:46 go.sum [2020-11-20T04:47:04.467Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 20 04:43 internal [2020-11-20T04:47:04.467Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 20 04:43 openapi [2020-11-20T04:47:04.467Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 20 04:43 pkg [2020-11-20T04:47:04.467Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 20 04:43 snap [2020-11-20T04:47:04.467Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 20 04:43 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-20T04:47:04.829Z] + 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=34e320ac99befae92f8b4aae2047dc1351ba020b --label arch=arm64 --label version=1.3.1-dev.1 . [2020-11-20T04:47:05.428Z] Sending build context to Docker daemon 2.477MB [2020-11-20T04:47:05.428Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-11-20T04:47:05.428Z] Step 2/24 : FROM ${BASE} AS builder [2020-11-20T04:47:05.428Z] ---> aceee7f131e2 [2020-11-20T04:47:05.428Z] Step 3/24 : ARG MAKE='make build' [2020-11-20T04:47:05.705Z] ---> Running in ea05ea5964d0 [2020-11-20T04:47:05.980Z] Removing intermediate container ea05ea5964d0 [2020-11-20T04:47:05.980Z] ---> fc161b9d80ff [2020-11-20T04:47:05.980Z] Step 4/24 : WORKDIR /device-sdk-go [2020-11-20T04:47:06.253Z] ---> Running in 77603ee56d05 [2020-11-20T04:47:06.848Z] Removing intermediate container 77603ee56d05 [2020-11-20T04:47:06.849Z] ---> 165b86b528de [2020-11-20T04:47:06.849Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-20T04:47:06.849Z] ---> Running in c2d173a41716 [2020-11-20T04:47:07.445Z] Removing intermediate container c2d173a41716 [2020-11-20T04:47:07.445Z] ---> a8bd3e31f89f [2020-11-20T04:47:07.445Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-20T04:47:07.445Z] ---> Running in bd178c56a165 [2020-11-20T04:47:10.081Z] Removing intermediate container bd178c56a165 [2020-11-20T04:47:10.081Z] ---> 72ff838f6bf1 [2020-11-20T04:47:10.081Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-11-20T04:47:10.081Z] ---> Running in 2b1c1ec42569 [2020-11-20T04:47:11.514Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-20T04:47:12.108Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-20T04:47:12.703Z] OK: 142 MiB in 39 packages [2020-11-20T04:47:13.685Z] Removing intermediate container 2b1c1ec42569 [2020-11-20T04:47:13.685Z] ---> 673c3604ff37 [2020-11-20T04:47:13.685Z] Step 8/24 : COPY . . [2020-11-20T04:47:15.133Z] ---> 774d482a969f [2020-11-20T04:47:15.133Z] Step 9/24 : RUN ${MAKE} [2020-11-20T04:47:15.409Z] ---> Running in 6aeb5a2d4ca5 [2020-11-20T04:47:16.843Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.3.1-dev.1" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-11-20T04:47:43.679Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-11-20T04:47:43.679Z] Removing intermediate container 6aeb5a2d4ca5 [2020-11-20T04:47:43.679Z] ---> cc2df4ca7141 [2020-11-20T04:47:43.679Z] Step 10/24 : FROM scratch [2020-11-20T04:47:43.679Z] ---> [2020-11-20T04:47:43.679Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-20T04:47:43.679Z] ---> Running in 8e4d35641763 [2020-11-20T04:47:43.952Z] Removing intermediate container 8e4d35641763 [2020-11-20T04:47:43.952Z] ---> cbbed2ddfc29 [2020-11-20T04:47:43.952Z] Step 12/24 : ENV APP_PORT=49990 [2020-11-20T04:47:44.225Z] ---> Running in 964bd783bd98 [2020-11-20T04:47:44.498Z] Removing intermediate container 964bd783bd98 [2020-11-20T04:47:44.498Z] ---> 9080cb502998 [2020-11-20T04:47:44.498Z] Step 13/24 : EXPOSE $APP_PORT [2020-11-20T04:47:44.771Z] ---> Running in 437cde005e5a [2020-11-20T04:47:45.043Z] Removing intermediate container 437cde005e5a [2020-11-20T04:47:45.043Z] ---> 5bf649571aca [2020-11-20T04:47:45.043Z] Step 14/24 : WORKDIR / [2020-11-20T04:47:45.316Z] ---> Running in 7953c12ddb43 [2020-11-20T04:47:45.589Z] Removing intermediate container 7953c12ddb43 [2020-11-20T04:47:45.589Z] ---> e89e5209170a [2020-11-20T04:47:45.589Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-11-20T04:47:47.019Z] ---> 01b5ee6799c4 [2020-11-20T04:47:47.019Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-11-20T04:47:47.295Z] ---> d260e8f323a0 [2020-11-20T04:47:47.295Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-11-20T04:47:48.269Z] ---> bab59909000d [2020-11-20T04:47:48.269Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-11-20T04:47:48.866Z] ---> d4199131e5bb [2020-11-20T04:47:48.866Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-11-20T04:47:49.843Z] ---> 4e6aaebfc2c4 [2020-11-20T04:47:49.843Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-11-20T04:47:49.843Z] ---> Running in b2579400a8dd [2020-11-20T04:47:50.116Z] Removing intermediate container b2579400a8dd [2020-11-20T04:47:50.116Z] ---> 9a3868a33866 [2020-11-20T04:47:50.116Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-20T04:47:50.391Z] ---> Running in 5b70bee17b93 [2020-11-20T04:47:50.664Z] Removing intermediate container 5b70bee17b93 [2020-11-20T04:47:50.664Z] ---> 52c836d7c8ab [2020-11-20T04:47:50.664Z] Step 22/24 : LABEL arch=arm64 [2020-11-20T04:47:50.938Z] ---> Running in 2904e6aecc78 [2020-11-20T04:47:51.211Z] Removing intermediate container 2904e6aecc78 [2020-11-20T04:47:51.211Z] ---> c1f3ee012696 [2020-11-20T04:47:51.211Z] Step 23/24 : LABEL git_sha=34e320ac99befae92f8b4aae2047dc1351ba020b [2020-11-20T04:47:51.489Z] ---> Running in f20534a81398 [2020-11-20T04:47:51.764Z] Removing intermediate container f20534a81398 [2020-11-20T04:47:51.764Z] ---> 11896c27831c [2020-11-20T04:47:51.764Z] Step 24/24 : LABEL version=1.3.1-dev.1 [2020-11-20T04:47:52.037Z] ---> Running in dcb15536f0c4 [2020-11-20T04:47:52.309Z] Removing intermediate container dcb15536f0c4 [2020-11-20T04:47:52.309Z] ---> 328778362d9c [2020-11-20T04:47:52.309Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-20T04:47:52.582Z] Successfully built 328778362d9c [2020-11-20T04:47:52.582Z] 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-11-20T04:47:54.783Z] provisioning config files... [2020-11-20T04:47:54.795Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3431997454624712564tmp [Pipeline] { [Pipeline] sh [2020-11-20T04:47:55.197Z] + set +x [2020-11-20T04:47:55.197Z] + curl -s https://codecov.io/bash [2020-11-20T04:47:55.197Z] + bash -s -- [2020-11-20T04:47:55.461Z] [2020-11-20T04:47:55.461Z] _____ _ [2020-11-20T04:47:55.461Z] / ____| | | [2020-11-20T04:47:55.461Z] | | ___ __| | ___ ___ _____ __ [2020-11-20T04:47:55.461Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-20T04:47:55.461Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-20T04:47:55.461Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-20T04:47:55.461Z] Bash-20201116-eea08d9 [2020-11-20T04:47:55.461Z] [2020-11-20T04:47:55.461Z] [2020-11-20T04:47:55.461Z] ==> Jenkins CI detected. [2020-11-20T04:47:55.461Z] project root: . [2020-11-20T04:47:55.461Z] --> token set from env [2020-11-20T04:47:55.461Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-20T04:47:55.461Z] ==> Running gcov in . (disable via -X gcov) [2020-11-20T04:47:55.461Z] ==> Python coveragepy not found [2020-11-20T04:47:55.461Z] ==> Searching for coverage reports in: [2020-11-20T04:47:55.461Z] + . [2020-11-20T04:47:55.461Z] -> Found 1 reports [2020-11-20T04:47:55.461Z] ==> Detecting git/mercurial file structure [2020-11-20T04:47:55.461Z] ==> Reading reports [2020-11-20T04:47:55.461Z] + ./coverage.out bytes=127610 [2020-11-20T04:47:55.461Z] ==> Appending adjustments [2020-11-20T04:47:55.461Z] https://docs.codecov.io/docs/fixing-reports [2020-11-20T04:47:56.037Z] + Found adjustments [2020-11-20T04:47:56.037Z] ==> Gzipping contents [2020-11-20T04:47:56.037Z] ==> Uploading reports [2020-11-20T04:47:56.037Z] url: https://codecov.io [2020-11-20T04:47:56.037Z] query: branch=master&commit=34e320ac99befae92f8b4aae2047dc1351ba020b&build=88&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F88%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-11-20T04:47:56.037Z] -> Pinging Codecov [2020-11-20T04:47:56.037Z] https://codecov.io/upload/v4?package=bash-20201116-eea08d9&token=secret&branch=master&commit=34e320ac99befae92f8b4aae2047dc1351ba020b&build=88&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F88%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-11-20T04:47:56.610Z] -> Uploading to [2020-11-20T04:47:56.610Z] https://storage.googleapis.com/codecov/v4/raw/2020-11-20/7E55EF52A471D76F132DFD9A03CDDE97/34e320ac99befae92f8b4aae2047dc1351ba020b/293072d6-47e4-410e-8efe-98688e511158.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201120%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201120T044756Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d97ab6f673ee22b294480b5bb9c780a8821930511b4e8bcf2bce447b47ed4999 [2020-11-20T04:47:56.610Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-20T04:47:56.610Z] Dload Upload Total Spent Left Speed [2020-11-20T04:47:56.872Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20891 0 0 100 20891 0 49005 --:--:-- --:--:-- --:--:-- 48925 100 20891 0 0 100 20891 0 48988 --:--:-- --:--:-- --:--:-- 48925 [2020-11-20T04:47:56.872Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/34e320ac99befae92f8b4aae2047dc1351ba020b [Pipeline] } [2020-11-20T04:47:56.881Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2020-11-20T04:47:58.122Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2020-11-20T04:47:58.180Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-20T04:47:58.519Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-20T04:47:58.519Z] [2020-11-20T04:47:58.519Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2020-11-20T04:47:58.955Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-20T04:47:58.955Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2020-11-20T04:47:58.955Z] 188c0c94c7c5: Pulling fs layer [2020-11-20T04:47:58.955Z] 0ef7d3d256c8: Pulling fs layer [2020-11-20T04:47:58.955Z] de9db76c5a1d: Pulling fs layer [2020-11-20T04:47:58.955Z] 0eba1c9be4d2: Pulling fs layer [2020-11-20T04:47:58.955Z] 0d57e429df01: Pulling fs layer [2020-11-20T04:47:58.955Z] 4e4be7b47b0d: Pulling fs layer [2020-11-20T04:47:58.955Z] e1f770b5df2f: Pulling fs layer [2020-11-20T04:47:58.955Z] 85a0685a4137: Pulling fs layer [2020-11-20T04:47:58.955Z] 0eba1c9be4d2: Waiting [2020-11-20T04:47:58.955Z] 0d57e429df01: Waiting [2020-11-20T04:47:58.955Z] 4e4be7b47b0d: Waiting [2020-11-20T04:47:58.955Z] 85a0685a4137: Waiting [2020-11-20T04:47:58.955Z] de9db76c5a1d: Verifying Checksum [2020-11-20T04:47:58.955Z] de9db76c5a1d: Download complete [2020-11-20T04:47:58.955Z] 0ef7d3d256c8: Verifying Checksum [2020-11-20T04:47:58.955Z] 0ef7d3d256c8: Download complete [2020-11-20T04:47:58.955Z] 0d57e429df01: Verifying Checksum [2020-11-20T04:47:58.955Z] 0d57e429df01: Download complete [2020-11-20T04:47:58.955Z] 188c0c94c7c5: Download complete [2020-11-20T04:47:58.955Z] 4e4be7b47b0d: Verifying Checksum [2020-11-20T04:47:58.955Z] 4e4be7b47b0d: Download complete [2020-11-20T04:47:59.532Z] 188c0c94c7c5: Pull complete [2020-11-20T04:47:59.532Z] 0ef7d3d256c8: Pull complete [2020-11-20T04:47:59.794Z] de9db76c5a1d: Pull complete [2020-11-20T04:48:01.716Z] e1f770b5df2f: Verifying Checksum [2020-11-20T04:48:01.716Z] e1f770b5df2f: Download complete [2020-11-20T04:48:02.663Z] 0eba1c9be4d2: Verifying Checksum [2020-11-20T04:48:02.663Z] 0eba1c9be4d2: Download complete [2020-11-20T04:48:03.241Z] 85a0685a4137: Verifying Checksum [2020-11-20T04:48:03.241Z] 85a0685a4137: Download complete [2020-11-20T04:48:08.566Z] 0eba1c9be4d2: Pull complete [2020-11-20T04:48:08.566Z] 0d57e429df01: Pull complete [2020-11-20T04:48:08.830Z] 4e4be7b47b0d: Pull complete [2020-11-20T04:48:12.141Z] e1f770b5df2f: Pull complete [2020-11-20T04:48:18.751Z] 85a0685a4137: Pull complete [2020-11-20T04:48:18.751Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2020-11-20T04:48:18.751Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-20T04:48:18.751Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2020-11-20T04:48:18.945Z] prd-centos7-docker-4c-2g-12908 does not seem to be running inside a container [2020-11-20T04:48:18.998Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-11-20T04:48:19.992Z] $ docker top 8df51ed9a1357ae989dd530e1ff0801bd2a2790d9bd307a5e0b4ad001713ddec -eo pid,comm [Pipeline] { [Pipeline] echo [2020-11-20T04:48:20.256Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2020-11-20T04:48:20.545Z] + set -o pipefail [2020-11-20T04:48:20.545Z] + snyk monitor '--org=edgex-jenkins' [2020-11-20T04:48:28.704Z] [2020-11-20T04:48:28.704Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... [2020-11-20T04:48:28.704Z] [2020-11-20T04:48:28.704Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/959faec3-a282-4627-b846-ee948ca67b18 [2020-11-20T04:48:28.704Z] [2020-11-20T04:48:28.704Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-11-20T04:48:28.704Z] [2020-11-20T04:48:28.704Z] [2020-11-20T04:48:28.704Z] You have reached your monthly limit of 300 private tests for your edgex-jenkins org. [2020-11-20T04:48:28.704Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2020-11-20T04:48:28.722Z] $ docker stop --time=1 8df51ed9a1357ae989dd530e1ff0801bd2a2790d9bd307a5e0b4ad001713ddec [2020-11-20T04:48:31.929Z] $ docker rm -f 8df51ed9a1357ae989dd530e1ff0801bd2a2790d9bd307a5e0b4ad001713ddec [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-11-20T04:48:33.660Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-20T04:48:33.722Z] provisioning config files... [2020-11-20T04:48:33.730Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config365301557185287143tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-20T04:48:34.117Z] --> edgex-publish-swagger.sh [2020-11-20T04:48:34.117Z] === Publish openapi/v1 API === [2020-11-20T04:48:34.117Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2020-11-20T04:48:34.117Z] [publishToSwagger] Publishing API Name [device-sdk] [2020-11-20T04:48:34.117Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-20T04:48:34.117Z] Dload Upload Total Spent Left Speed [2020-11-20T04:48:34.689Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20188 0 0 100 20188 0 29364 --:--:-- --:--:-- --:--:-- 29428 [2020-11-20T04:48:34.689Z] [2020-11-20T04:48:34.689Z] [2020-11-20T04:48:34.689Z] === Publish openapi/v2 API === [2020-11-20T04:48:34.689Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2020-11-20T04:48:34.689Z] [publishToSwagger] Publishing API Name [device-sdk] [2020-11-20T04:48:34.689Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-20T04:48:34.689Z] Dload Upload Total Spent Left Speed [2020-11-20T04:48:35.529Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 49274 0 0 100 49274 0 55463 --:--:-- --:--:-- --:--:-- 55426 [2020-11-20T04:48:35.529Z] [2020-11-20T04:48:35.529Z] [Pipeline] } [2020-11-20T04:48:35.538Z] 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-11-20T04:48:36.457Z] + git log --format=format:%s -1 34e320ac99befae92f8b4aae2047dc1351ba020b [Pipeline] isUnix [Pipeline] sh [2020-11-20T04:48:36.776Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-20T04:48:36.776Z] . [Pipeline] withDockerContainer [2020-11-20T04:48:36.873Z] prd-centos7-docker-4c-2g-12908 does not seem to be running inside a container [2020-11-20T04:48:36.924Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-20T04:48:37.597Z] $ docker top 2892ccdbf8e58cf7809095439b3be407b2fa61e8ee8174152f51ce0a72e68c5b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-20T04:48:37.891Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-20T04:48:37.891Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-20T04:48:38.085Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-20T04:48:38.090Z] $ docker exec 2892ccdbf8e58cf7809095439b3be407b2fa61e8ee8174152f51ce0a72e68c5b ssh-agent [2020-11-20T04:48:38.242Z] SSH_AUTH_SOCK=/tmp/ssh-m8mhH8Kr3Vpk/agent.12 [2020-11-20T04:48:38.242Z] SSH_AGENT_PID=18 [2020-11-20T04:48:38.248Z] Running ssh-add (command line suppressed) [2020-11-20T04:48:38.384Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3191133159208533611.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3191133159208533611.key) [2020-11-20T04:48:38.434Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-20T04:48:38.775Z] + git semver tag [2020-11-20T04:48:38.775Z] # -> Open(): unable to determine branch for HEAD [2020-11-20T04:48:38.775Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-11-20T04:48:38.775Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-11-20T04:48:38.775Z] # $SEMVER_REMOTE_NAME = origin [2020-11-20T04:48:38.775Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-20T04:48:38.775Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-20T04:48:38.775Z] # $SEMVER_BRANCH = master [2020-11-20T04:48:38.775Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-11-20T04:48:38.775Z] # 34e320ac99befae92f8b4aae2047dc1351ba020b HEAD [2020-11-20T04:48:38.775Z] # -> Force: false [2020-11-20T04:48:38.775Z] # f7ad3aa8f61cb1237af134ea10dc4fddff914d3d refs/tags/v1.3.1-dev.1 [Pipeline] } [2020-11-20T04:48:38.790Z] $ docker exec --env ******** --env ******** 2892ccdbf8e58cf7809095439b3be407b2fa61e8ee8174152f51ce0a72e68c5b ssh-agent -k [2020-11-20T04:48:38.901Z] unset SSH_AUTH_SOCK; [2020-11-20T04:48:38.902Z] unset SSH_AGENT_PID; [2020-11-20T04:48:38.902Z] echo Agent pid 18 killed; [2020-11-20T04:48:38.944Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-20T04:48:39.433Z] + git semver [Pipeline] } [2020-11-20T04:48:39.454Z] $ docker stop --time=1 2892ccdbf8e58cf7809095439b3be407b2fa61e8ee8174152f51ce0a72e68c5b [2020-11-20T04:48:40.792Z] $ docker rm -f 2892ccdbf8e58cf7809095439b3be407b2fa61e8ee8174152f51ce0a72e68c5b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-11-20T04:48:41.418Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-20T04:48:41.418Z] [2020-11-20T04:48:41.418Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-11-20T04:48:41.772Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-20T04:48:41.772Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-11-20T04:48:41.772Z] ab5ef0e58194: Pulling fs layer [2020-11-20T04:48:41.772Z] 9712f1f96733: Pulling fs layer [2020-11-20T04:48:41.772Z] 63f879dbbcfc: Pulling fs layer [2020-11-20T04:48:41.772Z] 0d9ebad4ef96: Pulling fs layer [2020-11-20T04:48:41.772Z] e9a5061849ea: Pulling fs layer [2020-11-20T04:48:41.772Z] d747dcd14b5f: Pulling fs layer [2020-11-20T04:48:41.772Z] 2de7ff778b66: Pulling fs layer [2020-11-20T04:48:41.772Z] e9a5061849ea: Waiting [2020-11-20T04:48:41.772Z] d747dcd14b5f: Waiting [2020-11-20T04:48:41.772Z] 2de7ff778b66: Waiting [2020-11-20T04:48:41.772Z] 0d9ebad4ef96: Waiting [2020-11-20T04:48:41.772Z] 9712f1f96733: Verifying Checksum [2020-11-20T04:48:41.772Z] 9712f1f96733: Download complete [2020-11-20T04:48:43.704Z] 63f879dbbcfc: Verifying Checksum [2020-11-20T04:48:43.704Z] 63f879dbbcfc: Download complete [2020-11-20T04:48:43.704Z] e9a5061849ea: Verifying Checksum [2020-11-20T04:48:43.704Z] e9a5061849ea: Download complete [2020-11-20T04:48:43.704Z] d747dcd14b5f: Verifying Checksum [2020-11-20T04:48:43.704Z] d747dcd14b5f: Download complete [2020-11-20T04:48:43.969Z] 2de7ff778b66: Verifying Checksum [2020-11-20T04:48:43.969Z] 2de7ff778b66: Download complete [2020-11-20T04:48:43.969Z] ab5ef0e58194: Verifying Checksum [2020-11-20T04:48:43.969Z] ab5ef0e58194: Download complete [2020-11-20T04:48:44.235Z] 0d9ebad4ef96: Verifying Checksum [2020-11-20T04:48:44.235Z] 0d9ebad4ef96: Download complete [2020-11-20T04:48:47.563Z] ab5ef0e58194: Pull complete [2020-11-20T04:48:47.563Z] 9712f1f96733: Pull complete [2020-11-20T04:48:50.885Z] 63f879dbbcfc: Pull complete [2020-11-20T04:48:57.623Z] 0d9ebad4ef96: Pull complete [2020-11-20T04:48:57.624Z] e9a5061849ea: Pull complete [2020-11-20T04:48:57.624Z] d747dcd14b5f: Pull complete [2020-11-20T04:49:01.856Z] 2de7ff778b66: Pull complete [2020-11-20T04:49:01.856Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-11-20T04:49:01.856Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-20T04:49:01.856Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-11-20T04:49:02.073Z] prd-centos7-docker-4c-2g-12908 does not seem to be running inside a container [2020-11-20T04:49:02.125Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-11-20T04:49:05.546Z] $ docker top 8bc976704bac5806b7a7c9cbbb78584f2e5aabdffd63d44e0a72e10a69a00bf8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-11-20T04:49:05.865Z] provisioning config files... [2020-11-20T04:49:05.876Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4685226647533864520tmp [2020-11-20T04:49:05.894Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6237442217971748413tmp [2020-11-20T04:49:05.908Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3735641528567714658tmp [Pipeline] { [Pipeline] echo [2020-11-20T04:49:05.975Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-20T04:49:06.275Z] ---> sigul-configuration.sh [2020-11-20T04:49:06.275Z] gpg: directory `/root/.gnupg' created [2020-11-20T04:49:06.275Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-11-20T04:49:06.275Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-11-20T04:49:06.275Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-11-20T04:49:06.275Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-11-20T04:49:06.275Z] gpg: CAST5 encrypted data [2020-11-20T04:49:06.536Z] gpg: encrypted with 1 passphrase [2020-11-20T04:49:06.536Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-11-20T04:49:06.840Z] + mkdir /home/jenkins [2020-11-20T04:49:06.840Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-11-20T04:49:07.146Z] + 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-11-20T04:49:07.159Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-20T04:49:07.466Z] ---> sigul-install.sh [2020-11-20T04:49:12.795Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-11-20T04:49:13.102Z] + git tag --list [2020-11-20T04:49:13.102Z] 0.7.1 [2020-11-20T04:49:13.102Z] delhi-tag [2020-11-20T04:49:13.102Z] v1.0.0 [2020-11-20T04:49:13.102Z] v1.1.0 [2020-11-20T04:49:13.102Z] v1.1.1 [2020-11-20T04:49:13.102Z] v1.1.2 [2020-11-20T04:49:13.102Z] v1.2.0 [2020-11-20T04:49:13.102Z] v1.2.1 [2020-11-20T04:49:13.102Z] v1.2.2 [2020-11-20T04:49:13.102Z] v1.2.3 [2020-11-20T04:49:13.102Z] v1.2.4-dev.1 [2020-11-20T04:49:13.102Z] v1.2.4-dev.10 [2020-11-20T04:49:13.102Z] v1.2.4-dev.11 [2020-11-20T04:49:13.102Z] v1.2.4-dev.12 [2020-11-20T04:49:13.102Z] v1.2.4-dev.13 [2020-11-20T04:49:13.102Z] v1.2.4-dev.14 [2020-11-20T04:49:13.102Z] v1.2.4-dev.15 [2020-11-20T04:49:13.102Z] v1.2.4-dev.16 [2020-11-20T04:49:13.102Z] v1.2.4-dev.17 [2020-11-20T04:49:13.102Z] v1.2.4-dev.18 [2020-11-20T04:49:13.102Z] v1.2.4-dev.19 [2020-11-20T04:49:13.102Z] v1.2.4-dev.2 [2020-11-20T04:49:13.102Z] v1.2.4-dev.20 [2020-11-20T04:49:13.102Z] v1.2.4-dev.21 [2020-11-20T04:49:13.102Z] v1.2.4-dev.22 [2020-11-20T04:49:13.102Z] v1.2.4-dev.23 [2020-11-20T04:49:13.102Z] v1.2.4-dev.24 [2020-11-20T04:49:13.102Z] v1.2.4-dev.25 [2020-11-20T04:49:13.102Z] v1.2.4-dev.26 [2020-11-20T04:49:13.102Z] v1.2.4-dev.27 [2020-11-20T04:49:13.102Z] v1.2.4-dev.28 [2020-11-20T04:49:13.102Z] v1.2.4-dev.29 [2020-11-20T04:49:13.102Z] v1.2.4-dev.3 [2020-11-20T04:49:13.102Z] v1.2.4-dev.30 [2020-11-20T04:49:13.102Z] v1.2.4-dev.31 [2020-11-20T04:49:13.102Z] v1.2.4-dev.32 [2020-11-20T04:49:13.102Z] v1.2.4-dev.33 [2020-11-20T04:49:13.102Z] v1.2.4-dev.34 [2020-11-20T04:49:13.102Z] v1.2.4-dev.35 [2020-11-20T04:49:13.102Z] v1.2.4-dev.4 [2020-11-20T04:49:13.102Z] v1.2.4-dev.5 [2020-11-20T04:49:13.102Z] v1.2.4-dev.6 [2020-11-20T04:49:13.102Z] v1.2.4-dev.7 [2020-11-20T04:49:13.102Z] v1.2.4-dev.8 [2020-11-20T04:49:13.102Z] v1.2.4-dev.9 [2020-11-20T04:49:13.102Z] v1.3.0 [2020-11-20T04:49:13.102Z] v1.3.1-dev.1 [Pipeline] sh [2020-11-20T04:49:13.401Z] + lftools sign git-tag v1.3.1-dev.1 [2020-11-20T04:49:14.350Z] Signing Git tag with Sigul... [2020-11-20T04:49:14.350Z] Signing v1.3.1-dev.1 [Pipeline] echo [2020-11-20T04:49:15.752Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-20T04:49:16.048Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-11-20T04:49:16.058Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-11-20T04:49:16.180Z] $ docker stop --time=1 8bc976704bac5806b7a7c9cbbb78584f2e5aabdffd63d44e0a72e10a69a00bf8 [2020-11-20T04:49:18.010Z] $ docker rm -f 8bc976704bac5806b7a7c9cbbb78584f2e5aabdffd63d44e0a72e10a69a00bf8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-11-20T04:49:19.051Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-20T04:49:19.052Z] . [Pipeline] withDockerContainer [2020-11-20T04:49:19.142Z] prd-centos7-docker-4c-2g-12908 does not seem to be running inside a container [2020-11-20T04:49:19.188Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-20T04:49:19.865Z] $ docker top e3c56f0041d79835bbaad722d79166ab295d41e10ad50533d4360d57bcda2ea6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-20T04:49:20.314Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-20T04:49:20.314Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-20T04:49:20.499Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-20T04:49:20.505Z] $ docker exec e3c56f0041d79835bbaad722d79166ab295d41e10ad50533d4360d57bcda2ea6 ssh-agent [2020-11-20T04:49:20.678Z] SSH_AUTH_SOCK=/tmp/ssh-gGbAUJA8GjUP/agent.11 [2020-11-20T04:49:20.678Z] SSH_AGENT_PID=16 [2020-11-20T04:49:20.685Z] Running ssh-add (command line suppressed) [2020-11-20T04:49:20.807Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6232793830082862209.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6232793830082862209.key) [2020-11-20T04:49:20.854Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-20T04:49:21.199Z] + git semver bump pre [2020-11-20T04:49:21.199Z] # -> Open(): unable to determine branch for HEAD [2020-11-20T04:49:21.199Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-11-20T04:49:21.199Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-11-20T04:49:21.199Z] # $SEMVER_REMOTE_NAME = origin [2020-11-20T04:49:21.199Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-20T04:49:21.199Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-20T04:49:21.199Z] # $SEMVER_BRANCH = master [2020-11-20T04:49:21.199Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-11-20T04:49:21.199Z] 1.3.1-dev.2 [Pipeline] } [2020-11-20T04:49:21.213Z] $ docker exec --env ******** --env ******** e3c56f0041d79835bbaad722d79166ab295d41e10ad50533d4360d57bcda2ea6 ssh-agent -k [2020-11-20T04:49:21.342Z] unset SSH_AUTH_SOCK; [2020-11-20T04:49:21.342Z] unset SSH_AGENT_PID; [2020-11-20T04:49:21.343Z] echo Agent pid 16 killed; [2020-11-20T04:49:21.390Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-20T04:49:21.962Z] + git semver [Pipeline] } [2020-11-20T04:49:21.984Z] $ docker stop --time=1 e3c56f0041d79835bbaad722d79166ab295d41e10ad50533d4360d57bcda2ea6 [2020-11-20T04:49:23.370Z] $ docker rm -f e3c56f0041d79835bbaad722d79166ab295d41e10ad50533d4360d57bcda2ea6 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-11-20T04:49:24.052Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-20T04:49:24.053Z] . [Pipeline] withDockerContainer [2020-11-20T04:49:24.154Z] prd-centos7-docker-4c-2g-12908 does not seem to be running inside a container [2020-11-20T04:49:24.196Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-20T04:49:24.890Z] $ docker top f207db2a531092a0a5a3ff4628b747b1560212e8ba409356a375a86c7062c7f5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-20T04:49:25.259Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-20T04:49:25.259Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-20T04:49:25.467Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-20T04:49:25.473Z] $ docker exec f207db2a531092a0a5a3ff4628b747b1560212e8ba409356a375a86c7062c7f5 ssh-agent [2020-11-20T04:49:25.640Z] SSH_AUTH_SOCK=/tmp/ssh-Mz3Ivl8sqCAW/agent.11 [2020-11-20T04:49:25.640Z] SSH_AGENT_PID=16 [2020-11-20T04:49:25.649Z] Running ssh-add (command line suppressed) [2020-11-20T04:49:25.771Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_621505394826289309.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_621505394826289309.key) [2020-11-20T04:49:25.832Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-20T04:49:26.231Z] + git semver push [2020-11-20T04:49:26.231Z] # -> Open(): unable to determine branch for HEAD [2020-11-20T04:49:26.231Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-11-20T04:49:26.231Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-11-20T04:49:26.231Z] # $SEMVER_REMOTE_NAME = origin [2020-11-20T04:49:26.231Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-20T04:49:26.231Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-20T04:49:26.231Z] # $SEMVER_BRANCH = master [2020-11-20T04:49:26.231Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-11-20T04:49:32.851Z] $ docker exec --env ******** --env ******** f207db2a531092a0a5a3ff4628b747b1560212e8ba409356a375a86c7062c7f5 ssh-agent -k [2020-11-20T04:49:32.971Z] unset SSH_AUTH_SOCK; [2020-11-20T04:49:32.973Z] unset SSH_AGENT_PID; [2020-11-20T04:49:32.973Z] echo Agent pid 16 killed; [2020-11-20T04:49:33.015Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-20T04:49:33.586Z] + git semver [Pipeline] } [2020-11-20T04:49:33.605Z] $ docker stop --time=1 f207db2a531092a0a5a3ff4628b747b1560212e8ba409356a375a86c7062c7f5 [2020-11-20T04:49:34.945Z] $ docker rm -f f207db2a531092a0a5a3ff4628b747b1560212e8ba409356a375a86c7062c7f5 [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-11-20T04:49:36.767Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-20T04:49:37.338Z] ---> package-listing.sh [2020-11-20T04:49:37.338Z] ++ facter osfamily [2020-11-20T04:49:37.338Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-20T04:49:37.338Z] + OS_FAMILY=redhat [2020-11-20T04:49:37.338Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-11-20T04:49:37.338Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-20T04:49:37.338Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-20T04:49:37.338Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-20T04:49:37.338Z] + PACKAGES=/tmp/packages_start.txt [2020-11-20T04:49:37.338Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-11-20T04:49:37.338Z] + PACKAGES=/tmp/packages_end.txt [2020-11-20T04:49:37.338Z] + case "${OS_FAMILY}" in [2020-11-20T04:49:37.338Z] + rpm -qa [2020-11-20T04:49:37.338Z] + sort [2020-11-20T04:49:41.655Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-20T04:49:41.655Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-20T04:49:41.655Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-20T04:49:41.655Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-11-20T04:49:41.655Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-11-20T04:49:41.655Z] + 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-11-20T04:49:41.671Z] 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-11-20T04:49:41.964Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-20T04:49:42.278Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-20T04:49:42.278Z] [2020-11-20T04:49:42.278Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-20T04:49:42.676Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-20T04:49:42.676Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-20T04:49:42.676Z] df20fa9351a1: Pulling fs layer [2020-11-20T04:49:42.676Z] 36b3adc4ff6f: Pulling fs layer [2020-11-20T04:49:42.676Z] 8ad3a11d3b57: Pulling fs layer [2020-11-20T04:49:42.676Z] 46f8f816bc3b: Pulling fs layer [2020-11-20T04:49:42.676Z] 93b61091891f: Pulling fs layer [2020-11-20T04:49:42.676Z] 93b9cdb0e59b: Pulling fs layer [2020-11-20T04:49:42.676Z] 5e14af77c1be: Pulling fs layer [2020-11-20T04:49:42.676Z] 01666e4c0597: Pulling fs layer [2020-11-20T04:49:42.676Z] aa168da1d23b: Pulling fs layer [2020-11-20T04:49:42.676Z] 93b9cdb0e59b: Waiting [2020-11-20T04:49:42.676Z] 01666e4c0597: Waiting [2020-11-20T04:49:42.676Z] aa168da1d23b: Waiting [2020-11-20T04:49:42.676Z] 5e14af77c1be: Waiting [2020-11-20T04:49:42.676Z] 46f8f816bc3b: Waiting [2020-11-20T04:49:42.676Z] 93b61091891f: Waiting [2020-11-20T04:49:42.676Z] 36b3adc4ff6f: Verifying Checksum [2020-11-20T04:49:42.676Z] 36b3adc4ff6f: Download complete [2020-11-20T04:49:42.676Z] 46f8f816bc3b: Verifying Checksum [2020-11-20T04:49:42.676Z] 46f8f816bc3b: Download complete [2020-11-20T04:49:42.676Z] df20fa9351a1: Verifying Checksum [2020-11-20T04:49:42.676Z] df20fa9351a1: Download complete [2020-11-20T04:49:42.945Z] 93b9cdb0e59b: Verifying Checksum [2020-11-20T04:49:42.945Z] 93b9cdb0e59b: Download complete [2020-11-20T04:49:42.945Z] 5e14af77c1be: Verifying Checksum [2020-11-20T04:49:42.945Z] 5e14af77c1be: Download complete [2020-11-20T04:49:42.945Z] 01666e4c0597: Verifying Checksum [2020-11-20T04:49:42.945Z] 01666e4c0597: Download complete [2020-11-20T04:49:42.945Z] 93b61091891f: Verifying Checksum [2020-11-20T04:49:42.945Z] 93b61091891f: Download complete [2020-11-20T04:49:43.207Z] df20fa9351a1: Pull complete [2020-11-20T04:49:43.207Z] 36b3adc4ff6f: Pull complete [2020-11-20T04:49:43.471Z] 8ad3a11d3b57: Download complete [2020-11-20T04:49:44.054Z] 8ad3a11d3b57: Pull complete [2020-11-20T04:49:44.318Z] 46f8f816bc3b: Pull complete [2020-11-20T04:49:45.267Z] aa168da1d23b: Verifying Checksum [2020-11-20T04:49:45.267Z] aa168da1d23b: Download complete [2020-11-20T04:49:45.528Z] 93b61091891f: Pull complete [2020-11-20T04:49:45.790Z] 93b9cdb0e59b: Pull complete [2020-11-20T04:49:46.052Z] 5e14af77c1be: Pull complete [2020-11-20T04:49:46.052Z] 01666e4c0597: Pull complete [2020-11-20T04:49:52.659Z] aa168da1d23b: Pull complete [2020-11-20T04:49:52.659Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-20T04:49:52.659Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-20T04:49:52.659Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-20T04:49:52.780Z] prd-centos7-docker-4c-2g-12908 does not seem to be running inside a container [2020-11-20T04:49:52.836Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-11-20T04:49:55.701Z] $ docker top da35bab16012ae543f8177969b6220bf3d916bad1c7a47136d91780c4439913d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-20T04:49:56.280Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-20T04:49:56.578Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-20T04:49:56.874Z] + ls /var/log/sa-host [2020-11-20T04:49:56.874Z] + sadf -c /var/log/sa-host/sa05 [2020-11-20T04:49:56.874Z] file_magic: OK [2020-11-20T04:49:56.874Z] HZ: Using current value: 100 [2020-11-20T04:49:56.874Z] file_header: OK [2020-11-20T04:49:56.874Z] 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-11-20T04:49:56.874Z] Statistics: [2020-11-20T04:49:56.874Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-20T04:49:56.874Z] File successfully converted to sysstat format version 12.2.1 [2020-11-20T04:49:56.874Z] + sadf -c /var/log/sa-host/sa20 [2020-11-20T04:49:56.874Z] file_magic: OK [2020-11-20T04:49:56.874Z] HZ: Using current value: 100 [2020-11-20T04:49:56.874Z] file_header: OK [2020-11-20T04:49:56.874Z] 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-11-20T04:49:56.874Z] Statistics: [2020-11-20T04:49:56.874Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-20T04:49:56.874Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-20T04:49:57.524Z] provisioning config files... [2020-11-20T04:49:57.539Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6305278618227959548tmp [Pipeline] { [Pipeline] echo [2020-11-20T04:49:57.623Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-20T04:49:57.914Z] ---> create-netrc.sh [Pipeline] } [2020-11-20T04:49:57.923Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-20T04:49:58.040Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-20T04:49:58.336Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-20T04:49:58.347Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-20T04:49:58.645Z] ---> sudo-logs.sh [2020-11-20T04:49:58.645Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-20T04:49:58.655Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-20T04:49:58.946Z] ---> job-cost.sh [2020-11-20T04:49:58.946Z] lf-activate-venv: SKIPPING [2020-11-20T04:49:58.946Z] INFO: No Stack... [2020-11-20T04:50:01.497Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-20T04:50:02.076Z] INFO: Archiving Costs [Pipeline] echo [2020-11-20T04:50:02.097Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-20T04:50:02.414Z] ---> logs-deploy.sh [2020-11-20T04:50:02.414Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/88 [2020-11-20T04:50:02.414Z] INFO: archiving workspace using pattern(s): [2020-11-20T04:50:04.331Z] Archives upload complete. [2020-11-20T04:50:04.331Z] INFO: archiving logs to Nexus