Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d0df7b9da6961378affa4a44df784d03e7885d3e Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 025b6483f761633eb525fab7d6a8b6537d6ee4a4 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 025b6483f761633eb525fab7d6a8b6537d6ee4a4 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-16037 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d0df7b9da6961378affa4a44df784d03e7885d3e (master) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d0df7b9da6961378affa4a44df784d03e7885d3e # timeout=10 Commit message: "Merge pull request #686 from weichou1229/issue-685" > git rev-list --no-walk d2188d43b05b3896e876a49d31725ed73587c144 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-15T04:37:36.129Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-15T04:37:36.418Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-15T04:37:36.529Z] ========================================================= [2020-12-15T04:37:36.529Z] EdgeX Global Pipelines Version Info [2020-12-15T04:37:36.529Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:37:38.070Z] ------------------- [2020-12-15T04:37:38.070Z] stable info: [2020-12-15T04:37:38.070Z] ------------------- [2020-12-15T04:37:38.070Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-15T04:37:38.070Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-15T04:37:38.070Z] Message: update stable to v1.0.172 [2020-12-15T04:37:39.017Z] ------------------- [2020-12-15T04:37:39.018Z] experimental info: [2020-12-15T04:37:39.018Z] ------------------- [2020-12-15T04:37:39.018Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-15T04:37:39.018Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-15T04:37:39.018Z] Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-15T04:37:39.314Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-15T04:37:39.411Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-15T04:37:39.548Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-15T04:37:39.635Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-15T04:37:39.725Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-15T04:37:39.819Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-15T04:37:39.915Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-15T04:37:40.042Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-15T04:37:40.290Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-15T04:37:40.423Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-15T04:37:40.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-15T04:37:40.631Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-15T04:37:40.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-15T04:37:40.887Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-15T04:37:40.974Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-15T04:37:41.061Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-15T04:37:41.190Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-15T04:37:41.294Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-15T04:37:41.387Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-15T04:37:41.560Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-15T04:37:41.659Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-15T04:37:41.769Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-15T04:37:41.859Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-15T04:37:41.963Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-15T04:37:42.080Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-15T04:37:42.192Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-15T04:37:42.282Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-12-15T04:37:42.368Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-12-15T04:37:42.456Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-12-15T04:37:42.543Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d0df7b9da6961378affa4a44df784d03e7885d3e [Pipeline] echo [2020-12-15T04:37:42.631Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d0df7b9 [Pipeline] echo [2020-12-15T04:37:42.718Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-15T04:37:42.891Z] provisioning config files... [2020-12-15T04:37:42.921Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config598054154942125304tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:37:43.306Z] ---> docker-login.sh [2020-12-15T04:37:43.306Z] nexus3.edgexfoundry.org:10001 [2020-12-15T04:37:43.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:37:43.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:37:43.835Z] Configure a credential helper to remove this warning. See [2020-12-15T04:37:43.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:37:43.835Z] [2020-12-15T04:37:43.835Z] Login Succeeded [2020-12-15T04:37:43.835Z] nexus3.edgexfoundry.org:10002 [2020-12-15T04:37:43.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:37:43.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:37:43.835Z] Configure a credential helper to remove this warning. See [2020-12-15T04:37:43.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:37:43.835Z] [2020-12-15T04:37:43.835Z] Login Succeeded [2020-12-15T04:37:43.835Z] nexus3.edgexfoundry.org:10003 [2020-12-15T04:37:44.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:37:44.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:37:44.097Z] Configure a credential helper to remove this warning. See [2020-12-15T04:37:44.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:37:44.097Z] [2020-12-15T04:37:44.097Z] Login Succeeded [2020-12-15T04:37:44.097Z] nexus3.edgexfoundry.org:10004 [2020-12-15T04:37:44.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:37:44.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:37:44.363Z] Configure a credential helper to remove this warning. See [2020-12-15T04:37:44.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:37:44.363Z] [2020-12-15T04:37:44.363Z] Login Succeeded [2020-12-15T04:37:44.363Z] docker.io [2020-12-15T04:37:44.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:37:44.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:37:44.626Z] Configure a credential helper to remove this warning. See [2020-12-15T04:37:44.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:37:44.626Z] [2020-12-15T04:37:44.626Z] Login Succeeded [2020-12-15T04:37:44.626Z] ---> docker-login.sh ends [Pipeline] } [2020-12-15T04:37:44.636Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-15T04:37:45.529Z] + git log --format=format:%s -1 d0df7b9da6961378affa4a44df784d03e7885d3e [Pipeline] echo [2020-12-15T04:37:45.593Z] GIT_COMMIT: d0df7b9da6961378affa4a44df784d03e7885d3e, Commit Message: Merge pull request #686 from weichou1229/issue-685 [Pipeline] echo [2020-12-15T04:37:45.638Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:37:46.627Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-15T04:37:46.627Z] [2020-12-15T04:37:46.627Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:37:46.985Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-15T04:37:46.985Z] latest: Pulling from edgex-devops/git-semver [2020-12-15T04:37:46.985Z] 31603596830f: Pulling fs layer [2020-12-15T04:37:46.985Z] 2a8b12db71e7: Pulling fs layer [2020-12-15T04:37:46.985Z] 6ca5941a6612: Pulling fs layer [2020-12-15T04:37:46.985Z] ecc8261a40a4: Pulling fs layer [2020-12-15T04:37:46.985Z] ecc8261a40a4: Waiting [2020-12-15T04:37:46.985Z] 2a8b12db71e7: Verifying Checksum [2020-12-15T04:37:46.985Z] 2a8b12db71e7: Download complete [2020-12-15T04:37:47.247Z] 31603596830f: Download complete [2020-12-15T04:37:47.247Z] 6ca5941a6612: Verifying Checksum [2020-12-15T04:37:47.247Z] 6ca5941a6612: Download complete [2020-12-15T04:37:47.247Z] ecc8261a40a4: Verifying Checksum [2020-12-15T04:37:47.247Z] ecc8261a40a4: Download complete [2020-12-15T04:37:47.512Z] 31603596830f: Pull complete [2020-12-15T04:37:47.773Z] 2a8b12db71e7: Pull complete [2020-12-15T04:37:48.353Z] 6ca5941a6612: Pull complete [2020-12-15T04:37:48.616Z] ecc8261a40a4: Pull complete [2020-12-15T04:37:48.616Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-15T04:37:48.616Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-15T04:37:48.616Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-15T04:37:48.721Z] prd-centos7-docker-4c-2g-16037 does not seem to be running inside a container [2020-12-15T04:37:48.776Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-15T04:37:51.394Z] $ docker top f99617a321c60fec738add979bd8bbaec41b58b3ec73377b722cdd2048b9a4e7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-15T04:37:51.799Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-15T04:37:51.799Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-15T04:37:52.037Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-15T04:37:52.045Z] $ docker exec f99617a321c60fec738add979bd8bbaec41b58b3ec73377b722cdd2048b9a4e7 ssh-agent [2020-12-15T04:37:52.234Z] SSH_AUTH_SOCK=/tmp/ssh-DKUeYKMno9Aa/agent.11 [2020-12-15T04:37:52.234Z] SSH_AGENT_PID=16 [2020-12-15T04:37:52.251Z] Running ssh-add (command line suppressed) [2020-12-15T04:37:52.395Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5755837646619444160.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5755837646619444160.key) [2020-12-15T04:37:52.448Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-15T04:37:52.784Z] + git tag --points-at HEAD [Pipeline] } [2020-12-15T04:37:52.812Z] $ docker exec --env ******** --env ******** f99617a321c60fec738add979bd8bbaec41b58b3ec73377b722cdd2048b9a4e7 ssh-agent -k [2020-12-15T04:37:52.932Z] unset SSH_AUTH_SOCK; [2020-12-15T04:37:52.933Z] unset SSH_AGENT_PID; [2020-12-15T04:37:52.933Z] echo Agent pid 16 killed; [2020-12-15T04:37:52.980Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-15T04:37:53.139Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-15T04:37:53.139Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-15T04:37:53.305Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-15T04:37:53.312Z] $ docker exec f99617a321c60fec738add979bd8bbaec41b58b3ec73377b722cdd2048b9a4e7 ssh-agent [2020-12-15T04:37:53.480Z] SSH_AUTH_SOCK=/tmp/ssh-5bh7hOBmcDpo/agent.46 [2020-12-15T04:37:53.480Z] SSH_AGENT_PID=51 [2020-12-15T04:37:53.490Z] Running ssh-add (command line suppressed) [2020-12-15T04:37:53.612Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9117881657630908507.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9117881657630908507.key) [2020-12-15T04:37:53.662Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-15T04:37:53.997Z] + git semver init [2020-12-15T04:37:53.997Z] # -> Open(): unable to determine branch for HEAD [2020-12-15T04:37:53.997Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-12-15T04:37:53.997Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-12-15T04:37:53.997Z] # $SEMVER_REMOTE_NAME = origin [2020-12-15T04:37:53.997Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-15T04:37:53.997Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-15T04:37:53.997Z] # $SEMVER_BRANCH = master [2020-12-15T04:37:53.997Z] # $SEMVER_TEMP = /tmp/semver-539792014 [2020-12-15T04:37:53.997Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-15T04:37:54.572Z] # '/tmp/semver-539792014' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-12-15T04:37:54.572Z] # -> Force: false [2020-12-15T04:37:54.572Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-12-15T04:37:54.589Z] $ docker exec --env ******** --env ******** f99617a321c60fec738add979bd8bbaec41b58b3ec73377b722cdd2048b9a4e7 ssh-agent -k [2020-12-15T04:37:54.704Z] unset SSH_AUTH_SOCK; [2020-12-15T04:37:54.704Z] unset SSH_AGENT_PID; [2020-12-15T04:37:54.704Z] echo Agent pid 51 killed; [2020-12-15T04:37:54.753Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-15T04:37:55.221Z] + git semver [Pipeline] } [2020-12-15T04:37:55.244Z] $ docker stop --time=1 f99617a321c60fec738add979bd8bbaec41b58b3ec73377b722cdd2048b9a4e7 [2020-12-15T04:37:56.912Z] $ docker rm -f f99617a321c60fec738add979bd8bbaec41b58b3ec73377b722cdd2048b9a4e7 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-15T04:37:57.372Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-15T04:37:57.750Z] Stashed 1 file(s) [Pipeline] echo [2020-12-15T04:37:57.752Z] [edgeXSemver]: initialized semver on version 1.3.1-dev.7 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-12-15T04:38:13.313Z] Still waiting to schedule task [2020-12-15T04:38:13.313Z] Executor slot already in use; ‘prd-centos7-builder-2c-1g-16036’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-16039’ is offline [2020-12-15T04:38:13.315Z] Still waiting to schedule task [2020-12-15T04:38:13.315Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-15T04:40:04.841Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-16042 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-12-15T04:40:04.909Z] Running in /w/workspace/device-sdk-go/94 [Pipeline] { [Pipeline] checkout [2020-12-15T04:40:09.842Z] using credential edgex-jenkins-ssh [2020-12-15T04:40:09.935Z] Cloning the remote Git repository [2020-12-15T04:40:10.006Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-15T04:40:10.132Z] > git init /w/workspace/device-sdk-go/94 # timeout=10 [2020-12-15T04:40:10.245Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-15T04:40:10.246Z] > git --version # timeout=10 [2020-12-15T04:40:10.270Z] > git --version # 'git version 2.17.1' [2020-12-15T04:40:10.272Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T04:40:10.331Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-15T04:40:11.995Z] Checking out Revision d0df7b9da6961378affa4a44df784d03e7885d3e (master) [2020-12-15T04:40:11.394Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-15T04:40:11.415Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-15T04:40:11.441Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-15T04:40:11.484Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-15T04:40:11.485Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T04:40:11.497Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-15T04:40:12.018Z] > git config core.sparsecheckout # timeout=10 [2020-12-15T04:40:12.040Z] > git checkout -f d0df7b9da6961378affa4a44df784d03e7885d3e # timeout=10 [2020-12-15T04:40:16.475Z] Commit message: "Merge pull request #686 from weichou1229/issue-685" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-15T04:40:18.129Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-15T04:40:18.552Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-15T04:40:18.897Z] + sudo service docker restart [2020-12-15T04:40:18.897Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-15T04:40:21.649Z] provisioning config files... [2020-12-15T04:40:21.702Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/94@tmp/config3139190646304035542tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:40:22.211Z] ---> docker-login.sh [2020-12-15T04:40:22.211Z] nexus3.edgexfoundry.org:10001 [2020-12-15T04:40:23.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:40:23.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:40:23.477Z] Configure a credential helper to remove this warning. See [2020-12-15T04:40:23.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:40:23.477Z] [2020-12-15T04:40:23.477Z] Login Succeeded [2020-12-15T04:40:23.477Z] nexus3.edgexfoundry.org:10002 [2020-12-15T04:40:24.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:40:24.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:40:24.080Z] Configure a credential helper to remove this warning. See [2020-12-15T04:40:24.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:40:24.080Z] [2020-12-15T04:40:24.080Z] Login Succeeded [2020-12-15T04:40:24.080Z] nexus3.edgexfoundry.org:10003 [2020-12-15T04:40:24.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:40:24.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:40:24.681Z] Configure a credential helper to remove this warning. See [2020-12-15T04:40:24.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:40:24.681Z] [2020-12-15T04:40:24.681Z] Login Succeeded [2020-12-15T04:40:24.681Z] nexus3.edgexfoundry.org:10004 [2020-12-15T04:40:24.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:40:25.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:40:25.231Z] Configure a credential helper to remove this warning. See [2020-12-15T04:40:25.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:40:25.231Z] [2020-12-15T04:40:25.231Z] Login Succeeded [2020-12-15T04:40:25.231Z] docker.io [2020-12-15T04:40:25.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:40:26.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:40:26.133Z] Configure a credential helper to remove this warning. See [2020-12-15T04:40:26.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:40:26.133Z] [2020-12-15T04:40:26.133Z] Login Succeeded [2020-12-15T04:40:26.133Z] ---> docker-login.sh ends [Pipeline] } [2020-12-15T04:40:26.151Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-15T04:40:26.716Z] ========================================================= [2020-12-15T04:40:26.716Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-15T04:40:26.716Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:40:27.129Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-12-15T04:40:27.733Z] Sending build context to Docker daemon 2.382MB [2020-12-15T04:40:27.733Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-15T04:40:27.733Z] Step 2/8 : FROM ${BASE} [2020-12-15T04:40:27.733Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-15T04:40:27.733Z] 5f621e34cdf4: Pulling fs layer [2020-12-15T04:40:27.733Z] a4357932f1b6: Pulling fs layer [2020-12-15T04:40:27.733Z] 18c013af1878: Pulling fs layer [2020-12-15T04:40:27.733Z] 00ac8860ef70: Pulling fs layer [2020-12-15T04:40:27.733Z] 63d7cb157983: Pulling fs layer [2020-12-15T04:40:27.733Z] b116817d02f9: Pulling fs layer [2020-12-15T04:40:27.733Z] 745a02a5169b: Pulling fs layer [2020-12-15T04:40:27.733Z] 00ac8860ef70: Waiting [2020-12-15T04:40:27.733Z] 63d7cb157983: Waiting [2020-12-15T04:40:27.733Z] b116817d02f9: Waiting [2020-12-15T04:40:27.733Z] 745a02a5169b: Waiting [2020-12-15T04:40:27.733Z] 18c013af1878: Download complete [2020-12-15T04:40:27.733Z] a4357932f1b6: Download complete [2020-12-15T04:40:27.733Z] 63d7cb157983: Verifying Checksum [2020-12-15T04:40:27.733Z] 63d7cb157983: Download complete [2020-12-15T04:40:28.013Z] b116817d02f9: Verifying Checksum [2020-12-15T04:40:28.013Z] b116817d02f9: Download complete [2020-12-15T04:40:28.013Z] 5f621e34cdf4: Verifying Checksum [2020-12-15T04:40:28.013Z] 5f621e34cdf4: Download complete [2020-12-15T04:40:28.619Z] 5f621e34cdf4: Pull complete [2020-12-15T04:40:29.247Z] a4357932f1b6: Pull complete [2020-12-15T04:40:29.526Z] 18c013af1878: Pull complete [2020-12-15T04:40:30.510Z] 745a02a5169b: Download complete [2020-12-15T04:40:31.951Z] 00ac8860ef70: Verifying Checksum [2020-12-15T04:40:31.951Z] 00ac8860ef70: Download complete [2020-12-15T04:40:37.538Z] Running on prd-centos7-docker-4c-2g-16045 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-12-15T04:40:37.641Z] Running in /w/workspace/device-sdk-go/94 [Pipeline] { [Pipeline] checkout [2020-12-15T04:40:40.115Z] using credential edgex-jenkins-ssh [2020-12-15T04:40:40.185Z] Cloning the remote Git repository [2020-12-15T04:40:40.211Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-15T04:40:40.275Z] > git init /w/workspace/device-sdk-go/94 # timeout=10 [2020-12-15T04:40:40.363Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-15T04:40:40.363Z] > git --version # timeout=10 [2020-12-15T04:40:40.368Z] > git --version # 'git version 2.24.3' [2020-12-15T04:40:40.369Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T04:40:40.395Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-15T04:40:41.064Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-15T04:40:41.072Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-15T04:40:41.088Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-15T04:40:41.102Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-15T04:40:41.102Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T04:40:41.107Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-15T04:40:41.454Z] Checking out Revision d0df7b9da6961378affa4a44df784d03e7885d3e (master) [2020-12-15T04:40:42.152Z] 00ac8860ef70: Pull complete [2020-12-15T04:40:42.152Z] 63d7cb157983: Pull complete [2020-12-15T04:40:42.437Z] b116817d02f9: Pull complete [2020-12-15T04:40:41.462Z] > git config core.sparsecheckout # timeout=10 [2020-12-15T04:40:41.467Z] > git checkout -f d0df7b9da6961378affa4a44df784d03e7885d3e # timeout=10 [2020-12-15T04:40:45.085Z] Commit message: "Merge pull request #686 from weichou1229/issue-685" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-15T04:40:46.364Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-15T04:40:46.692Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-15T04:40:46.770Z] 745a02a5169b: Pull complete [2020-12-15T04:40:46.770Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-15T04:40:46.770Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-15T04:40:46.770Z] ---> b7e6874047d6 [2020-12-15T04:40:46.770Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-15T04:40:46.995Z] + sudo service docker restart [2020-12-15T04:40:46.995Z] + true [2020-12-15T04:40:46.995Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-15T04:40:48.010Z] provisioning config files... [2020-12-15T04:40:48.037Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/94@tmp/config708612031855006647tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:40:48.415Z] ---> docker-login.sh [2020-12-15T04:40:48.415Z] nexus3.edgexfoundry.org:10001 [2020-12-15T04:40:48.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:40:48.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:40:48.677Z] Configure a credential helper to remove this warning. See [2020-12-15T04:40:48.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:40:48.677Z] [2020-12-15T04:40:48.677Z] Login Succeeded [2020-12-15T04:40:48.677Z] nexus3.edgexfoundry.org:10002 [2020-12-15T04:40:48.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:40:48.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:40:48.939Z] Configure a credential helper to remove this warning. See [2020-12-15T04:40:48.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:40:48.939Z] [2020-12-15T04:40:48.939Z] Login Succeeded [2020-12-15T04:40:48.939Z] nexus3.edgexfoundry.org:10003 [2020-12-15T04:40:49.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:40:49.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:40:49.201Z] Configure a credential helper to remove this warning. See [2020-12-15T04:40:49.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:40:49.201Z] [2020-12-15T04:40:49.201Z] Login Succeeded [2020-12-15T04:40:49.201Z] nexus3.edgexfoundry.org:10004 [2020-12-15T04:40:49.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:40:49.403Z] ---> Running in ae8dcfb57360 [2020-12-15T04:40:49.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:40:49.464Z] Configure a credential helper to remove this warning. See [2020-12-15T04:40:49.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:40:49.464Z] [2020-12-15T04:40:49.464Z] Login Succeeded [2020-12-15T04:40:49.464Z] docker.io [2020-12-15T04:40:49.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:40:49.676Z] Removing intermediate container ae8dcfb57360 [2020-12-15T04:40:49.676Z] ---> e0a7bd282030 [2020-12-15T04:40:49.676Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-15T04:40:49.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:40:49.728Z] Configure a credential helper to remove this warning. See [2020-12-15T04:40:49.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:40:49.728Z] [2020-12-15T04:40:49.728Z] Login Succeeded [2020-12-15T04:40:49.728Z] ---> docker-login.sh ends [Pipeline] } [2020-12-15T04:40:49.738Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2020-12-15T04:40:49.956Z] ---> Running in 0f533965a3f0 [Pipeline] echo [2020-12-15T04:40:50.045Z] ========================================================= [2020-12-15T04:40:50.045Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-15T04:40:50.045Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:40:50.522Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-12-15T04:40:50.522Z] Sending build context to Docker daemon 2.383MB [2020-12-15T04:40:50.522Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-15T04:40:50.522Z] Step 2/8 : FROM ${BASE} [2020-12-15T04:40:50.785Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-15T04:40:50.785Z] 188c0c94c7c5: Pulling fs layer [2020-12-15T04:40:50.785Z] 0ef7d3d256c8: Pulling fs layer [2020-12-15T04:40:50.785Z] de9db76c5a1d: Pulling fs layer [2020-12-15T04:40:50.785Z] bca2f99d35d6: Pulling fs layer [2020-12-15T04:40:50.785Z] 93359f2a8cfa: Pulling fs layer [2020-12-15T04:40:50.785Z] 7c6f9722023f: Pulling fs layer [2020-12-15T04:40:50.785Z] a35cf1a2eb13: Pulling fs layer [2020-12-15T04:40:50.785Z] 93359f2a8cfa: Waiting [2020-12-15T04:40:50.785Z] 7c6f9722023f: Waiting [2020-12-15T04:40:50.785Z] a35cf1a2eb13: Waiting [2020-12-15T04:40:50.785Z] bca2f99d35d6: Waiting [2020-12-15T04:40:50.785Z] de9db76c5a1d: Verifying Checksum [2020-12-15T04:40:50.785Z] de9db76c5a1d: Download complete [2020-12-15T04:40:50.785Z] 0ef7d3d256c8: Verifying Checksum [2020-12-15T04:40:50.785Z] 0ef7d3d256c8: Download complete [2020-12-15T04:40:50.785Z] 93359f2a8cfa: Verifying Checksum [2020-12-15T04:40:50.785Z] 93359f2a8cfa: Download complete [2020-12-15T04:40:50.785Z] 188c0c94c7c5: Verifying Checksum [2020-12-15T04:40:50.785Z] 188c0c94c7c5: Download complete [2020-12-15T04:40:50.785Z] 7c6f9722023f: Verifying Checksum [2020-12-15T04:40:50.785Z] 7c6f9722023f: Download complete [2020-12-15T04:40:51.056Z] 188c0c94c7c5: Pull complete [2020-12-15T04:40:51.321Z] 0ef7d3d256c8: Pull complete [2020-12-15T04:40:51.321Z] de9db76c5a1d: Pull complete [2020-12-15T04:40:52.593Z] Removing intermediate container 0f533965a3f0 [2020-12-15T04:40:52.593Z] ---> c381fa3aa128 [2020-12-15T04:40:52.593Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-15T04:40:52.715Z] a35cf1a2eb13: Verifying Checksum [2020-12-15T04:40:52.715Z] a35cf1a2eb13: Download complete [2020-12-15T04:40:52.872Z] ---> Running in f2b0ff6c0465 [2020-12-15T04:40:52.980Z] bca2f99d35d6: Verifying Checksum [2020-12-15T04:40:52.980Z] bca2f99d35d6: Download complete [2020-12-15T04:40:53.857Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-15T04:40:54.838Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-15T04:40:55.447Z] OK: 142 MiB in 39 packages [2020-12-15T04:40:56.425Z] Removing intermediate container f2b0ff6c0465 [2020-12-15T04:40:56.425Z] ---> d3ffbfac1300 [2020-12-15T04:40:56.425Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-15T04:40:56.697Z] ---> Running in 1d350659b934 [2020-12-15T04:40:57.293Z] Removing intermediate container 1d350659b934 [2020-12-15T04:40:57.293Z] ---> 70e6d4edd2fb [2020-12-15T04:40:57.293Z] Step 7/8 : COPY . . [2020-12-15T04:40:58.298Z] bca2f99d35d6: Pull complete [2020-12-15T04:40:58.298Z] 93359f2a8cfa: Pull complete [2020-12-15T04:40:58.564Z] 7c6f9722023f: Pull complete [2020-12-15T04:40:58.733Z] ---> 8e032a4f63b7 [2020-12-15T04:40:58.733Z] Step 8/8 : RUN go mod download [2020-12-15T04:40:59.012Z] ---> Running in eb858a5809f3 [2020-12-15T04:41:02.800Z] a35cf1a2eb13: Pull complete [2020-12-15T04:41:02.800Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-15T04:41:02.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-15T04:41:02.800Z] ---> a62c8e92a672 [2020-12-15T04:41:02.800Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-15T04:41:02.800Z] ---> Running in d7cec2201789 [2020-12-15T04:41:03.062Z] Removing intermediate container d7cec2201789 [2020-12-15T04:41:03.062Z] ---> 8f999a0ff2a2 [2020-12-15T04:41:03.062Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-15T04:41:03.062Z] ---> Running in 2cfe051eef81 [2020-12-15T04:41:04.011Z] Removing intermediate container 2cfe051eef81 [2020-12-15T04:41:04.011Z] ---> 87d79ed8e2d3 [2020-12-15T04:41:04.011Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-15T04:41:04.011Z] ---> Running in 97a95a112501 [2020-12-15T04:41:04.958Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-15T04:41:05.904Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-15T04:41:06.478Z] OK: 166 MiB in 39 packages [2020-12-15T04:41:06.740Z] Removing intermediate container 97a95a112501 [2020-12-15T04:41:06.740Z] ---> dfd980463bb7 [2020-12-15T04:41:06.740Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-15T04:41:06.740Z] ---> Running in 8092630ddb19 [2020-12-15T04:41:07.003Z] Removing intermediate container 8092630ddb19 [2020-12-15T04:41:07.003Z] ---> 5a0f5bda9c8e [2020-12-15T04:41:07.003Z] Step 7/8 : COPY . . [2020-12-15T04:41:08.391Z] ---> 7d59bc4013d5 [2020-12-15T04:41:08.391Z] Step 8/8 : RUN go mod download [2020-12-15T04:41:08.391Z] ---> Running in 70f8cc54f3d2 [2020-12-15T04:41:21.220Z] Removing intermediate container eb858a5809f3 [2020-12-15T04:41:21.220Z] ---> 2fea4124e787 [2020-12-15T04:41:21.220Z] Successfully built 2fea4124e787 [2020-12-15T04:41:21.220Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:41:21.573Z] + docker inspect -f . ci-base-image-arm64 [2020-12-15T04:41:21.573Z] . [Pipeline] withDockerContainer [2020-12-15T04:41:21.852Z] prd-ubuntu18.04-docker-arm64-4c-16g-16042 does not seem to be running inside a container [2020-12-15T04:41:21.967Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/94 -v /w/workspace/device-sdk-go/94:/w/workspace/device-sdk-go/94:rw,z -v /w/workspace/device-sdk-go/94@tmp:/w/workspace/device-sdk-go/94@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-15T04:41:23.517Z] $ docker top 681f5f274b732351a770fbb6dd9fa09a95da258b7d2de92b88f0f9b669d6b3c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-15T04:41:24.583Z] + go version [2020-12-15T04:41:24.583Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-15T04:41:24.635Z] $ docker stop --time=1 681f5f274b732351a770fbb6dd9fa09a95da258b7d2de92b88f0f9b669d6b3c5 [2020-12-15T04:41:26.563Z] Removing intermediate container 70f8cc54f3d2 [2020-12-15T04:41:26.563Z] ---> 7d3121ac190b [2020-12-15T04:41:26.563Z] Successfully built 7d3121ac190b [2020-12-15T04:41:26.563Z] Successfully tagged ci-base-image-x86_64:latest [2020-12-15T04:41:26.660Z] $ docker rm -f 681f5f274b732351a770fbb6dd9fa09a95da258b7d2de92b88f0f9b669d6b3c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:41:27.457Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-15T04:41:27.457Z] . [Pipeline] withDockerContainer [2020-12-15T04:41:27.714Z] + docker inspect -f . ci-base-image-arm64 [2020-12-15T04:41:27.714Z] . [2020-12-15T04:41:27.767Z] prd-centos7-docker-4c-2g-16045 does not seem to be running inside a container [2020-12-15T04:41:27.879Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/94 -v /w/workspace/device-sdk-go/94:/w/workspace/device-sdk-go/94:rw,z -v /w/workspace/device-sdk-go/94@tmp:/w/workspace/device-sdk-go/94@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-15T04:41:29.239Z] $ docker top 5d2732f877cb4c07884a4052e04c1978dd5c4a045bac70161a07e8c1dba8a4c7 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2020-12-15T04:41:29.717Z] prd-ubuntu18.04-docker-arm64-4c-16g-16042 does not seem to be running inside a container [2020-12-15T04:41:29.835Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/94 -v /w/workspace/device-sdk-go/94:/w/workspace/device-sdk-go/94:rw,z -v /w/workspace/device-sdk-go/94@tmp:/w/workspace/device-sdk-go/94@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-15T04:41:31.412Z] $ docker top 30f0edbd98c72709d06b3523128187525d8d96706892fd9441561788e0ae19da -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2020-12-15T04:41:32.105Z] + go version [2020-12-15T04:41:32.105Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-15T04:41:32.124Z] $ docker stop --time=1 5d2732f877cb4c07884a4052e04c1978dd5c4a045bac70161a07e8c1dba8a4c7 [2020-12-15T04:41:32.491Z] + make test [2020-12-15T04:41:32.491Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-15T04:41:33.441Z] $ docker rm -f 5d2732f877cb4c07884a4052e04c1978dd5c4a045bac70161a07e8c1dba8a4c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:41:34.348Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-15T04:41:34.348Z] . [Pipeline] withDockerContainer [2020-12-15T04:41:34.441Z] prd-centos7-docker-4c-2g-16045 does not seem to be running inside a container [2020-12-15T04:41:34.492Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/94 -v /w/workspace/device-sdk-go/94:/w/workspace/device-sdk-go/94:rw,z -v /w/workspace/device-sdk-go/94@tmp:/w/workspace/device-sdk-go/94@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-15T04:41:35.023Z] $ docker top fbcfd68000b0b6a26c90794f1bb6cbe202051ed401800683a676933a687c7a28 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-15T04:41:35.502Z] + make test [2020-12-15T04:41:35.503Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-15T04:41:42.151Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-15T04:41:54.682Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-15T04:41:57.209Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-15T04:41:57.209Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-15T04:41:57.209Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-15T04:41:57.209Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.053s coverage: 20.6% of statements [2020-12-15T04:41:58.605Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.639s coverage: 97.1% of statements [2020-12-15T04:42:30.845Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.059s coverage: 9.4% of statements [2020-12-15T04:42:30.845Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.049s coverage: 21.9% of statements [2020-12-15T04:42:30.845Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-15T04:42:30.846Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.292s coverage: 42.5% of statements [2020-12-15T04:42:30.846Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-15T04:42:30.846Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.303s coverage: 68.9% of statements [2020-12-15T04:42:30.846Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-15T04:42:30.846Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-15T04:42:30.846Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-15T04:42:30.846Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-15T04:42:30.846Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.063s coverage: 53.8% of statements [2020-12-15T04:42:30.846Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-15T04:42:30.846Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-15T04:42:30.846Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-15T04:42:30.846Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.242s coverage: 68.9% of statements [2020-12-15T04:42:30.846Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.054s coverage: 4.6% of statements [2020-12-15T04:42:30.846Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-15T04:42:30.846Z] GO111MODULE=on go vet ./... [2020-12-15T04:42:33.754Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-15T04:42:33.754Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-15T04:42:33.754Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-15T04:42:33.754Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.130s coverage: 20.6% of statements [2020-12-15T04:42:37.547Z] gofmt -l . [2020-12-15T04:42:37.547Z] [ "`gofmt -l .`" = "" ] [2020-12-15T04:42:37.547Z] ./bin/test-attribution-txt.sh [2020-12-15T04:42:37.813Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-15T04:42:38.094Z] $ docker stop --time=1 fbcfd68000b0b6a26c90794f1bb6cbe202051ed401800683a676933a687c7a28 [2020-12-15T04:42:39.184Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.264s coverage: 97.1% of statements [2020-12-15T04:42:40.025Z] $ docker rm -f fbcfd68000b0b6a26c90794f1bb6cbe202051ed401800683a676933a687c7a28 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-15T04:42:40.659Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-15T04:42:41.071Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-12-15T04:42:43.796Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-15T04:42:44.100Z] + ls -al . [2020-12-15T04:42:44.100Z] total 208 [2020-12-15T04:42:44.100Z] drwxrwxr-x. 10 jenkins jenkins 4096 Dec 15 04:42 . [2020-12-15T04:42:44.100Z] drwxrwxr-x. 4 jenkins jenkins 30 Dec 15 04:40 .. [2020-12-15T04:42:44.100Z] drwxrwxr-x. 2 jenkins jenkins 64 Dec 15 04:40 bin [2020-12-15T04:42:44.100Z] -rw-r--r--. 1 jenkins jenkins 128829 Dec 15 04:42 coverage.out [2020-12-15T04:42:44.100Z] -rw-rw-r--. 1 jenkins jenkins 936 Dec 15 04:40 Dockerfile.build [2020-12-15T04:42:44.100Z] -rw-rw-r--. 1 jenkins jenkins 140 Dec 15 04:40 .dockerignore [2020-12-15T04:42:44.100Z] drwxrwxr-x. 4 jenkins jenkins 48 Dec 15 04:40 example [2020-12-15T04:42:44.100Z] drwxrwxr-x. 8 jenkins jenkins 162 Dec 15 04:40 .git [2020-12-15T04:42:44.101Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 15 04:40 .github [2020-12-15T04:42:44.101Z] -rw-rw-r--. 1 jenkins jenkins 138 Dec 15 04:40 .gitignore [2020-12-15T04:42:44.101Z] -rw-r--r--. 1 jenkins jenkins 488 Dec 15 04:42 go.mod [2020-12-15T04:42:44.101Z] -rw-r--r--. 1 jenkins jenkins 13631 Dec 15 04:42 go.sum [2020-12-15T04:42:44.101Z] drwxrwxr-x. 15 jenkins jenkins 211 Dec 15 04:40 internal [2020-12-15T04:42:44.101Z] -rw-rw-r--. 1 jenkins jenkins 901 Dec 15 04:40 Jenkinsfile [2020-12-15T04:42:44.101Z] -rw-rw-r--. 1 jenkins jenkins 11341 Dec 15 04:40 LICENSE [2020-12-15T04:42:44.101Z] -rw-rw-r--. 1 jenkins jenkins 1013 Dec 15 04:40 Makefile [2020-12-15T04:42:44.101Z] drwxrwxr-x. 4 jenkins jenkins 26 Dec 15 04:40 openapi [2020-12-15T04:42:44.101Z] drwxrwxr-x. 5 jenkins jenkins 50 Dec 15 04:40 pkg [2020-12-15T04:42:44.101Z] -rw-rw-r--. 1 jenkins jenkins 5897 Dec 15 04:40 README.md [2020-12-15T04:42:44.101Z] -rw-rw-r--. 1 jenkins jenkins 4291 Dec 15 04:40 RELEASE-NOTES.txt [2020-12-15T04:42:44.101Z] drwxrwxr-x. 4 jenkins jenkins 54 Dec 15 04:40 snap [2020-12-15T04:42:44.101Z] -rw-rw-r--. 1 jenkins jenkins 11 Dec 15 04:37 VERSION [2020-12-15T04:42:44.101Z] -rw-rw-r--. 1 jenkins jenkins 222 Dec 15 04:40 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:42:44.412Z] + 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=d0df7b9da6961378affa4a44df784d03e7885d3e --label arch=amd64 --label version=1.3.1-dev.7 . [2020-12-15T04:42:44.675Z] Sending build context to Docker daemon 2.513MB [2020-12-15T04:42:44.675Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-12-15T04:42:44.675Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-15T04:42:44.675Z] ---> 7d3121ac190b [2020-12-15T04:42:44.675Z] Step 3/24 : ARG MAKE='make build' [2020-12-15T04:42:45.249Z] ---> Running in 1e7cfcf031e0 [2020-12-15T04:42:45.518Z] Removing intermediate container 1e7cfcf031e0 [2020-12-15T04:42:45.518Z] ---> f46e313e8688 [2020-12-15T04:42:45.518Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-15T04:42:45.518Z] ---> Running in 01925d8e2761 [2020-12-15T04:42:45.518Z] Removing intermediate container 01925d8e2761 [2020-12-15T04:42:45.518Z] ---> 0ad1fce72d53 [2020-12-15T04:42:45.518Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-15T04:42:45.798Z] ---> Running in 8c5035dfb1ab [2020-12-15T04:42:45.798Z] Removing intermediate container 8c5035dfb1ab [2020-12-15T04:42:45.798Z] ---> cb5d6a0a3270 [2020-12-15T04:42:45.798Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-15T04:42:45.798Z] ---> Running in 60949dc1f313 [2020-12-15T04:42:46.750Z] Removing intermediate container 60949dc1f313 [2020-12-15T04:42:46.750Z] ---> dda6f90bdc6a [2020-12-15T04:42:46.750Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-15T04:42:46.750Z] ---> Running in 4660b60d499b [2020-12-15T04:42:47.324Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-15T04:42:47.896Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-15T04:42:48.840Z] OK: 166 MiB in 39 packages [2020-12-15T04:42:49.104Z] Removing intermediate container 4660b60d499b [2020-12-15T04:42:49.104Z] ---> aaf4b361cb2a [2020-12-15T04:42:49.104Z] Step 8/24 : COPY . . [2020-12-15T04:42:50.047Z] ---> 2bb127628e2e [2020-12-15T04:42:50.047Z] Step 9/24 : RUN ${MAKE} [2020-12-15T04:42:50.308Z] ---> Running in 39204ea18b1e [2020-12-15T04:42:50.576Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.3.1-dev.7" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-12-15T04:42:58.793Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-15T04:43:01.344Z] Removing intermediate container 39204ea18b1e [2020-12-15T04:43:01.344Z] ---> 113f34417586 [2020-12-15T04:43:01.344Z] Step 10/24 : FROM scratch [2020-12-15T04:43:01.344Z] ---> [2020-12-15T04:43:01.344Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-15T04:43:01.344Z] ---> Running in 333b610fde9f [2020-12-15T04:43:01.344Z] Removing intermediate container 333b610fde9f [2020-12-15T04:43:01.344Z] ---> 0793f8f8c18d [2020-12-15T04:43:01.344Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-15T04:43:01.344Z] ---> Running in e2d78cc828c0 [2020-12-15T04:43:01.605Z] Removing intermediate container e2d78cc828c0 [2020-12-15T04:43:01.605Z] ---> f08f22c8aa46 [2020-12-15T04:43:01.605Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-15T04:43:01.605Z] ---> Running in 7d111a5d5080 [2020-12-15T04:43:01.868Z] Removing intermediate container 7d111a5d5080 [2020-12-15T04:43:01.868Z] ---> 89ca8aa27220 [2020-12-15T04:43:01.868Z] Step 14/24 : WORKDIR / [2020-12-15T04:43:01.868Z] ---> Running in 0221719843f3 [2020-12-15T04:43:01.868Z] Removing intermediate container 0221719843f3 [2020-12-15T04:43:01.868Z] ---> cdcfddde7e87 [2020-12-15T04:43:01.868Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-15T04:43:02.446Z] ---> 5784873df837 [2020-12-15T04:43:02.446Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-15T04:43:02.707Z] ---> da973d627bba [2020-12-15T04:43:02.707Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-15T04:43:02.968Z] ---> 6af68bddbe75 [2020-12-15T04:43:02.968Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-15T04:43:03.229Z] ---> 650da4cc1441 [2020-12-15T04:43:03.229Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-15T04:43:03.229Z] ---> f5d82bcf79af [2020-12-15T04:43:03.229Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-15T04:43:03.490Z] ---> Running in cd0e04569974 [2020-12-15T04:43:03.490Z] Removing intermediate container cd0e04569974 [2020-12-15T04:43:03.490Z] ---> 7ed6f4e170c1 [2020-12-15T04:43:03.490Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-15T04:43:03.490Z] ---> Running in eb566aeb65b6 [2020-12-15T04:43:03.751Z] Removing intermediate container eb566aeb65b6 [2020-12-15T04:43:03.751Z] ---> 6df3a1dc2c18 [2020-12-15T04:43:03.751Z] Step 22/24 : LABEL arch=amd64 [2020-12-15T04:43:03.751Z] ---> Running in b42a16c8dc3b [2020-12-15T04:43:04.012Z] Removing intermediate container b42a16c8dc3b [2020-12-15T04:43:04.012Z] ---> 357d8cbb7825 [2020-12-15T04:43:04.012Z] Step 23/24 : LABEL git_sha=d0df7b9da6961378affa4a44df784d03e7885d3e [2020-12-15T04:43:04.012Z] ---> Running in d73edff6fba5 [2020-12-15T04:43:04.277Z] Removing intermediate container d73edff6fba5 [2020-12-15T04:43:04.277Z] ---> d8ef967f8486 [2020-12-15T04:43:04.277Z] Step 24/24 : LABEL version=1.3.1-dev.7 [2020-12-15T04:43:04.277Z] ---> Running in 1069a441f9c0 [2020-12-15T04:43:04.277Z] Removing intermediate container 1069a441f9c0 [2020-12-15T04:43:04.277Z] ---> 98f621e31d92 [2020-12-15T04:43:04.277Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-15T04:43:04.277Z] Successfully built 98f621e31d92 [2020-12-15T04:43:04.538Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-15T04:43:05.993Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.140s coverage: 9.4% of statements [2020-12-15T04:43:05.993Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.132s coverage: 21.9% of statements [2020-12-15T04:43:05.993Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-15T04:43:05.993Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.600s coverage: 42.5% of statements [2020-12-15T04:43:05.993Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-15T04:43:05.993Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.775s coverage: 68.9% of statements [2020-12-15T04:43:05.993Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-15T04:43:05.993Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-15T04:43:05.993Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-15T04:43:05.993Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-15T04:43:05.993Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.190s coverage: 53.8% of statements [2020-12-15T04:43:05.993Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-15T04:43:05.993Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-15T04:43:05.993Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-15T04:43:05.993Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.756s coverage: 68.9% of statements [2020-12-15T04:43:05.993Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.141s coverage: 4.6% of statements [2020-12-15T04:43:05.993Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-15T04:43:05.993Z] GO111MODULE=on go vet ./... [2020-12-15T04:43:38.386Z] gofmt -l . [2020-12-15T04:43:38.386Z] [ "`gofmt -l .`" = "" ] [2020-12-15T04:43:38.386Z] ./bin/test-attribution-txt.sh [2020-12-15T04:43:38.386Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-15T04:43:38.478Z] $ docker stop --time=1 30f0edbd98c72709d06b3523128187525d8d96706892fd9441561788e0ae19da [2020-12-15T04:43:40.842Z] $ docker rm -f 30f0edbd98c72709d06b3523128187525d8d96706892fd9441561788e0ae19da [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-15T04:43:41.810Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-15T04:43:41.831Z] Warning: overwriting stash ‘coverage-report’ [2020-12-15T04:43:42.739Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-15T04:43:43.577Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-15T04:43:43.957Z] + ls -al . [2020-12-15T04:43:43.957Z] total 244 [2020-12-15T04:43:43.957Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 15 04:43 . [2020-12-15T04:43:43.957Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 04:40 .. [2020-12-15T04:43:43.957Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 15 04:40 .dockerignore [2020-12-15T04:43:43.957Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 04:40 .git [2020-12-15T04:43:43.957Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 04:40 .github [2020-12-15T04:43:43.957Z] -rw-rw-r-- 1 jenkins jenkins 138 Dec 15 04:40 .gitignore [2020-12-15T04:43:43.957Z] -rw-rw-r-- 1 jenkins jenkins 936 Dec 15 04:40 Dockerfile.build [2020-12-15T04:43:43.957Z] -rw-rw-r-- 1 jenkins jenkins 901 Dec 15 04:40 Jenkinsfile [2020-12-15T04:43:43.957Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 15 04:40 LICENSE [2020-12-15T04:43:43.957Z] -rw-rw-r-- 1 jenkins jenkins 1013 Dec 15 04:40 Makefile [2020-12-15T04:43:43.957Z] -rw-rw-r-- 1 jenkins jenkins 5897 Dec 15 04:40 README.md [2020-12-15T04:43:43.957Z] -rw-rw-r-- 1 jenkins jenkins 4291 Dec 15 04:40 RELEASE-NOTES.txt [2020-12-15T04:43:43.957Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 15 04:37 VERSION [2020-12-15T04:43:43.957Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 04:40 bin [2020-12-15T04:43:43.957Z] -rw-r--r-- 1 jenkins jenkins 128828 Dec 15 04:43 coverage.out [2020-12-15T04:43:43.957Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 04:40 example [2020-12-15T04:43:43.957Z] -rw-r--r-- 1 jenkins jenkins 488 Dec 15 04:43 go.mod [2020-12-15T04:43:43.957Z] -rw-r--r-- 1 jenkins jenkins 13631 Dec 15 04:43 go.sum [2020-12-15T04:43:43.957Z] drwxrwxr-x 15 jenkins jenkins 4096 Dec 15 04:40 internal [2020-12-15T04:43:43.957Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 04:40 openapi [2020-12-15T04:43:43.957Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 15 04:40 pkg [2020-12-15T04:43:43.957Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 04:40 snap [2020-12-15T04:43:43.957Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 15 04:40 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:43:44.355Z] + 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=d0df7b9da6961378affa4a44df784d03e7885d3e --label arch=arm64 --label version=1.3.1-dev.7 . [2020-12-15T04:43:44.970Z] Sending build context to Docker daemon 2.512MB [2020-12-15T04:43:44.970Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-12-15T04:43:44.970Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-15T04:43:44.970Z] ---> 2fea4124e787 [2020-12-15T04:43:44.970Z] Step 3/24 : ARG MAKE='make build' [2020-12-15T04:43:45.246Z] ---> Running in ea43b81622c4 [2020-12-15T04:43:45.520Z] Removing intermediate container ea43b81622c4 [2020-12-15T04:43:45.520Z] ---> e444888a6dc0 [2020-12-15T04:43:45.520Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-15T04:43:45.795Z] ---> Running in 3c1a1951ac32 [2020-12-15T04:43:46.393Z] Removing intermediate container 3c1a1951ac32 [2020-12-15T04:43:46.393Z] ---> ac737af80523 [2020-12-15T04:43:46.393Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-15T04:43:46.393Z] ---> Running in 5a142caa819a [2020-12-15T04:43:46.993Z] Removing intermediate container 5a142caa819a [2020-12-15T04:43:46.993Z] ---> 8160b82dd31e [2020-12-15T04:43:46.993Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-15T04:43:46.994Z] ---> Running in 1868c0316635 [2020-12-15T04:43:48.966Z] Removing intermediate container 1868c0316635 [2020-12-15T04:43:48.966Z] ---> 87d196a2b7fc [2020-12-15T04:43:48.966Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-15T04:43:49.243Z] ---> Running in 9f6ac692c53b [2020-12-15T04:43:50.681Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-15T04:43:51.302Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-15T04:43:52.283Z] OK: 142 MiB in 39 packages [2020-12-15T04:43:53.710Z] Removing intermediate container 9f6ac692c53b [2020-12-15T04:43:53.710Z] ---> 22934022f3e7 [2020-12-15T04:43:53.710Z] Step 8/24 : COPY . . [2020-12-15T04:43:54.687Z] ---> afeb73071326 [2020-12-15T04:43:54.687Z] Step 9/24 : RUN ${MAKE} [2020-12-15T04:43:54.965Z] ---> Running in ef87b5e47265 [2020-12-15T04:43:55.949Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.3.1-dev.7" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-12-15T04:44:22.756Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-15T04:44:23.424Z] Removing intermediate container ef87b5e47265 [2020-12-15T04:44:23.424Z] ---> 195219ddfcfc [2020-12-15T04:44:23.424Z] Step 10/24 : FROM scratch [2020-12-15T04:44:23.424Z] ---> [2020-12-15T04:44:23.424Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-15T04:44:23.424Z] ---> Running in 7d36ac581d77 [2020-12-15T04:44:23.696Z] Removing intermediate container 7d36ac581d77 [2020-12-15T04:44:23.696Z] ---> 6853bc4412eb [2020-12-15T04:44:23.696Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-15T04:44:23.968Z] ---> Running in d32c4acfaa03 [2020-12-15T04:44:24.239Z] Removing intermediate container d32c4acfaa03 [2020-12-15T04:44:24.239Z] ---> c307d0b2a053 [2020-12-15T04:44:24.239Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-15T04:44:24.511Z] ---> Running in f7a79cb67281 [2020-12-15T04:44:24.784Z] Removing intermediate container f7a79cb67281 [2020-12-15T04:44:24.784Z] ---> bb47179759fb [2020-12-15T04:44:24.784Z] Step 14/24 : WORKDIR / [2020-12-15T04:44:25.057Z] ---> Running in fa327a21cb98 [2020-12-15T04:44:25.332Z] Removing intermediate container fa327a21cb98 [2020-12-15T04:44:25.332Z] ---> 6a6f0c6eccb6 [2020-12-15T04:44:25.332Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-15T04:44:26.756Z] ---> de4dc02a150f [2020-12-15T04:44:26.756Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-15T04:44:27.348Z] ---> fdf648aa1d58 [2020-12-15T04:44:27.348Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-15T04:44:27.940Z] ---> 971d89261bc8 [2020-12-15T04:44:27.940Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-15T04:44:28.916Z] ---> 959947635912 [2020-12-15T04:44:28.916Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-15T04:44:29.508Z] ---> 1856e06f1e18 [2020-12-15T04:44:29.508Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-15T04:44:29.508Z] ---> Running in 9425d1242e69 [2020-12-15T04:44:30.103Z] Removing intermediate container 9425d1242e69 [2020-12-15T04:44:30.103Z] ---> 5ad31cb1e73e [2020-12-15T04:44:30.103Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-15T04:44:30.103Z] ---> Running in c078034d8546 [2020-12-15T04:44:30.697Z] Removing intermediate container c078034d8546 [2020-12-15T04:44:30.697Z] ---> d563f62c46d1 [2020-12-15T04:44:30.697Z] Step 22/24 : LABEL arch=arm64 [2020-12-15T04:44:30.697Z] ---> Running in ac661a8ff4eb [2020-12-15T04:44:31.289Z] Removing intermediate container ac661a8ff4eb [2020-12-15T04:44:31.289Z] ---> c85e8e8cb9ed [2020-12-15T04:44:31.289Z] Step 23/24 : LABEL git_sha=d0df7b9da6961378affa4a44df784d03e7885d3e [2020-12-15T04:44:31.289Z] ---> Running in 2576c86819da [2020-12-15T04:44:31.889Z] Removing intermediate container 2576c86819da [2020-12-15T04:44:31.889Z] ---> 3ee9b33672a5 [2020-12-15T04:44:31.889Z] Step 24/24 : LABEL version=1.3.1-dev.7 [2020-12-15T04:44:31.889Z] ---> Running in ff980f625049 [2020-12-15T04:44:32.160Z] Removing intermediate container ff980f625049 [2020-12-15T04:44:32.160Z] ---> f3518fddec88 [2020-12-15T04:44:32.160Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-15T04:44:32.430Z] Successfully built f3518fddec88 [2020-12-15T04:44:32.430Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-12-15T04:44:34.382Z] provisioning config files... [2020-12-15T04:44:34.398Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4360796791542730400tmp [Pipeline] { [Pipeline] sh [2020-12-15T04:44:34.793Z] + set +x [2020-12-15T04:44:34.793Z] + curl -s https://codecov.io/bash [2020-12-15T04:44:34.793Z] + bash -s -- [2020-12-15T04:44:35.056Z] [2020-12-15T04:44:35.056Z] _____ _ [2020-12-15T04:44:35.056Z] / ____| | | [2020-12-15T04:44:35.056Z] | | ___ __| | ___ ___ _____ __ [2020-12-15T04:44:35.056Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-15T04:44:35.056Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-15T04:44:35.056Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-15T04:44:35.056Z] Bash-20201130-cc6d3fe [2020-12-15T04:44:35.056Z] [2020-12-15T04:44:35.056Z] [2020-12-15T04:44:35.056Z] ==> Jenkins CI detected. [2020-12-15T04:44:35.056Z] project root: . [2020-12-15T04:44:35.056Z] --> token set from env [2020-12-15T04:44:35.056Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-15T04:44:35.056Z] ==> Running gcov in . (disable via -X gcov) [2020-12-15T04:44:35.056Z] ==> Python coveragepy not found [2020-12-15T04:44:35.056Z] ==> Searching for coverage reports in: [2020-12-15T04:44:35.056Z] + . [2020-12-15T04:44:35.056Z] -> Found 1 reports [2020-12-15T04:44:35.056Z] ==> Detecting git/mercurial file structure [2020-12-15T04:44:35.056Z] ==> Reading reports [2020-12-15T04:44:35.056Z] + ./coverage.out bytes=128828 [2020-12-15T04:44:35.056Z] ==> Appending adjustments [2020-12-15T04:44:35.056Z] https://docs.codecov.io/docs/fixing-reports [2020-12-15T04:44:35.632Z] + Found adjustments [2020-12-15T04:44:35.632Z] ==> Gzipping contents [2020-12-15T04:44:35.632Z] 24K /tmp/codecov.LutUNC.gz [2020-12-15T04:44:35.632Z] ==> Uploading reports [2020-12-15T04:44:35.632Z] url: https://codecov.io [2020-12-15T04:44:35.632Z] query: branch=master&commit=d0df7b9da6961378affa4a44df784d03e7885d3e&build=94&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F94%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-12-15T04:44:35.632Z] -> Pinging Codecov [2020-12-15T04:44:35.632Z] https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=master&commit=d0df7b9da6961378affa4a44df784d03e7885d3e&build=94&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F94%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-12-15T04:44:35.896Z] -> Uploading to [2020-12-15T04:44:35.896Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-15/7E55EF52A471D76F132DFD9A03CDDE97/d0df7b9da6961378affa4a44df784d03e7885d3e/5d845143-5ff9-4a52-9879-f580453dde0b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201215T044435Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4a5ce865e699624c011b354eb40433587ec19a2d25790d382ce2a8c0964355d4 [2020-12-15T04:44:35.896Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-15T04:44:35.896Z] Dload Upload Total Spent Left Speed [2020-12-15T04:44:36.472Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21076 0 0 100 21076 0 47433 --:--:-- --:--:-- --:--:-- 47468 [2020-12-15T04:44:36.472Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d0df7b9da6961378affa4a44df784d03e7885d3e [Pipeline] } [2020-12-15T04:44:36.482Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2020-12-15T04:44:37.470Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2020-12-15T04:44:37.530Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:44:37.881Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-15T04:44:37.881Z] [2020-12-15T04:44:37.881Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:44:38.260Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-15T04:44:38.261Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2020-12-15T04:44:38.261Z] 188c0c94c7c5: Pulling fs layer [2020-12-15T04:44:38.261Z] 0ef7d3d256c8: Pulling fs layer [2020-12-15T04:44:38.261Z] de9db76c5a1d: Pulling fs layer [2020-12-15T04:44:38.261Z] 0eba1c9be4d2: Pulling fs layer [2020-12-15T04:44:38.261Z] 0d57e429df01: Pulling fs layer [2020-12-15T04:44:38.261Z] 4e4be7b47b0d: Pulling fs layer [2020-12-15T04:44:38.261Z] e1f770b5df2f: Pulling fs layer [2020-12-15T04:44:38.261Z] 85a0685a4137: Pulling fs layer [2020-12-15T04:44:38.261Z] 0d57e429df01: Waiting [2020-12-15T04:44:38.261Z] 4e4be7b47b0d: Waiting [2020-12-15T04:44:38.261Z] e1f770b5df2f: Waiting [2020-12-15T04:44:38.261Z] 85a0685a4137: Waiting [2020-12-15T04:44:38.261Z] 0eba1c9be4d2: Waiting [2020-12-15T04:44:38.261Z] de9db76c5a1d: Verifying Checksum [2020-12-15T04:44:38.261Z] de9db76c5a1d: Download complete [2020-12-15T04:44:38.261Z] 0ef7d3d256c8: Verifying Checksum [2020-12-15T04:44:38.261Z] 0ef7d3d256c8: Download complete [2020-12-15T04:44:38.261Z] 0d57e429df01: Verifying Checksum [2020-12-15T04:44:38.261Z] 0d57e429df01: Download complete [2020-12-15T04:44:38.533Z] 4e4be7b47b0d: Verifying Checksum [2020-12-15T04:44:38.533Z] 4e4be7b47b0d: Download complete [2020-12-15T04:44:38.533Z] 188c0c94c7c5: Download complete [2020-12-15T04:44:38.807Z] 188c0c94c7c5: Pull complete [2020-12-15T04:44:39.080Z] 0ef7d3d256c8: Pull complete [2020-12-15T04:44:39.343Z] de9db76c5a1d: Pull complete [2020-12-15T04:44:39.632Z] e1f770b5df2f: Verifying Checksum [2020-12-15T04:44:39.632Z] e1f770b5df2f: Download complete [2020-12-15T04:44:41.561Z] 0eba1c9be4d2: Verifying Checksum [2020-12-15T04:44:41.561Z] 0eba1c9be4d2: Download complete [2020-12-15T04:44:42.138Z] 85a0685a4137: Verifying Checksum [2020-12-15T04:44:42.138Z] 85a0685a4137: Download complete [2020-12-15T04:44:47.462Z] 0eba1c9be4d2: Pull complete [2020-12-15T04:44:47.462Z] 0d57e429df01: Pull complete [2020-12-15T04:44:47.462Z] 4e4be7b47b0d: Pull complete [2020-12-15T04:44:50.018Z] e1f770b5df2f: Pull complete [2020-12-15T04:44:56.655Z] 85a0685a4137: Pull complete [2020-12-15T04:44:56.655Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2020-12-15T04:44:56.655Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-15T04:44:56.655Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2020-12-15T04:44:56.865Z] prd-centos7-docker-4c-2g-16037 does not seem to be running inside a container [2020-12-15T04:44:56.928Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-12-15T04:44:57.896Z] $ docker top 8cd9963d71ef1dc429b6b50ab70f9282f83238f402c6731148ee0bdcf4f3e063 -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-15T04:44:58.155Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2020-12-15T04:44:58.454Z] + set -o pipefail [2020-12-15T04:44:58.454Z] + snyk monitor '--org=edgex-jenkins' [2020-12-15T04:45:13.404Z] [2020-12-15T04:45:13.404Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... [2020-12-15T04:45:13.404Z] [2020-12-15T04:45:13.404Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/8c2a6cec-72fa-4180-867c-29a7e236537a [2020-12-15T04:45:13.404Z] [2020-12-15T04:45:13.404Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-12-15T04:45:13.404Z] [2020-12-15T04:45:13.404Z] [2020-12-15T04:45:13.404Z] You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. [2020-12-15T04:45:13.404Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2020-12-15T04:45:13.423Z] $ docker stop --time=1 8cd9963d71ef1dc429b6b50ab70f9282f83238f402c6731148ee0bdcf4f3e063 [2020-12-15T04:45:15.837Z] $ docker rm -f 8cd9963d71ef1dc429b6b50ab70f9282f83238f402c6731148ee0bdcf4f3e063 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2020-12-15T04:45:17.304Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-15T04:45:17.385Z] provisioning config files... [2020-12-15T04:45:17.399Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8718931388212625414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:45:17.777Z] --> edgex-publish-swagger.sh [2020-12-15T04:45:17.777Z] === Publish openapi/v1 API === [2020-12-15T04:45:17.777Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2020-12-15T04:45:17.777Z] [publishToSwagger] Publishing API Name [device-sdk] [2020-12-15T04:45:17.777Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-15T04:45:17.777Z] Dload Upload Total Spent Left Speed [2020-12-15T04:45:18.618Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20188 0 0 100 20188 0 24927 --:--:-- --:--:-- --:--:-- 24923 [2020-12-15T04:45:18.618Z] [2020-12-15T04:45:18.618Z] [2020-12-15T04:45:18.618Z] === Publish openapi/v2 API === [2020-12-15T04:45:18.618Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2020-12-15T04:45:18.618Z] [publishToSwagger] Publishing API Name [device-sdk] [2020-12-15T04:45:18.618Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-15T04:45:18.618Z] Dload Upload Total Spent Left Speed [2020-12-15T04:45:19.565Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 49274 0 0 100 49274 0 59400 --:--:-- --:--:-- --:--:-- 59366 100 49274 0 0 100 49274 0 59386 --:--:-- --:--:-- --:--:-- 59366 [2020-12-15T04:45:19.565Z] [2020-12-15T04:45:19.565Z] [Pipeline] } [2020-12-15T04:45:19.575Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2020-12-15T04:45:20.422Z] + git log --format=format:%s -1 d0df7b9da6961378affa4a44df784d03e7885d3e [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:45:20.735Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-15T04:45:20.735Z] . [Pipeline] withDockerContainer [2020-12-15T04:45:20.839Z] prd-centos7-docker-4c-2g-16037 does not seem to be running inside a container [2020-12-15T04:45:20.892Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-15T04:45:21.646Z] $ docker top 3976e5978ac08f8c14bb83540233dccbfee54acb8c5df48ef9314384571dd0d6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-15T04:45:21.950Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-15T04:45:21.950Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-15T04:45:22.195Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-15T04:45:22.200Z] $ docker exec 3976e5978ac08f8c14bb83540233dccbfee54acb8c5df48ef9314384571dd0d6 ssh-agent [2020-12-15T04:45:22.373Z] SSH_AUTH_SOCK=/tmp/ssh-XZ8dxfQno8Cx/agent.11 [2020-12-15T04:45:22.374Z] SSH_AGENT_PID=16 [2020-12-15T04:45:22.382Z] Running ssh-add (command line suppressed) [2020-12-15T04:45:22.518Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_822831910640586311.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_822831910640586311.key) [2020-12-15T04:45:22.575Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-15T04:45:22.908Z] + git semver tag [2020-12-15T04:45:22.908Z] # -> Open(): unable to determine branch for HEAD [2020-12-15T04:45:22.908Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-12-15T04:45:22.908Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-12-15T04:45:22.908Z] # $SEMVER_REMOTE_NAME = origin [2020-12-15T04:45:22.908Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-15T04:45:22.908Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-15T04:45:22.908Z] # $SEMVER_BRANCH = master [2020-12-15T04:45:22.908Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-12-15T04:45:22.908Z] # d0df7b9da6961378affa4a44df784d03e7885d3e HEAD [2020-12-15T04:45:22.908Z] # -> Force: false [2020-12-15T04:45:22.908Z] # e49dae523c1eca82bf40d1582ca9716553b95bcc refs/tags/v1.3.1-dev.7 [Pipeline] } [2020-12-15T04:45:22.924Z] $ docker exec --env ******** --env ******** 3976e5978ac08f8c14bb83540233dccbfee54acb8c5df48ef9314384571dd0d6 ssh-agent -k [2020-12-15T04:45:23.042Z] unset SSH_AUTH_SOCK; [2020-12-15T04:45:23.043Z] unset SSH_AGENT_PID; [2020-12-15T04:45:23.043Z] echo Agent pid 16 killed; [2020-12-15T04:45:23.091Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-15T04:45:23.553Z] + git semver [Pipeline] } [2020-12-15T04:45:23.571Z] $ docker stop --time=1 3976e5978ac08f8c14bb83540233dccbfee54acb8c5df48ef9314384571dd0d6 [2020-12-15T04:45:24.953Z] $ docker rm -f 3976e5978ac08f8c14bb83540233dccbfee54acb8c5df48ef9314384571dd0d6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:45:25.578Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-15T04:45:25.578Z] [2020-12-15T04:45:25.578Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:45:26.009Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-15T04:45:26.009Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-12-15T04:45:26.009Z] ab5ef0e58194: Pulling fs layer [2020-12-15T04:45:26.009Z] 9712f1f96733: Pulling fs layer [2020-12-15T04:45:26.009Z] 63f879dbbcfc: Pulling fs layer [2020-12-15T04:45:26.009Z] 0d9ebad4ef96: Pulling fs layer [2020-12-15T04:45:26.009Z] e9a5061849ea: Pulling fs layer [2020-12-15T04:45:26.009Z] d747dcd14b5f: Pulling fs layer [2020-12-15T04:45:26.009Z] 2de7ff778b66: Pulling fs layer [2020-12-15T04:45:26.009Z] 0d9ebad4ef96: Waiting [2020-12-15T04:45:26.009Z] e9a5061849ea: Waiting [2020-12-15T04:45:26.009Z] d747dcd14b5f: Waiting [2020-12-15T04:45:26.009Z] 2de7ff778b66: Waiting [2020-12-15T04:45:26.009Z] 9712f1f96733: Verifying Checksum [2020-12-15T04:45:26.009Z] 9712f1f96733: Download complete [2020-12-15T04:45:28.030Z] 63f879dbbcfc: Verifying Checksum [2020-12-15T04:45:28.030Z] 63f879dbbcfc: Download complete [2020-12-15T04:45:28.295Z] e9a5061849ea: Verifying Checksum [2020-12-15T04:45:28.295Z] e9a5061849ea: Download complete [2020-12-15T04:45:28.295Z] d747dcd14b5f: Verifying Checksum [2020-12-15T04:45:28.295Z] d747dcd14b5f: Download complete [2020-12-15T04:45:28.572Z] ab5ef0e58194: Verifying Checksum [2020-12-15T04:45:28.572Z] ab5ef0e58194: Download complete [2020-12-15T04:45:28.837Z] 2de7ff778b66: Verifying Checksum [2020-12-15T04:45:28.837Z] 2de7ff778b66: Download complete [2020-12-15T04:45:28.837Z] 0d9ebad4ef96: Verifying Checksum [2020-12-15T04:45:28.837Z] 0d9ebad4ef96: Download complete [2020-12-15T04:45:33.070Z] ab5ef0e58194: Pull complete [2020-12-15T04:45:33.070Z] 9712f1f96733: Pull complete [2020-12-15T04:45:34.998Z] 63f879dbbcfc: Pull complete [2020-12-15T04:45:41.602Z] 0d9ebad4ef96: Pull complete [2020-12-15T04:45:42.550Z] e9a5061849ea: Pull complete [2020-12-15T04:45:42.818Z] d747dcd14b5f: Pull complete [2020-12-15T04:45:45.386Z] 2de7ff778b66: Pull complete [2020-12-15T04:45:45.386Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-12-15T04:45:45.386Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-15T04:45:45.386Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-12-15T04:45:45.609Z] prd-centos7-docker-4c-2g-16037 does not seem to be running inside a container [2020-12-15T04:45:45.661Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-12-15T04:45:49.445Z] $ docker top 92c9066d447f18b155ef658aaadeaf86da2164db6c3601aa376482a7396343fc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-12-15T04:45:49.783Z] provisioning config files... [2020-12-15T04:45:49.794Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5991354210116085747tmp [2020-12-15T04:45:49.812Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2237229196467036832tmp [2020-12-15T04:45:49.828Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6978043993131009064tmp [Pipeline] { [Pipeline] echo [2020-12-15T04:45:49.884Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:45:50.191Z] ---> sigul-configuration.sh [2020-12-15T04:45:50.191Z] gpg: directory `/root/.gnupg' created [2020-12-15T04:45:50.191Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-12-15T04:45:50.191Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-12-15T04:45:50.191Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-12-15T04:45:50.191Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-12-15T04:45:50.191Z] gpg: CAST5 encrypted data [2020-12-15T04:45:50.454Z] gpg: encrypted with 1 passphrase [2020-12-15T04:45:50.455Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-12-15T04:45:50.758Z] + mkdir /home/jenkins [2020-12-15T04:45:50.758Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-12-15T04:45:51.065Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2020-12-15T04:45:51.077Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:45:51.376Z] ---> sigul-install.sh [2020-12-15T04:45:56.676Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-12-15T04:45:56.975Z] + git tag --list [2020-12-15T04:45:56.975Z] 0.7.1 [2020-12-15T04:45:56.975Z] delhi-tag [2020-12-15T04:45:56.975Z] v1.0.0 [2020-12-15T04:45:56.975Z] v1.1.0 [2020-12-15T04:45:56.975Z] v1.1.1 [2020-12-15T04:45:56.975Z] v1.1.2 [2020-12-15T04:45:56.975Z] v1.2.0 [2020-12-15T04:45:56.975Z] v1.2.1 [2020-12-15T04:45:56.975Z] v1.2.2 [2020-12-15T04:45:56.975Z] v1.2.3 [2020-12-15T04:45:56.975Z] v1.2.4-dev.1 [2020-12-15T04:45:56.975Z] v1.2.4-dev.10 [2020-12-15T04:45:56.975Z] v1.2.4-dev.11 [2020-12-15T04:45:56.975Z] v1.2.4-dev.12 [2020-12-15T04:45:56.975Z] v1.2.4-dev.13 [2020-12-15T04:45:56.975Z] v1.2.4-dev.14 [2020-12-15T04:45:56.975Z] v1.2.4-dev.15 [2020-12-15T04:45:56.975Z] v1.2.4-dev.16 [2020-12-15T04:45:56.975Z] v1.2.4-dev.17 [2020-12-15T04:45:56.975Z] v1.2.4-dev.18 [2020-12-15T04:45:56.975Z] v1.2.4-dev.19 [2020-12-15T04:45:56.975Z] v1.2.4-dev.2 [2020-12-15T04:45:56.975Z] v1.2.4-dev.20 [2020-12-15T04:45:56.975Z] v1.2.4-dev.21 [2020-12-15T04:45:56.975Z] v1.2.4-dev.22 [2020-12-15T04:45:56.975Z] v1.2.4-dev.23 [2020-12-15T04:45:56.975Z] v1.2.4-dev.24 [2020-12-15T04:45:56.975Z] v1.2.4-dev.25 [2020-12-15T04:45:56.975Z] v1.2.4-dev.26 [2020-12-15T04:45:56.975Z] v1.2.4-dev.27 [2020-12-15T04:45:56.975Z] v1.2.4-dev.28 [2020-12-15T04:45:56.975Z] v1.2.4-dev.29 [2020-12-15T04:45:56.975Z] v1.2.4-dev.3 [2020-12-15T04:45:56.975Z] v1.2.4-dev.30 [2020-12-15T04:45:56.975Z] v1.2.4-dev.31 [2020-12-15T04:45:56.975Z] v1.2.4-dev.32 [2020-12-15T04:45:56.975Z] v1.2.4-dev.33 [2020-12-15T04:45:56.975Z] v1.2.4-dev.34 [2020-12-15T04:45:56.975Z] v1.2.4-dev.35 [2020-12-15T04:45:56.975Z] v1.2.4-dev.4 [2020-12-15T04:45:56.975Z] v1.2.4-dev.5 [2020-12-15T04:45:56.975Z] v1.2.4-dev.6 [2020-12-15T04:45:56.975Z] v1.2.4-dev.7 [2020-12-15T04:45:56.975Z] v1.2.4-dev.8 [2020-12-15T04:45:56.975Z] v1.2.4-dev.9 [2020-12-15T04:45:56.975Z] v1.3.0 [2020-12-15T04:45:56.975Z] v1.3.1-dev.1 [2020-12-15T04:45:56.975Z] v1.3.1-dev.2 [2020-12-15T04:45:56.975Z] v1.3.1-dev.3 [2020-12-15T04:45:56.975Z] v1.3.1-dev.4 [2020-12-15T04:45:56.975Z] v1.3.1-dev.5 [2020-12-15T04:45:56.975Z] v1.3.1-dev.6 [2020-12-15T04:45:56.975Z] v1.3.1-dev.7 [Pipeline] sh [2020-12-15T04:45:57.284Z] + lftools sign git-tag v1.3.1-dev.7 [2020-12-15T04:45:58.674Z] Signing Git tag with Sigul... [2020-12-15T04:45:58.674Z] Signing v1.3.1-dev.7 [Pipeline] echo [2020-12-15T04:45:59.636Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:45:59.939Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-12-15T04:45:59.948Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-12-15T04:46:00.049Z] $ docker stop --time=1 92c9066d447f18b155ef658aaadeaf86da2164db6c3601aa376482a7396343fc [2020-12-15T04:46:02.093Z] $ docker rm -f 92c9066d447f18b155ef658aaadeaf86da2164db6c3601aa376482a7396343fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:46:03.178Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-15T04:46:03.178Z] . [Pipeline] withDockerContainer [2020-12-15T04:46:03.286Z] prd-centos7-docker-4c-2g-16037 does not seem to be running inside a container [2020-12-15T04:46:03.337Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-15T04:46:04.141Z] $ docker top 037ce7be3c8626170c6ac45a23a842b0a95e22a60eaeb6e3642643b12e40a868 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-15T04:46:04.498Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-15T04:46:04.498Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-15T04:46:04.723Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-15T04:46:04.728Z] $ docker exec 037ce7be3c8626170c6ac45a23a842b0a95e22a60eaeb6e3642643b12e40a868 ssh-agent [2020-12-15T04:46:04.907Z] SSH_AUTH_SOCK=/tmp/ssh-LBz0lKLHgzxv/agent.11 [2020-12-15T04:46:04.907Z] SSH_AGENT_PID=16 [2020-12-15T04:46:04.915Z] Running ssh-add (command line suppressed) [2020-12-15T04:46:05.042Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2028741145649978703.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2028741145649978703.key) [2020-12-15T04:46:05.096Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-15T04:46:05.436Z] + git semver bump pre [2020-12-15T04:46:05.436Z] # -> Open(): unable to determine branch for HEAD [2020-12-15T04:46:05.436Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-12-15T04:46:05.436Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-12-15T04:46:05.436Z] # $SEMVER_REMOTE_NAME = origin [2020-12-15T04:46:05.436Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-15T04:46:05.436Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-15T04:46:05.436Z] # $SEMVER_BRANCH = master [2020-12-15T04:46:05.436Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-12-15T04:46:05.436Z] 1.3.1-dev.8 [Pipeline] } [2020-12-15T04:46:05.451Z] $ docker exec --env ******** --env ******** 037ce7be3c8626170c6ac45a23a842b0a95e22a60eaeb6e3642643b12e40a868 ssh-agent -k [2020-12-15T04:46:05.582Z] unset SSH_AUTH_SOCK; [2020-12-15T04:46:05.582Z] unset SSH_AGENT_PID; [2020-12-15T04:46:05.582Z] echo Agent pid 16 killed; [2020-12-15T04:46:05.635Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-15T04:46:06.141Z] + git semver [Pipeline] } [2020-12-15T04:46:06.161Z] $ docker stop --time=1 037ce7be3c8626170c6ac45a23a842b0a95e22a60eaeb6e3642643b12e40a868 [2020-12-15T04:46:07.553Z] $ docker rm -f 037ce7be3c8626170c6ac45a23a842b0a95e22a60eaeb6e3642643b12e40a868 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:46:08.095Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-15T04:46:08.095Z] . [Pipeline] withDockerContainer [2020-12-15T04:46:08.198Z] prd-centos7-docker-4c-2g-16037 does not seem to be running inside a container [2020-12-15T04:46:08.251Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-15T04:46:08.886Z] $ docker top 17ed7ecd545fc388386ebe9366a1b8f1f5b153c1be0d9efa7123120ed1fcf4af -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-15T04:46:09.188Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-15T04:46:09.188Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-15T04:46:09.372Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-15T04:46:09.377Z] $ docker exec 17ed7ecd545fc388386ebe9366a1b8f1f5b153c1be0d9efa7123120ed1fcf4af ssh-agent [2020-12-15T04:46:09.554Z] SSH_AUTH_SOCK=/tmp/ssh-zeNmJA54b8mf/agent.12 [2020-12-15T04:46:09.554Z] SSH_AGENT_PID=17 [2020-12-15T04:46:09.562Z] Running ssh-add (command line suppressed) [2020-12-15T04:46:09.694Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2807114656840267713.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2807114656840267713.key) [2020-12-15T04:46:09.750Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-15T04:46:10.089Z] + git semver push [2020-12-15T04:46:10.089Z] # -> Open(): unable to determine branch for HEAD [2020-12-15T04:46:10.089Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-12-15T04:46:10.089Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-12-15T04:46:10.089Z] # $SEMVER_REMOTE_NAME = origin [2020-12-15T04:46:10.089Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-15T04:46:10.089Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-15T04:46:10.089Z] # $SEMVER_BRANCH = master [2020-12-15T04:46:10.089Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-12-15T04:46:16.720Z] $ docker exec --env ******** --env ******** 17ed7ecd545fc388386ebe9366a1b8f1f5b153c1be0d9efa7123120ed1fcf4af ssh-agent -k [2020-12-15T04:46:16.850Z] unset SSH_AUTH_SOCK; [2020-12-15T04:46:16.850Z] unset SSH_AGENT_PID; [2020-12-15T04:46:16.850Z] echo Agent pid 17 killed; [2020-12-15T04:46:16.903Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-15T04:46:17.393Z] + git semver [Pipeline] } [2020-12-15T04:46:17.414Z] $ docker stop --time=1 17ed7ecd545fc388386ebe9366a1b8f1f5b153c1be0d9efa7123120ed1fcf4af [2020-12-15T04:46:18.813Z] $ docker rm -f 17ed7ecd545fc388386ebe9366a1b8f1f5b153c1be0d9efa7123120ed1fcf4af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:46:20.542Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:46:21.203Z] ---> package-listing.sh [2020-12-15T04:46:21.203Z] ++ facter osfamily [2020-12-15T04:46:21.203Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-15T04:46:21.203Z] + OS_FAMILY=redhat [2020-12-15T04:46:21.203Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-12-15T04:46:21.203Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-15T04:46:21.204Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-15T04:46:21.204Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-15T04:46:21.204Z] + PACKAGES=/tmp/packages_start.txt [2020-12-15T04:46:21.204Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-12-15T04:46:21.204Z] + PACKAGES=/tmp/packages_end.txt [2020-12-15T04:46:21.204Z] + case "${OS_FAMILY}" in [2020-12-15T04:46:21.204Z] + rpm -qa [2020-12-15T04:46:21.204Z] + sort [2020-12-15T04:46:26.533Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-15T04:46:26.533Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-15T04:46:26.533Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-15T04:46:26.533Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-12-15T04:46:26.533Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-12-15T04:46:26.533Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo [2020-12-15T04:46:26.549Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-15T04:46:26.847Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:46:27.160Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-15T04:46:27.161Z] [2020-12-15T04:46:27.161Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:46:27.519Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-15T04:46:27.519Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-15T04:46:27.519Z] df20fa9351a1: Pulling fs layer [2020-12-15T04:46:27.519Z] 36b3adc4ff6f: Pulling fs layer [2020-12-15T04:46:27.519Z] 8ad3a11d3b57: Pulling fs layer [2020-12-15T04:46:27.519Z] 46f8f816bc3b: Pulling fs layer [2020-12-15T04:46:27.519Z] 93b61091891f: Pulling fs layer [2020-12-15T04:46:27.519Z] 93b9cdb0e59b: Pulling fs layer [2020-12-15T04:46:27.519Z] 5e14af77c1be: Pulling fs layer [2020-12-15T04:46:27.519Z] 01666e4c0597: Pulling fs layer [2020-12-15T04:46:27.519Z] aa168da1d23b: Pulling fs layer [2020-12-15T04:46:27.519Z] 46f8f816bc3b: Waiting [2020-12-15T04:46:27.519Z] 93b9cdb0e59b: Waiting [2020-12-15T04:46:27.519Z] 93b61091891f: Waiting [2020-12-15T04:46:27.519Z] 5e14af77c1be: Waiting [2020-12-15T04:46:27.519Z] aa168da1d23b: Waiting [2020-12-15T04:46:27.519Z] 01666e4c0597: Waiting [2020-12-15T04:46:27.519Z] 36b3adc4ff6f: Verifying Checksum [2020-12-15T04:46:27.519Z] 36b3adc4ff6f: Download complete [2020-12-15T04:46:27.519Z] 46f8f816bc3b: Download complete [2020-12-15T04:46:27.783Z] df20fa9351a1: Verifying Checksum [2020-12-15T04:46:27.783Z] df20fa9351a1: Download complete [2020-12-15T04:46:27.783Z] 93b61091891f: Download complete [2020-12-15T04:46:27.783Z] 93b9cdb0e59b: Verifying Checksum [2020-12-15T04:46:27.783Z] 93b9cdb0e59b: Download complete [2020-12-15T04:46:27.783Z] 5e14af77c1be: Verifying Checksum [2020-12-15T04:46:27.783Z] 5e14af77c1be: Download complete [2020-12-15T04:46:27.783Z] 01666e4c0597: Verifying Checksum [2020-12-15T04:46:27.783Z] 01666e4c0597: Download complete [2020-12-15T04:46:28.049Z] 8ad3a11d3b57: Verifying Checksum [2020-12-15T04:46:28.049Z] 8ad3a11d3b57: Download complete [2020-12-15T04:46:28.049Z] df20fa9351a1: Pull complete [2020-12-15T04:46:28.312Z] 36b3adc4ff6f: Pull complete [2020-12-15T04:46:29.261Z] 8ad3a11d3b57: Pull complete [2020-12-15T04:46:29.840Z] 46f8f816bc3b: Pull complete [2020-12-15T04:46:30.104Z] aa168da1d23b: Download complete [2020-12-15T04:46:30.104Z] 93b61091891f: Pull complete [2020-12-15T04:46:30.372Z] 93b9cdb0e59b: Pull complete [2020-12-15T04:46:30.372Z] 5e14af77c1be: Pull complete [2020-12-15T04:46:30.638Z] 01666e4c0597: Pull complete [2020-12-15T04:46:38.863Z] aa168da1d23b: Pull complete [2020-12-15T04:46:38.863Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-15T04:46:38.863Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-15T04:46:38.863Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-15T04:46:39.051Z] prd-centos7-docker-4c-2g-16037 does not seem to be running inside a container [2020-12-15T04:46:39.106Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-15T04:46:41.948Z] $ docker top d3cced3b7641736546de077e56eca4e5d4c8b195519b95ee9c4e982be211a07c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-15T04:46:42.511Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-15T04:46:42.809Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-15T04:46:43.109Z] + ls /var/log/sa-host [2020-12-15T04:46:43.109Z] + sadf -c /var/log/sa-host/sa15 [2020-12-15T04:46:43.109Z] file_magic: OK [2020-12-15T04:46:43.109Z] HZ: Using current value: 100 [2020-12-15T04:46:43.109Z] file_header: OK [2020-12-15T04:46:43.109Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-15T04:46:43.109Z] Statistics: [2020-12-15T04:46:43.109Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-15T04:46:43.109Z] File successfully converted to sysstat format version 12.2.1 [2020-12-15T04:46:43.109Z] + sadf -c /var/log/sa-host/sa23 [2020-12-15T04:46:43.109Z] file_magic: OK [2020-12-15T04:46:43.109Z] HZ: Using current value: 100 [2020-12-15T04:46:43.109Z] file_header: OK [2020-12-15T04:46:43.109Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-15T04:46:43.109Z] Statistics: [2020-12-15T04:46:43.109Z] Hnuu...uuuununununu... [2020-12-15T04:46:43.109Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-15T04:46:43.345Z] provisioning config files... [2020-12-15T04:46:43.362Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4212807007746551002tmp [Pipeline] { [Pipeline] echo [2020-12-15T04:46:43.522Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:46:43.820Z] ---> create-netrc.sh [Pipeline] } [2020-12-15T04:46:43.830Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-15T04:46:43.940Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:46:44.239Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-15T04:46:44.251Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:46:44.551Z] ---> sudo-logs.sh [2020-12-15T04:46:44.551Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-15T04:46:44.562Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:46:44.858Z] ---> job-cost.sh [2020-12-15T04:46:44.858Z] lf-activate-venv: SKIPPING [2020-12-15T04:46:44.858Z] INFO: No Stack... [2020-12-15T04:46:45.803Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-15T04:46:46.377Z] INFO: Archiving Costs [Pipeline] echo [2020-12-15T04:46:46.392Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:46:46.693Z] ---> logs-deploy.sh [2020-12-15T04:46:46.693Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/94 [2020-12-15T04:46:46.693Z] INFO: archiving workspace using pattern(s): [2020-12-15T04:46:48.609Z] Archives upload complete. [2020-12-15T04:46:48.609Z] INFO: archiving logs to Nexus