Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 90bd167c5e008ca72793a95020c1bd222277a38a 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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-modbus-go, buildSnap:true] ========================================================= [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-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4448 in /w/workspace/xfoundry_device-modbus-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-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-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-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 90bd167c5e008ca72793a95020c1bd222277a38a (master) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-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-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 90bd167c5e008ca72793a95020c1bd222277a38a # timeout=10 Commit message: "Merge pull request #235 from weichou1229/issue-61" > git rev-list --no-walk 99df618622a9f54f94da4a2280a77aba81c63d12 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-11T14:52:47.337Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-11T14:52:47.427Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-11T14:52:47.455Z] ========================================================= [2021-05-11T14:52:47.455Z] EdgeX Global Pipelines Version Info [2021-05-11T14:52:47.455Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-11T14:52:49.015Z] ------------------- [2021-05-11T14:52:49.016Z] stable info: [2021-05-11T14:52:49.016Z] ------------------- [2021-05-11T14:52:49.016Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-11T14:52:49.016Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-11T14:52:49.016Z] Message: update stable to v1.0.191 [2021-05-11T14:52:49.959Z] ------------------- [2021-05-11T14:52:49.959Z] experimental info: [2021-05-11T14:52:49.959Z] ------------------- [2021-05-11T14:52:49.959Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-11T14:52:49.959Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-11T14:52:49.959Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-11T14:52:50.084Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-05-11T14:52:50.108Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-05-11T14:52:50.132Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-11T14:52:50.168Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-11T14:52:50.192Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-11T14:52:50.217Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-11T14:52:50.241Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-11T14:52:50.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-11T14:52:50.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-11T14:52:50.326Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-11T14:52:50.353Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-11T14:52:50.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo [2021-05-11T14:52:50.414Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-11T14:52:50.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-11T14:52:50.464Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-11T14:52:50.502Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-11T14:52:50.527Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T14:52:50.550Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T14:52:50.574Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-11T14:52:50.610Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-05-11T14:52:50.634Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-11T14:52:50.660Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-11T14:52:50.687Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-11T14:52:50.711Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-11T14:52:50.743Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-11T14:52:50.790Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-11T14:52:50.814Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-05-11T14:52:50.837Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-05-11T14:52:50.870Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-05-11T14:52:50.894Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 90bd167c5e008ca72793a95020c1bd222277a38a [Pipeline] echo [2021-05-11T14:52:50.919Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 90bd167 [Pipeline] echo [2021-05-11T14:52:50.942Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T14:52:51.030Z] provisioning config files... [2021-05-11T14:52:51.064Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config1712427623373716537tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T14:52:51.383Z] ---> docker-login.sh [2021-05-11T14:52:51.383Z] nexus3.edgexfoundry.org:10001 [2021-05-11T14:52:51.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:52:51.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:52:51.909Z] Configure a credential helper to remove this warning. See [2021-05-11T14:52:51.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:52:51.909Z] [2021-05-11T14:52:51.909Z] Login Succeeded [2021-05-11T14:52:51.909Z] nexus3.edgexfoundry.org:10002 [2021-05-11T14:52:51.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:52:51.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:52:51.909Z] Configure a credential helper to remove this warning. See [2021-05-11T14:52:51.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:52:51.909Z] [2021-05-11T14:52:51.909Z] Login Succeeded [2021-05-11T14:52:51.909Z] nexus3.edgexfoundry.org:10003 [2021-05-11T14:52:52.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:52:52.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:52:52.173Z] Configure a credential helper to remove this warning. See [2021-05-11T14:52:52.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:52:52.173Z] [2021-05-11T14:52:52.173Z] Login Succeeded [2021-05-11T14:52:52.173Z] nexus3.edgexfoundry.org:10004 [2021-05-11T14:52:52.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:52:52.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:52:52.436Z] Configure a credential helper to remove this warning. See [2021-05-11T14:52:52.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:52:52.436Z] [2021-05-11T14:52:52.436Z] Login Succeeded [2021-05-11T14:52:52.436Z] docker.io [2021-05-11T14:52:52.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:52:53.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:52:53.010Z] Configure a credential helper to remove this warning. See [2021-05-11T14:52:53.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:52:53.010Z] [2021-05-11T14:52:53.010Z] Login Succeeded [2021-05-11T14:52:53.010Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T14:52:53.019Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T14:52:53.504Z] + git log --format=format:%s -1 90bd167c5e008ca72793a95020c1bd222277a38a [Pipeline] echo [2021-05-11T14:52:53.579Z] GIT_COMMIT: 90bd167c5e008ca72793a95020c1bd222277a38a, Commit Message: Merge pull request #235 from weichou1229/issue-61 [Pipeline] echo [2021-05-11T14:52:53.593Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:52:54.586Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T14:52:54.587Z] [2021-05-11T14:52:54.587Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:52:54.915Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T14:52:54.915Z] latest: Pulling from edgex-devops/git-semver [2021-05-11T14:52:54.915Z] 31603596830f: Pulling fs layer [2021-05-11T14:52:54.915Z] 54011a49482f: Pulling fs layer [2021-05-11T14:52:54.915Z] a6820b24f6d8: Pulling fs layer [2021-05-11T14:52:54.915Z] f581987b2513: Pulling fs layer [2021-05-11T14:52:54.915Z] f581987b2513: Waiting [2021-05-11T14:52:54.915Z] 54011a49482f: Verifying Checksum [2021-05-11T14:52:54.915Z] 54011a49482f: Download complete [2021-05-11T14:52:54.915Z] 31603596830f: Verifying Checksum [2021-05-11T14:52:54.915Z] 31603596830f: Download complete [2021-05-11T14:52:55.182Z] f581987b2513: Verifying Checksum [2021-05-11T14:52:55.182Z] f581987b2513: Download complete [2021-05-11T14:52:55.182Z] a6820b24f6d8: Verifying Checksum [2021-05-11T14:52:55.182Z] a6820b24f6d8: Download complete [2021-05-11T14:52:55.449Z] 31603596830f: Pull complete [2021-05-11T14:52:55.449Z] 54011a49482f: Pull complete [2021-05-11T14:52:56.396Z] a6820b24f6d8: Pull complete [2021-05-11T14:52:56.659Z] f581987b2513: Pull complete [2021-05-11T14:52:56.659Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-11T14:52:56.659Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T14:52:56.659Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-11T14:52:56.759Z] prd-centos7-docker-4c-2g-4448 does not seem to be running inside a container [2021-05-11T14:52:56.810Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-11T14:52:59.249Z] $ docker top a55f25bc5015251a52074df63cd7907867f72cab808ae5ce60bda90b19bcbb35 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-11T14:52:59.391Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T14:52:59.391Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T14:52:59.611Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T14:52:59.615Z] $ docker exec a55f25bc5015251a52074df63cd7907867f72cab808ae5ce60bda90b19bcbb35 ssh-agent [2021-05-11T14:52:59.786Z] SSH_AUTH_SOCK=/tmp/ssh-HyBDfRjV8Sgg/agent.12 [2021-05-11T14:52:59.786Z] SSH_AGENT_PID=18 [2021-05-11T14:52:59.796Z] Running ssh-add (command line suppressed) [2021-05-11T14:52:59.911Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_1030428836652548009.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_1030428836652548009.key) [2021-05-11T14:52:59.962Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T14:53:00.263Z] + git tag --points-at HEAD [Pipeline] } [2021-05-11T14:53:00.280Z] $ docker exec --env ******** --env ******** a55f25bc5015251a52074df63cd7907867f72cab808ae5ce60bda90b19bcbb35 ssh-agent -k [2021-05-11T14:53:00.399Z] unset SSH_AUTH_SOCK; [2021-05-11T14:53:00.399Z] unset SSH_AGENT_PID; [2021-05-11T14:53:00.399Z] echo Agent pid 18 killed; [2021-05-11T14:53:00.445Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-11T14:53:00.486Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T14:53:00.486Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T14:53:00.654Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T14:53:00.657Z] $ docker exec a55f25bc5015251a52074df63cd7907867f72cab808ae5ce60bda90b19bcbb35 ssh-agent [2021-05-11T14:53:00.826Z] SSH_AUTH_SOCK=/tmp/ssh-Swh5UH1ifhBp/agent.47 [2021-05-11T14:53:00.826Z] SSH_AGENT_PID=53 [2021-05-11T14:53:00.833Z] Running ssh-add (command line suppressed) [2021-05-11T14:53:00.951Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4656872933359677741.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4656872933359677741.key) [2021-05-11T14:53:01.002Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T14:53:01.305Z] + git semver init [2021-05-11T14:53:01.305Z] # -> Open(): unable to determine branch for HEAD [2021-05-11T14:53:01.305Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-05-11T14:53:01.305Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-05-11T14:53:01.305Z] # $SEMVER_REMOTE_NAME = origin [2021-05-11T14:53:01.305Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-11T14:53:01.305Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-11T14:53:01.305Z] # $SEMVER_BRANCH = master [2021-05-11T14:53:01.305Z] # $SEMVER_TEMP = /tmp/semver-214475169 [2021-05-11T14:53:01.305Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-05-11T14:53:03.226Z] # '/tmp/semver-214475169' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' [2021-05-11T14:53:03.226Z] # -> Force: false [2021-05-11T14:53:03.226Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-05-11T14:53:03.239Z] $ docker exec --env ******** --env ******** a55f25bc5015251a52074df63cd7907867f72cab808ae5ce60bda90b19bcbb35 ssh-agent -k [2021-05-11T14:53:03.363Z] unset SSH_AUTH_SOCK; [2021-05-11T14:53:03.364Z] unset SSH_AGENT_PID; [2021-05-11T14:53:03.364Z] echo Agent pid 53 killed; [2021-05-11T14:53:03.411Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-11T14:53:03.747Z] + git semver [Pipeline] } [2021-05-11T14:53:03.765Z] $ docker stop --time=1 a55f25bc5015251a52074df63cd7907867f72cab808ae5ce60bda90b19bcbb35 [2021-05-11T14:53:05.102Z] $ docker rm -f a55f25bc5015251a52074df63cd7907867f72cab808ae5ce60bda90b19bcbb35 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T14:53:05.495Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-11T14:53:05.803Z] Stashed 1 file(s) [Pipeline] echo [2021-05-11T14:53:05.807Z] [edgeXSemver]: initialized semver on version 1.3.2-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 [2021-05-11T14:53:21.210Z] Still waiting to schedule task [2021-05-11T14:53:21.211Z] ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4443’ is offline; ‘prd-centos7-docker-4c-2g-4444’ is offline; ‘prd-centos7-docker-4c-2g-4447’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-11T14:53:21.214Z] Still waiting to schedule task [2021-05-11T14:53:21.214Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline [2021-05-11T14:54:17.862Z] Running on prd-centos7-docker-4c-2g-4451 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-05-11T14:54:17.881Z] Running in /w/workspace/device-modbus-go/45 [Pipeline] { [Pipeline] checkout [2021-05-11T14:54:20.528Z] using credential edgex-jenkins-ssh [2021-05-11T14:54:20.540Z] Cloning the remote Git repository [2021-05-11T14:54:20.303Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-05-11T14:54:20.379Z] > git init /w/workspace/device-modbus-go/45 # timeout=10 [2021-05-11T14:54:20.442Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-11T14:54:20.442Z] > git --version # timeout=10 [2021-05-11T14:54:20.449Z] > git --version # 'git version 2.24.3' [2021-05-11T14:54:20.449Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T14:54:20.479Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T14:54:21.676Z] Checking out Revision 90bd167c5e008ca72793a95020c1bd222277a38a (master) [2021-05-11T14:54:21.079Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-11T14:54:21.086Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T14:54:21.102Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-11T14:54:21.115Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-11T14:54:21.115Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T14:54:21.121Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T14:54:21.519Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T14:54:21.526Z] > git checkout -f 90bd167c5e008ca72793a95020c1bd222277a38a # timeout=10 [2021-05-11T14:54:25.264Z] Commit message: "Merge pull request #235 from weichou1229/issue-61" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T14:54:26.268Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-11T14:54:26.596Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-11T14:54:26.907Z] + sudo service docker restart [2021-05-11T14:54:26.907Z] + true [2021-05-11T14:54:26.907Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T14:54:27.895Z] provisioning config files... [2021-05-11T14:54:27.927Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/45@tmp/config2628633472074254167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T14:54:28.256Z] ---> docker-login.sh [2021-05-11T14:54:28.256Z] nexus3.edgexfoundry.org:10001 [2021-05-11T14:54:28.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:54:28.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:54:28.520Z] Configure a credential helper to remove this warning. See [2021-05-11T14:54:28.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:54:28.520Z] [2021-05-11T14:54:28.520Z] Login Succeeded [2021-05-11T14:54:28.520Z] nexus3.edgexfoundry.org:10002 [2021-05-11T14:54:28.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:54:28.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:54:28.784Z] Configure a credential helper to remove this warning. See [2021-05-11T14:54:28.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:54:28.784Z] [2021-05-11T14:54:28.784Z] Login Succeeded [2021-05-11T14:54:28.784Z] nexus3.edgexfoundry.org:10003 [2021-05-11T14:54:29.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:54:29.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:54:29.048Z] Configure a credential helper to remove this warning. See [2021-05-11T14:54:29.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:54:29.048Z] [2021-05-11T14:54:29.048Z] Login Succeeded [2021-05-11T14:54:29.048Z] nexus3.edgexfoundry.org:10004 [2021-05-11T14:54:29.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:54:29.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:54:29.312Z] Configure a credential helper to remove this warning. See [2021-05-11T14:54:29.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:54:29.312Z] [2021-05-11T14:54:29.312Z] Login Succeeded [2021-05-11T14:54:29.312Z] docker.io [2021-05-11T14:54:29.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:54:29.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:54:29.886Z] Configure a credential helper to remove this warning. See [2021-05-11T14:54:29.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:54:29.886Z] [2021-05-11T14:54:29.886Z] Login Succeeded [2021-05-11T14:54:29.886Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T14:54:29.895Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-11T14:54:30.077Z] ========================================================= [2021-05-11T14:54:30.077Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-11T14:54:30.077Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:54:30.388Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-11T14:54:30.388Z] Sending build context to Docker daemon 591.9kB [2021-05-11T14:54:30.388Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-11T14:54:30.388Z] Step 2/8 : FROM ${BASE} [2021-05-11T14:54:30.652Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-11T14:54:30.652Z] 540db60ca938: Pulling fs layer [2021-05-11T14:54:30.652Z] adcc1eea9eea: Pulling fs layer [2021-05-11T14:54:30.652Z] 4c4ab2625f07: Pulling fs layer [2021-05-11T14:54:30.652Z] 0510c868ecb4: Pulling fs layer [2021-05-11T14:54:30.652Z] afea3b2eda06: Pulling fs layer [2021-05-11T14:54:30.652Z] 7809a108b3ef: Pulling fs layer [2021-05-11T14:54:30.652Z] f706445af74f: Pulling fs layer [2021-05-11T14:54:30.652Z] 0510c868ecb4: Waiting [2021-05-11T14:54:30.652Z] afea3b2eda06: Waiting [2021-05-11T14:54:30.652Z] 7809a108b3ef: Waiting [2021-05-11T14:54:30.652Z] f706445af74f: Waiting [2021-05-11T14:54:30.652Z] 4c4ab2625f07: Verifying Checksum [2021-05-11T14:54:30.652Z] 4c4ab2625f07: Download complete [2021-05-11T14:54:30.652Z] adcc1eea9eea: Download complete [2021-05-11T14:54:30.652Z] afea3b2eda06: Verifying Checksum [2021-05-11T14:54:30.652Z] afea3b2eda06: Download complete [2021-05-11T14:54:30.652Z] 7809a108b3ef: Download complete [2021-05-11T14:54:30.652Z] 540db60ca938: Verifying Checksum [2021-05-11T14:54:30.652Z] 540db60ca938: Download complete [2021-05-11T14:54:30.916Z] 540db60ca938: Pull complete [2021-05-11T14:54:31.179Z] adcc1eea9eea: Pull complete [2021-05-11T14:54:31.179Z] 4c4ab2625f07: Pull complete [2021-05-11T14:54:32.574Z] f706445af74f: Verifying Checksum [2021-05-11T14:54:32.575Z] f706445af74f: Download complete [2021-05-11T14:54:33.523Z] 0510c868ecb4: Verifying Checksum [2021-05-11T14:54:33.523Z] 0510c868ecb4: Download complete [2021-05-11T14:54:40.176Z] 0510c868ecb4: Pull complete [2021-05-11T14:54:40.176Z] afea3b2eda06: Pull complete [2021-05-11T14:54:40.176Z] 7809a108b3ef: Pull complete [2021-05-11T14:54:43.543Z] f706445af74f: Pull complete [2021-05-11T14:54:43.543Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-11T14:54:43.543Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-11T14:54:43.543Z] ---> b068be0155e3 [2021-05-11T14:54:43.543Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-11T14:54:44.947Z] ---> Running in 22aab5ee68e8 [2021-05-11T14:54:44.947Z] Removing intermediate container 22aab5ee68e8 [2021-05-11T14:54:44.947Z] ---> 7ffda5a839fc [2021-05-11T14:54:44.947Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T14:54:44.947Z] ---> Running in 17a9f644c367 [2021-05-11T14:54:46.349Z] Removing intermediate container 17a9f644c367 [2021-05-11T14:54:46.349Z] ---> 89bc826bea0c [2021-05-11T14:54:46.349Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-11T14:54:46.349Z] ---> Running in eb1805f4c611 [2021-05-11T14:54:47.297Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T14:54:49.851Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T14:54:50.112Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-11T14:54:50.375Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-11T14:54:50.375Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-11T14:54:50.644Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-11T14:54:50.906Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-11T14:54:50.906Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-11T14:54:51.167Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-11T14:54:51.741Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-11T14:54:52.002Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-11T14:54:52.002Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-11T14:54:52.265Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-11T14:54:52.526Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-11T14:54:52.526Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-11T14:54:52.794Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T14:54:52.794Z] OK: 156 MiB in 53 packages [2021-05-11T14:54:53.741Z] Removing intermediate container eb1805f4c611 [2021-05-11T14:54:53.741Z] ---> a87c9dcd13f1 [2021-05-11T14:54:53.741Z] Step 6/8 : WORKDIR /device-modbus-go [2021-05-11T14:54:53.741Z] ---> Running in db8ac3471ed5 [2021-05-11T14:54:53.741Z] Removing intermediate container db8ac3471ed5 [2021-05-11T14:54:53.741Z] ---> 5699730621c6 [2021-05-11T14:54:53.741Z] Step 7/8 : COPY . . [2021-05-11T14:54:54.701Z] ---> 8ac1413fd61f [2021-05-11T14:54:54.701Z] Step 8/8 : RUN go mod download [2021-05-11T14:54:54.701Z] ---> Running in 1d2c1032c145 [2021-05-11T14:55:00.307Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4452 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-05-11T14:55:00.327Z] Running in /w/workspace/device-modbus-go/45 [Pipeline] { [Pipeline] checkout [2021-05-11T14:55:05.871Z] using credential edgex-jenkins-ssh [2021-05-11T14:55:05.913Z] Cloning the remote Git repository [2021-05-11T14:55:05.963Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-05-11T14:55:06.074Z] > git init /w/workspace/device-modbus-go/45 # timeout=10 [2021-05-11T14:55:06.251Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-11T14:55:06.253Z] > git --version # timeout=10 [2021-05-11T14:55:06.321Z] > git --version # 'git version 2.17.1' [2021-05-11T14:55:06.323Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T14:55:06.422Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T14:55:07.593Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-11T14:55:07.609Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T14:55:07.636Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-11T14:55:07.677Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-11T14:55:07.678Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T14:55:07.690Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T14:55:08.356Z] Checking out Revision 90bd167c5e008ca72793a95020c1bd222277a38a (master) [2021-05-11T14:55:08.371Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T14:55:08.399Z] > git checkout -f 90bd167c5e008ca72793a95020c1bd222277a38a # timeout=10 [2021-05-11T14:55:12.609Z] Commit message: "Merge pull request #235 from weichou1229/issue-61" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T14:55:14.023Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-11T14:55:14.443Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-11T14:55:14.784Z] + true [2021-05-11T14:55:14.785Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T14:55:17.490Z] provisioning config files... [2021-05-11T14:55:17.533Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/45@tmp/config7679487603108872525tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T14:55:17.987Z] ---> docker-login.sh [2021-05-11T14:55:17.988Z] nexus3.edgexfoundry.org:10001 [2021-05-11T14:55:18.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:55:19.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:55:19.250Z] Configure a credential helper to remove this warning. See [2021-05-11T14:55:19.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:55:19.250Z] [2021-05-11T14:55:19.250Z] Login Succeeded [2021-05-11T14:55:19.250Z] nexus3.edgexfoundry.org:10002 [2021-05-11T14:55:19.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:55:19.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:55:19.524Z] Configure a credential helper to remove this warning. See [2021-05-11T14:55:19.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:55:19.524Z] [2021-05-11T14:55:19.524Z] Login Succeeded [2021-05-11T14:55:19.524Z] nexus3.edgexfoundry.org:10003 [2021-05-11T14:55:20.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:55:20.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:55:20.118Z] Configure a credential helper to remove this warning. See [2021-05-11T14:55:20.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:55:20.118Z] [2021-05-11T14:55:20.118Z] Login Succeeded [2021-05-11T14:55:20.118Z] nexus3.edgexfoundry.org:10004 [2021-05-11T14:55:20.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:55:20.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:55:20.661Z] Configure a credential helper to remove this warning. See [2021-05-11T14:55:20.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:55:20.661Z] [2021-05-11T14:55:20.661Z] Login Succeeded [2021-05-11T14:55:20.661Z] docker.io [2021-05-11T14:55:20.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:55:21.372Z] Removing intermediate container 1d2c1032c145 [2021-05-11T14:55:21.372Z] ---> 9a2aa9d3ba36 [2021-05-11T14:55:21.372Z] Successfully built 9a2aa9d3ba36 [2021-05-11T14:55:21.372Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:55:21.694Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T14:55:21.694Z] . [Pipeline] withDockerContainer [2021-05-11T14:55:21.824Z] prd-centos7-docker-4c-2g-4451 does not seem to be running inside a container [2021-05-11T14:55:21.871Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/45 -v /w/workspace/device-modbus-go/45:/w/workspace/device-modbus-go/45:rw,z -v /w/workspace/device-modbus-go/45@tmp:/w/workspace/device-modbus-go/45@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 [2021-05-11T14:55:22.763Z] $ docker top 66463d221db154120d443a40f02098868323da364be6ac7d70763ee907a22c04 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T14:55:22.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:55:22.905Z] Configure a credential helper to remove this warning. See [2021-05-11T14:55:22.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:55:22.905Z] [2021-05-11T14:55:22.905Z] Login Succeeded [2021-05-11T14:55:22.905Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T14:55:22.935Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-05-11T14:55:23.189Z] + go version [2021-05-11T14:55:23.189Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-11T14:55:23.205Z] $ docker stop --time=1 66463d221db154120d443a40f02098868323da364be6ac7d70763ee907a22c04 [2021-05-11T14:55:24.554Z] $ docker rm -f 66463d221db154120d443a40f02098868323da364be6ac7d70763ee907a22c04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] echo [2021-05-11T14:55:24.671Z] ========================================================= [2021-05-11T14:55:24.671Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-11T14:55:24.671Z] ========================================================= [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:55:25.048Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-11T14:55:25.122Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T14:55:25.122Z] . [Pipeline] withDockerContainer [2021-05-11T14:55:25.221Z] prd-centos7-docker-4c-2g-4451 does not seem to be running inside a container [2021-05-11T14:55:25.278Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/45 -v /w/workspace/device-modbus-go/45:/w/workspace/device-modbus-go/45:rw,z -v /w/workspace/device-modbus-go/45@tmp:/w/workspace/device-modbus-go/45@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 [2021-05-11T14:55:25.322Z] Sending build context to Docker daemon 590.8kB [2021-05-11T14:55:25.322Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-11T14:55:25.322Z] Step 2/8 : FROM ${BASE} [2021-05-11T14:55:25.610Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-11T14:55:25.610Z] 595b0fe564bb: Pulling fs layer [2021-05-11T14:55:25.610Z] 7186ed65a4f7: Pulling fs layer [2021-05-11T14:55:25.610Z] 316046926c0a: Pulling fs layer [2021-05-11T14:55:25.610Z] 4ebd0625c992: Pulling fs layer [2021-05-11T14:55:25.610Z] 207e8628e3a3: Pulling fs layer [2021-05-11T14:55:25.610Z] c791037a9be2: Pulling fs layer [2021-05-11T14:55:25.610Z] ffd874e62e21: Pulling fs layer [2021-05-11T14:55:25.610Z] 207e8628e3a3: Waiting [2021-05-11T14:55:25.610Z] c791037a9be2: Waiting [2021-05-11T14:55:25.610Z] ffd874e62e21: Waiting [2021-05-11T14:55:25.610Z] 4ebd0625c992: Waiting [2021-05-11T14:55:25.610Z] 316046926c0a: Verifying Checksum [2021-05-11T14:55:25.610Z] 316046926c0a: Download complete [2021-05-11T14:55:25.610Z] 7186ed65a4f7: Verifying Checksum [2021-05-11T14:55:25.610Z] 7186ed65a4f7: Download complete [2021-05-11T14:55:25.610Z] 207e8628e3a3: Verifying Checksum [2021-05-11T14:55:25.610Z] 207e8628e3a3: Download complete [2021-05-11T14:55:25.610Z] c791037a9be2: Verifying Checksum [2021-05-11T14:55:25.610Z] c791037a9be2: Download complete [2021-05-11T14:55:25.610Z] 595b0fe564bb: Verifying Checksum [2021-05-11T14:55:25.610Z] 595b0fe564bb: Download complete [2021-05-11T14:55:25.892Z] $ docker top 5272bd96e5e34d1baea6d67522ad2264aa4780780eb44444ae7cf0abb640eb5b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T14:55:26.434Z] + go mod tidy [2021-05-11T14:55:26.615Z] 595b0fe564bb: Pull complete [Pipeline] sh [2021-05-11T14:55:27.214Z] 7186ed65a4f7: Pull complete [2021-05-11T14:55:27.338Z] + make test [2021-05-11T14:55:27.338Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-11T14:55:27.492Z] 316046926c0a: Pull complete [2021-05-11T14:55:27.764Z] ffd874e62e21: Download complete [2021-05-11T14:55:28.296Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-05-11T14:55:28.738Z] 4ebd0625c992: Verifying Checksum [2021-05-11T14:55:28.738Z] 4ebd0625c992: Download complete [2021-05-11T14:55:41.166Z] 4ebd0625c992: Pull complete [2021-05-11T14:55:41.166Z] 207e8628e3a3: Pull complete [2021-05-11T14:55:41.166Z] c791037a9be2: Pull complete [2021-05-11T14:55:43.811Z] ffd874e62e21: Pull complete [2021-05-11T14:55:43.811Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-11T14:55:43.811Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-11T14:55:43.811Z] ---> cfc18b08335c [2021-05-11T14:55:43.811Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-11T14:55:46.421Z] ---> Running in 1371dd90261c [2021-05-11T14:55:46.608Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-05-11T14:55:47.022Z] Removing intermediate container 1371dd90261c [2021-05-11T14:55:47.022Z] ---> 2d9ac0d692dd [2021-05-11T14:55:47.022Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T14:55:47.022Z] ---> Running in 843a6897f40c [2021-05-11T14:55:47.190Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.7% of statements [2021-05-11T14:55:47.455Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-11T14:55:49.638Z] Removing intermediate container 843a6897f40c [2021-05-11T14:55:49.638Z] ---> d91aaedc92da [2021-05-11T14:55:49.638Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-11T14:55:49.638Z] ---> Running in b25adbc4ec51 [2021-05-11T14:55:50.229Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T14:55:52.230Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T14:55:54.206Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-11T14:55:54.206Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-11T14:55:54.206Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-11T14:55:54.474Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-11T14:55:54.474Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-11T14:55:54.746Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-11T14:55:55.020Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-11T14:55:55.612Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-11T14:55:55.612Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-11T14:55:55.682Z] gofmt -l . [2021-05-11T14:55:55.682Z] [ "`gofmt -l .`" = "" ] [2021-05-11T14:55:55.682Z] ./bin/test-attribution-txt.sh [2021-05-11T14:55:55.883Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-11T14:55:55.947Z] ./bin/test-go-mod-tidy.sh [2021-05-11T14:55:56.153Z] (11/13) Installing openssh (8.4_p1-r3) [Pipeline] } [2021-05-11T14:55:56.229Z] $ docker stop --time=1 5272bd96e5e34d1baea6d67522ad2264aa4780780eb44444ae7cf0abb640eb5b [2021-05-11T14:55:56.424Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-11T14:55:56.424Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-11T14:55:56.696Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T14:55:56.696Z] OK: 145 MiB in 53 packages [2021-05-11T14:55:57.974Z] $ docker rm -f 5272bd96e5e34d1baea6d67522ad2264aa4780780eb44444ae7cf0abb640eb5b [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T14:55:58.534Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-11T14:55:58.675Z] Removing intermediate container b25adbc4ec51 [2021-05-11T14:55:58.675Z] ---> 9e314a8860f7 [2021-05-11T14:55:58.675Z] Step 6/8 : WORKDIR /device-modbus-go [2021-05-11T14:55:58.675Z] ---> Running in a1e545596309 [2021-05-11T14:55:58.860Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-05-11T14:55:58.974Z] Removing intermediate container a1e545596309 [2021-05-11T14:55:58.974Z] ---> 19244e504032 [2021-05-11T14:55:58.975Z] Step 7/8 : COPY . . [2021-05-11T14:55:59.958Z] ---> 475e1b5d7ac5 [2021-05-11T14:55:59.958Z] Step 8/8 : RUN go mod download [2021-05-11T14:55:59.958Z] ---> Running in 798d507d123f [Pipeline] sh [2021-05-11T14:56:02.352Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-11T14:56:02.659Z] + ls -al . [2021-05-11T14:56:02.659Z] total 112 [2021-05-11T14:56:02.659Z] drwxrwxr-x. 9 jenkins jenkins 4096 May 11 14:55 . [2021-05-11T14:56:02.659Z] drwxrwxr-x. 4 jenkins jenkins 30 May 11 14:54 .. [2021-05-11T14:56:02.659Z] -rw-rw-r--. 1 jenkins jenkins 7707 May 11 14:54 Attribution.txt [2021-05-11T14:56:02.659Z] drwxrwxr-x. 2 jenkins jenkins 87 May 11 14:54 bin [2021-05-11T14:56:02.659Z] drwxrwxr-x. 3 jenkins jenkins 32 May 11 14:54 cmd [2021-05-11T14:56:02.659Z] -rw-r--r--. 1 jenkins jenkins 22385 May 11 14:55 coverage.out [2021-05-11T14:56:02.659Z] -rw-rw-r--. 1 jenkins jenkins 1457 May 11 14:54 Dockerfile [2021-05-11T14:56:02.659Z] -rw-rw-r--. 1 jenkins jenkins 995 May 11 14:54 Dockerfile.build [2021-05-11T14:56:02.659Z] -rw-rw-r--. 1 jenkins jenkins 140 May 11 14:54 .dockerignore [2021-05-11T14:56:02.659Z] drwxrwxr-x. 8 jenkins jenkins 162 May 11 14:54 .git [2021-05-11T14:56:02.659Z] drwxrwxr-x. 2 jenkins jenkins 103 May 11 14:54 .github [2021-05-11T14:56:02.659Z] -rw-rw-r--. 1 jenkins jenkins 338 May 11 14:54 .gitignore [2021-05-11T14:56:02.659Z] -rw-r--r--. 1 jenkins jenkins 413 May 11 14:55 go.mod [2021-05-11T14:56:02.659Z] -rw-r--r--. 1 jenkins jenkins 21839 May 11 14:55 go.sum [2021-05-11T14:56:02.659Z] drwxrwxr-x. 3 jenkins jenkins 20 May 11 14:54 internal [2021-05-11T14:56:02.659Z] -rw-rw-r--. 1 jenkins jenkins 679 May 11 14:54 Jenkinsfile [2021-05-11T14:56:02.659Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 11 14:54 LICENSE [2021-05-11T14:56:02.659Z] -rw-rw-r--. 1 jenkins jenkins 910 May 11 14:54 Makefile [2021-05-11T14:56:02.659Z] -rw-rw-r--. 1 jenkins jenkins 2897 May 11 14:54 README.md [2021-05-11T14:56:02.659Z] drwxrwxr-x. 2 jenkins jenkins 52 May 11 14:54 simulator [2021-05-11T14:56:02.659Z] drwxrwxr-x. 4 jenkins jenkins 71 May 11 14:54 snap [2021-05-11T14:56:02.659Z] -rw-rw-r--. 1 jenkins jenkins 11 May 11 14:53 VERSION [2021-05-11T14:56:02.659Z] -rw-rw-r--. 1 jenkins jenkins 229 May 11 14:54 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:56:02.970Z] + docker build -t docker-device-modbus-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=90bd167c5e008ca72793a95020c1bd222277a38a --label arch=amd64 --label version=1.3.2-dev.7 . [2021-05-11T14:56:03.233Z] Sending build context to Docker daemon 614.9kB [2021-05-11T14:56:03.233Z] Step 1/21 : ARG BASE=golang:1.15-alpine3.12 [2021-05-11T14:56:03.233Z] Step 2/21 : FROM ${BASE} AS builder [2021-05-11T14:56:03.233Z] ---> 9a2aa9d3ba36 [2021-05-11T14:56:03.233Z] Step 3/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T14:56:03.498Z] ---> Running in 754468d7dc68 [2021-05-11T14:56:04.443Z] Removing intermediate container 754468d7dc68 [2021-05-11T14:56:04.443Z] ---> 89bafe8c9f09 [2021-05-11T14:56:04.443Z] Step 4/21 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-11T14:56:04.708Z] ---> Running in 8a0ec7fa1311 [2021-05-11T14:56:05.284Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T14:56:06.674Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T14:56:07.651Z] OK: 156 MiB in 53 packages [2021-05-11T14:56:08.227Z] Removing intermediate container 8a0ec7fa1311 [2021-05-11T14:56:08.227Z] ---> 47cd128fe4cd [2021-05-11T14:56:08.227Z] Step 5/21 : WORKDIR /device-modbus-go [2021-05-11T14:56:08.227Z] ---> Running in 2a80021cfa78 [2021-05-11T14:56:08.227Z] Removing intermediate container 2a80021cfa78 [2021-05-11T14:56:08.227Z] ---> e1afa9f388ca [2021-05-11T14:56:08.227Z] Step 6/21 : COPY . . [2021-05-11T14:56:09.185Z] ---> 1af7b5a4c735 [2021-05-11T14:56:09.185Z] Step 7/21 : RUN go mod download [2021-05-11T14:56:09.185Z] ---> Running in 7c9e82b74125 [2021-05-11T14:56:11.131Z] Removing intermediate container 7c9e82b74125 [2021-05-11T14:56:11.131Z] ---> e411686b3441 [2021-05-11T14:56:11.131Z] Step 8/21 : RUN make build [2021-05-11T14:56:11.131Z] ---> Running in eac8b4516fe8 [2021-05-11T14:56:11.396Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.7" -o cmd/device-modbus ./cmd [2021-05-11T14:56:23.760Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-11T14:56:27.738Z] Removing intermediate container 798d507d123f [2021-05-11T14:56:27.738Z] ---> 91fc7aef7b6e [2021-05-11T14:56:27.738Z] Successfully built 91fc7aef7b6e [2021-05-11T14:56:27.738Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:56:27.994Z] Removing intermediate container eac8b4516fe8 [2021-05-11T14:56:27.994Z] ---> 211a138f08b3 [2021-05-11T14:56:27.994Z] Step 9/21 : FROM alpine:3.12 [2021-05-11T14:56:27.994Z] 3.12: Pulling from library/alpine [2021-05-11T14:56:27.994Z] 339de151aab4: Pulling fs layer [2021-05-11T14:56:28.116Z] + docker inspect -f . ci-base-image-arm64 [2021-05-11T14:56:28.116Z] . [Pipeline] withDockerContainer [2021-05-11T14:56:28.397Z] prd-ubuntu18.04-docker-arm64-4c-16g-4452 does not seem to be running inside a container [2021-05-11T14:56:28.481Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/45 -v /w/workspace/device-modbus-go/45:/w/workspace/device-modbus-go/45:rw,z -v /w/workspace/device-modbus-go/45@tmp:/w/workspace/device-modbus-go/45@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-11T14:56:28.592Z] 339de151aab4: Verifying Checksum [2021-05-11T14:56:28.592Z] 339de151aab4: Download complete [2021-05-11T14:56:28.592Z] 339de151aab4: Pull complete [2021-05-11T14:56:29.550Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-11T14:56:29.550Z] Status: Downloaded newer image for alpine:3.12 [2021-05-11T14:56:29.550Z] ---> 13621d1b12d4 [2021-05-11T14:56:29.550Z] Step 10/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-05-11T14:56:29.550Z] ---> Running in fa296d84f135 [2021-05-11T14:56:29.836Z] Removing intermediate container fa296d84f135 [2021-05-11T14:56:29.836Z] ---> 4320ddfc1f8c [2021-05-11T14:56:29.836Z] Step 11/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T14:56:29.836Z] ---> Running in 62e799ec2624 [2021-05-11T14:56:30.189Z] $ docker top b1eb2295e083898e62df5ab7e901b07c4ad3da958499347e1eeb0df1d2e08bba -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T14:56:30.809Z] Removing intermediate container 62e799ec2624 [2021-05-11T14:56:30.809Z] ---> ca7238298474 [2021-05-11T14:56:30.809Z] Step 12/21 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-11T14:56:31.073Z] ---> Running in 829782a3e818 [2021-05-11T14:56:31.163Z] + go version [2021-05-11T14:56:31.163Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-11T14:56:31.181Z] $ docker stop --time=1 b1eb2295e083898e62df5ab7e901b07c4ad3da958499347e1eeb0df1d2e08bba [2021-05-11T14:56:31.647Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-11T14:56:33.053Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-11T14:56:33.054Z] $ docker rm -f b1eb2295e083898e62df5ab7e901b07c4ad3da958499347e1eeb0df1d2e08bba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:56:33.761Z] + docker inspect -f . ci-base-image-arm64 [2021-05-11T14:56:33.762Z] . [Pipeline] withDockerContainer [2021-05-11T14:56:34.013Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-11T14:56:34.013Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-11T14:56:34.013Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-11T14:56:34.050Z] prd-ubuntu18.04-docker-arm64-4c-16g-4452 does not seem to be running inside a container [2021-05-11T14:56:34.150Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/45 -v /w/workspace/device-modbus-go/45:/w/workspace/device-modbus-go/45:rw,z -v /w/workspace/device-modbus-go/45@tmp:/w/workspace/device-modbus-go/45@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-11T14:56:34.280Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-11T14:56:35.749Z] $ docker top 31c80f8cfe9fbba1bb1ac0df806efcb9755eb3f938ce63947c1725300f4f9534 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T14:56:36.230Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-11T14:56:36.230Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-11T14:56:36.230Z] Executing busybox-1.31.1-r20.trigger [2021-05-11T14:56:36.230Z] OK: 8 MiB in 20 packages [2021-05-11T14:56:36.725Z] + go mod tidy [2021-05-11T14:56:36.823Z] Removing intermediate container 829782a3e818 [2021-05-11T14:56:36.823Z] ---> c38cefb2ffbf [2021-05-11T14:56:36.823Z] Step 13/21 : COPY --from=builder /device-modbus-go/cmd / [Pipeline] sh [2021-05-11T14:56:37.402Z] ---> 587f538a9dc5 [2021-05-11T14:56:37.403Z] Step 14/21 : COPY --from=builder /device-modbus-go/LICENSE / [2021-05-11T14:56:37.670Z] ---> 511001f7de02 [2021-05-11T14:56:37.670Z] Step 15/21 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-05-11T14:56:37.935Z] ---> f1040e319b1d [2021-05-11T14:56:37.935Z] Step 16/21 : EXPOSE 49991 [2021-05-11T14:56:37.985Z] + make test [2021-05-11T14:56:37.985Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-11T14:56:38.207Z] ---> Running in 6db4be8b596d [2021-05-11T14:56:38.207Z] Removing intermediate container 6db4be8b596d [2021-05-11T14:56:38.207Z] ---> 89a276e230a0 [2021-05-11T14:56:38.207Z] Step 17/21 : ENTRYPOINT ["/device-modbus"] [2021-05-11T14:56:38.207Z] ---> Running in 85113bbe9a1f [2021-05-11T14:56:38.475Z] Removing intermediate container 85113bbe9a1f [2021-05-11T14:56:38.475Z] ---> cdbd446d7147 [2021-05-11T14:56:38.475Z] Step 18/21 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-11T14:56:38.475Z] ---> Running in f94cd95ff15f [2021-05-11T14:56:38.738Z] Removing intermediate container f94cd95ff15f [2021-05-11T14:56:38.738Z] ---> e0eab65bc223 [2021-05-11T14:56:38.738Z] Step 19/21 : LABEL arch=amd64 [2021-05-11T14:56:38.738Z] ---> Running in 32d9633da332 [2021-05-11T14:56:38.972Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-05-11T14:56:39.001Z] Removing intermediate container 32d9633da332 [2021-05-11T14:56:39.001Z] ---> 385b6588e865 [2021-05-11T14:56:39.001Z] Step 20/21 : LABEL git_sha=90bd167c5e008ca72793a95020c1bd222277a38a [2021-05-11T14:56:39.001Z] ---> Running in 81369b059bce [2021-05-11T14:56:39.264Z] Removing intermediate container 81369b059bce [2021-05-11T14:56:39.264Z] ---> 8bf8b88912a8 [2021-05-11T14:56:39.264Z] Step 21/21 : LABEL version=1.3.2-dev.7 [2021-05-11T14:56:39.264Z] ---> Running in 3804f0872214 [2021-05-11T14:56:39.528Z] Removing intermediate container 3804f0872214 [2021-05-11T14:56:39.528Z] ---> fb8ec81f9f01 [2021-05-11T14:56:39.528Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-11T14:56:39.528Z] Successfully built fb8ec81f9f01 [2021-05-11T14:56:39.528Z] Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T14:56:39.664Z] provisioning config files... [2021-05-11T14:56:39.697Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/45@tmp/config8606493884409236802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T14:56:40.027Z] ---> docker-login.sh [2021-05-11T14:56:40.027Z] nexus3.edgexfoundry.org:10001 [2021-05-11T14:56:40.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:56:40.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:56:40.289Z] Configure a credential helper to remove this warning. See [2021-05-11T14:56:40.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:56:40.289Z] [2021-05-11T14:56:40.553Z] Login Succeeded [2021-05-11T14:56:40.553Z] nexus3.edgexfoundry.org:10002 [2021-05-11T14:56:40.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:56:40.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:56:40.553Z] Configure a credential helper to remove this warning. See [2021-05-11T14:56:40.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:56:40.553Z] [2021-05-11T14:56:40.553Z] Login Succeeded [2021-05-11T14:56:40.553Z] nexus3.edgexfoundry.org:10003 [2021-05-11T14:56:40.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:56:40.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:56:40.819Z] Configure a credential helper to remove this warning. See [2021-05-11T14:56:40.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:56:40.819Z] [2021-05-11T14:56:40.819Z] Login Succeeded [2021-05-11T14:56:40.819Z] nexus3.edgexfoundry.org:10004 [2021-05-11T14:56:41.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:56:41.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:56:41.083Z] Configure a credential helper to remove this warning. See [2021-05-11T14:56:41.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:56:41.083Z] [2021-05-11T14:56:41.083Z] Login Succeeded [2021-05-11T14:56:41.083Z] docker.io [2021-05-11T14:56:41.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:56:41.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:56:41.659Z] Configure a credential helper to remove this warning. See [2021-05-11T14:56:41.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:56:41.659Z] [2021-05-11T14:56:41.659Z] Login Succeeded [2021-05-11T14:56:41.659Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T14:56:41.672Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-11T14:56:41.740Z] [edgeXDocker.push] Tagging docker image docker-device-modbus-go with the following tags: [2021-05-11T14:56:41.740Z] 90bd167c5e008ca72793a95020c1bd222277a38a [2021-05-11T14:56:41.740Z] latest [2021-05-11T14:56:41.740Z] 1.3.2-dev.7 [2021-05-11T14:56:41.740Z] 90bd167c5e008ca72793a95020c1bd222277a38a-1.3.2-dev.7 [2021-05-11T14:56:41.740Z] master [2021-05-11T14:56:41.740Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:56:42.099Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:90bd167c5e008ca72793a95020c1bd222277a38a [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:56:42.401Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:90bd167c5e008ca72793a95020c1bd222277a38a [2021-05-11T14:56:42.401Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-05-11T14:56:42.401Z] 76f7941b692f: Preparing [2021-05-11T14:56:42.401Z] b22986dc3a64: Preparing [2021-05-11T14:56:42.401Z] cccac073e5cc: Preparing [2021-05-11T14:56:42.401Z] 265417a74018: Preparing [2021-05-11T14:56:42.401Z] 9a1fe7003dbb: Preparing [2021-05-11T14:56:42.401Z] 32f366d666a5: Preparing [2021-05-11T14:56:42.401Z] 32f366d666a5: Waiting [2021-05-11T14:56:42.665Z] 9a1fe7003dbb: Pushed [2021-05-11T14:56:42.665Z] 76f7941b692f: Pushed [2021-05-11T14:56:42.665Z] b22986dc3a64: Pushed [2021-05-11T14:56:42.665Z] 32f366d666a5: Layer already exists [2021-05-11T14:56:42.665Z] 265417a74018: Pushed [2021-05-11T14:56:43.614Z] cccac073e5cc: Pushed [2021-05-11T14:56:43.892Z] 90bd167c5e008ca72793a95020c1bd222277a38a: digest: sha256:1cfcc2b7f44a628fe9e1e9ed8d70697a729c8833e7af318e1edd563e79860ba0 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:56:44.216Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:56:44.519Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [2021-05-11T14:56:44.519Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-05-11T14:56:44.519Z] 76f7941b692f: Preparing [2021-05-11T14:56:44.519Z] b22986dc3a64: Preparing [2021-05-11T14:56:44.519Z] cccac073e5cc: Preparing [2021-05-11T14:56:44.519Z] 265417a74018: Preparing [2021-05-11T14:56:44.519Z] 9a1fe7003dbb: Preparing [2021-05-11T14:56:44.519Z] 32f366d666a5: Preparing [2021-05-11T14:56:44.519Z] 32f366d666a5: Waiting [2021-05-11T14:56:44.786Z] 265417a74018: Layer already exists [2021-05-11T14:56:44.786Z] 76f7941b692f: Layer already exists [2021-05-11T14:56:44.786Z] b22986dc3a64: Layer already exists [2021-05-11T14:56:44.786Z] cccac073e5cc: Layer already exists [2021-05-11T14:56:44.786Z] 9a1fe7003dbb: Layer already exists [2021-05-11T14:56:44.786Z] 32f366d666a5: Layer already exists [2021-05-11T14:56:45.049Z] latest: digest: sha256:1cfcc2b7f44a628fe9e1e9ed8d70697a729c8833e7af318e1edd563e79860ba0 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:56:45.371Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.2-dev.7 [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:56:45.675Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.2-dev.7 [2021-05-11T14:56:45.675Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-05-11T14:56:45.675Z] 76f7941b692f: Preparing [2021-05-11T14:56:45.675Z] b22986dc3a64: Preparing [2021-05-11T14:56:45.675Z] cccac073e5cc: Preparing [2021-05-11T14:56:45.675Z] 265417a74018: Preparing [2021-05-11T14:56:45.675Z] 9a1fe7003dbb: Preparing [2021-05-11T14:56:45.675Z] 32f366d666a5: Preparing [2021-05-11T14:56:45.675Z] 32f366d666a5: Waiting [2021-05-11T14:56:45.675Z] 76f7941b692f: Layer already exists [2021-05-11T14:56:45.675Z] 9a1fe7003dbb: Layer already exists [2021-05-11T14:56:45.675Z] 265417a74018: Layer already exists [2021-05-11T14:56:45.675Z] b22986dc3a64: Layer already exists [2021-05-11T14:56:45.675Z] cccac073e5cc: Layer already exists [2021-05-11T14:56:45.675Z] 32f366d666a5: Layer already exists [2021-05-11T14:56:45.675Z] 1.3.2-dev.7: digest: sha256:1cfcc2b7f44a628fe9e1e9ed8d70697a729c8833e7af318e1edd563e79860ba0 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:56:45.992Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:90bd167c5e008ca72793a95020c1bd222277a38a-1.3.2-dev.7 [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:56:46.297Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:90bd167c5e008ca72793a95020c1bd222277a38a-1.3.2-dev.7 [2021-05-11T14:56:46.297Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-05-11T14:56:46.297Z] 76f7941b692f: Preparing [2021-05-11T14:56:46.297Z] b22986dc3a64: Preparing [2021-05-11T14:56:46.297Z] cccac073e5cc: Preparing [2021-05-11T14:56:46.297Z] 265417a74018: Preparing [2021-05-11T14:56:46.297Z] 9a1fe7003dbb: Preparing [2021-05-11T14:56:46.297Z] 32f366d666a5: Preparing [2021-05-11T14:56:46.297Z] 32f366d666a5: Waiting [2021-05-11T14:56:46.297Z] 76f7941b692f: Layer already exists [2021-05-11T14:56:46.297Z] cccac073e5cc: Layer already exists [2021-05-11T14:56:46.297Z] 9a1fe7003dbb: Layer already exists [2021-05-11T14:56:46.297Z] b22986dc3a64: Layer already exists [2021-05-11T14:56:46.297Z] 265417a74018: Layer already exists [2021-05-11T14:56:46.297Z] 32f366d666a5: Layer already exists [2021-05-11T14:56:46.297Z] 90bd167c5e008ca72793a95020c1bd222277a38a-1.3.2-dev.7: digest: sha256:1cfcc2b7f44a628fe9e1e9ed8d70697a729c8833e7af318e1edd563e79860ba0 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:56:46.609Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:56:46.964Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [2021-05-11T14:56:46.965Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-05-11T14:56:46.965Z] 76f7941b692f: Preparing [2021-05-11T14:56:46.965Z] b22986dc3a64: Preparing [2021-05-11T14:56:46.965Z] cccac073e5cc: Preparing [2021-05-11T14:56:46.965Z] 265417a74018: Preparing [2021-05-11T14:56:46.965Z] 9a1fe7003dbb: Preparing [2021-05-11T14:56:46.965Z] 32f366d666a5: Preparing [2021-05-11T14:56:46.965Z] 32f366d666a5: Waiting [2021-05-11T14:56:46.965Z] b22986dc3a64: Layer already exists [2021-05-11T14:56:46.965Z] cccac073e5cc: Layer already exists [2021-05-11T14:56:46.965Z] 9a1fe7003dbb: Layer already exists [2021-05-11T14:56:46.965Z] 265417a74018: Layer already exists [2021-05-11T14:56:46.965Z] 76f7941b692f: Layer already exists [2021-05-11T14:56:46.965Z] 32f366d666a5: Layer already exists [2021-05-11T14:56:46.965Z] master: digest: sha256:1cfcc2b7f44a628fe9e1e9ed8d70697a729c8833e7af318e1edd563e79860ba0 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-11T14:56:47.031Z] ===================================================== [Pipeline] echo [2021-05-11T14:56:47.059Z] taggedImages: [2021-05-11T14:56:47.059Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:90bd167c5e008ca72793a95020c1bd222277a38a [2021-05-11T14:56:47.059Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [2021-05-11T14:56:47.059Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.2-dev.7 [2021-05-11T14:56:47.059Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:90bd167c5e008ca72793a95020c1bd222277a38a-1.3.2-dev.7 [2021-05-11T14:56:47.059Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-11T14:56:47.768Z] ---> job-cost.sh [2021-05-11T14:56:47.768Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-kcCP [2021-05-11T14:57:06.000Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-11T14:57:35.617Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-05-11T14:57:35.617Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.036s coverage: 47.7% of statements [2021-05-11T14:57:35.617Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-11T14:57:38.188Z] lf-activate-venv(): INFO: Adding /tmp/venv-kcCP/bin to PATH [2021-05-11T14:57:38.188Z] INFO: No Stack... [2021-05-11T14:57:38.188Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T14:57:38.188Z] INFO: Archiving Costs [Pipeline] sh [2021-05-11T14:57:38.498Z] + cat /w/workspace/device-modbus-go/45/archives/cost.csv [2021-05-11T14:57:38.498Z] + cut -d, -f6 [Pipeline] lock [2021-05-11T14:57:38.582Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-45-stack-cost] [2021-05-11T14:57:38.596Z] Resource [jenkins-edgexfoundry-device-modbus-go-master-45-stack-cost] did not exist. Created. [2021-05-11T14:57:38.596Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-45-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T14:57:38.928Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-11T14:57:39.063Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T14:57:39.071Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-45-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-11T14:57:57.820Z] gofmt -l . [2021-05-11T14:57:57.820Z] [ "`gofmt -l .`" = "" ] [2021-05-11T14:57:57.820Z] ./bin/test-attribution-txt.sh [2021-05-11T14:57:57.820Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-11T14:57:57.835Z] $ docker stop --time=1 31c80f8cfe9fbba1bb1ac0df806efcb9755eb3f938ce63947c1725300f4f9534 [2021-05-11T14:58:01.079Z] $ docker rm -f 31c80f8cfe9fbba1bb1ac0df806efcb9755eb3f938ce63947c1725300f4f9534 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T14:58:01.934Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-11T14:58:01.956Z] Warning: overwriting stash ‘coverage-report’ [2021-05-11T14:58:02.882Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T14:58:03.374Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-11T14:58:03.756Z] + ls -al . [2021-05-11T14:58:03.756Z] total 144 [2021-05-11T14:58:03.756Z] drwxrwxr-x 9 jenkins jenkins 4096 May 11 14:57 . [2021-05-11T14:58:03.756Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 14:55 .. [2021-05-11T14:58:03.756Z] -rw-rw-r-- 1 jenkins jenkins 140 May 11 14:55 .dockerignore [2021-05-11T14:58:03.756Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 14:55 .git [2021-05-11T14:58:03.756Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 14:55 .github [2021-05-11T14:58:03.756Z] -rw-rw-r-- 1 jenkins jenkins 338 May 11 14:55 .gitignore [2021-05-11T14:58:03.756Z] -rw-rw-r-- 1 jenkins jenkins 7707 May 11 14:55 Attribution.txt [2021-05-11T14:58:03.756Z] -rw-rw-r-- 1 jenkins jenkins 1457 May 11 14:55 Dockerfile [2021-05-11T14:58:03.756Z] -rw-rw-r-- 1 jenkins jenkins 995 May 11 14:55 Dockerfile.build [2021-05-11T14:58:03.756Z] -rw-rw-r-- 1 jenkins jenkins 679 May 11 14:55 Jenkinsfile [2021-05-11T14:58:03.756Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 14:55 LICENSE [2021-05-11T14:58:03.756Z] -rw-rw-r-- 1 jenkins jenkins 910 May 11 14:55 Makefile [2021-05-11T14:58:03.756Z] -rw-rw-r-- 1 jenkins jenkins 2897 May 11 14:55 README.md [2021-05-11T14:58:03.756Z] -rw-rw-r-- 1 jenkins jenkins 11 May 11 14:53 VERSION [2021-05-11T14:58:03.756Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 14:55 bin [2021-05-11T14:58:03.756Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:55 cmd [2021-05-11T14:58:03.756Z] -rw-r--r-- 1 jenkins jenkins 22385 May 11 14:57 coverage.out [2021-05-11T14:58:03.756Z] -rw-r--r-- 1 jenkins jenkins 413 May 11 14:57 go.mod [2021-05-11T14:58:03.756Z] -rw-r--r-- 1 jenkins jenkins 21839 May 11 14:56 go.sum [2021-05-11T14:58:03.756Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:55 internal [2021-05-11T14:58:03.756Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 14:55 simulator [2021-05-11T14:58:03.756Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 14:55 snap [2021-05-11T14:58:03.756Z] -rw-rw-r-- 1 jenkins jenkins 229 May 11 14:55 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:58:04.129Z] + docker build -t docker-device-modbus-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=90bd167c5e008ca72793a95020c1bd222277a38a --label arch=arm64 --label version=1.3.2-dev.7 . [2021-05-11T14:58:04.409Z] Sending build context to Docker daemon 613.9kB [2021-05-11T14:58:04.693Z] Step 1/21 : ARG BASE=golang:1.15-alpine3.12 [2021-05-11T14:58:04.693Z] Step 2/21 : FROM ${BASE} AS builder [2021-05-11T14:58:04.693Z] ---> 91fc7aef7b6e [2021-05-11T14:58:04.693Z] Step 3/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T14:58:04.969Z] ---> Running in 68aa4d587edd [2021-05-11T14:58:06.940Z] Removing intermediate container 68aa4d587edd [2021-05-11T14:58:06.940Z] ---> b959be30536c [2021-05-11T14:58:06.940Z] Step 4/21 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-11T14:58:07.213Z] ---> Running in 04b2cf5ef8c5 [2021-05-11T14:58:08.193Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T14:58:10.158Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T14:58:11.135Z] OK: 145 MiB in 53 packages [2021-05-11T14:58:12.122Z] Removing intermediate container 04b2cf5ef8c5 [2021-05-11T14:58:12.122Z] ---> f121ec244609 [2021-05-11T14:58:12.122Z] Step 5/21 : WORKDIR /device-modbus-go [2021-05-11T14:58:12.395Z] ---> Running in 72b8870d2403 [2021-05-11T14:58:12.987Z] Removing intermediate container 72b8870d2403 [2021-05-11T14:58:12.987Z] ---> 3e3398185aac [2021-05-11T14:58:12.987Z] Step 6/21 : COPY . . [2021-05-11T14:58:13.967Z] ---> 608dcf6e9059 [2021-05-11T14:58:13.967Z] Step 7/21 : RUN go mod download [2021-05-11T14:58:13.967Z] ---> Running in aad24fcb4c76 [2021-05-11T14:58:16.594Z] Removing intermediate container aad24fcb4c76 [2021-05-11T14:58:16.594Z] ---> f3bf9ef23dec [2021-05-11T14:58:16.594Z] Step 8/21 : RUN make build [2021-05-11T14:58:16.594Z] ---> Running in 931eb7977320 [2021-05-11T14:58:17.572Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.7" -o cmd/device-modbus ./cmd [2021-05-11T14:58:49.954Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-11T14:59:00.091Z] Removing intermediate container 931eb7977320 [2021-05-11T14:59:00.091Z] ---> 0a1ed771ad56 [2021-05-11T14:59:00.091Z] Step 9/21 : FROM alpine:3.12 [2021-05-11T14:59:00.091Z] 3.12: Pulling from library/alpine [2021-05-11T14:59:00.091Z] d2f70382dc9a: Pulling fs layer [2021-05-11T14:59:00.091Z] d2f70382dc9a: Download complete [2021-05-11T14:59:00.091Z] d2f70382dc9a: Pull complete [2021-05-11T14:59:00.091Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-11T14:59:00.091Z] Status: Downloaded newer image for alpine:3.12 [2021-05-11T14:59:00.091Z] ---> 9852663dfa18 [2021-05-11T14:59:00.091Z] Step 10/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-05-11T14:59:00.363Z] ---> Running in 31641784763c [2021-05-11T14:59:00.956Z] Removing intermediate container 31641784763c [2021-05-11T14:59:00.956Z] ---> a64533dc8be5 [2021-05-11T14:59:00.956Z] Step 11/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T14:59:00.956Z] ---> Running in eed94a461ead [2021-05-11T14:59:02.929Z] Removing intermediate container eed94a461ead [2021-05-11T14:59:02.929Z] ---> 3df9cb24da0c [2021-05-11T14:59:02.929Z] Step 12/21 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-11T14:59:03.203Z] ---> Running in 04aa8c9c24bc [2021-05-11T14:59:04.215Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-11T14:59:06.814Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-11T14:59:08.248Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-11T14:59:08.248Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-11T14:59:08.248Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-11T14:59:08.834Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-11T14:59:09.424Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-11T14:59:09.695Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-11T14:59:09.966Z] Executing busybox-1.31.1-r20.trigger [2021-05-11T14:59:09.966Z] OK: 8 MiB in 20 packages [2021-05-11T14:59:11.397Z] Removing intermediate container 04aa8c9c24bc [2021-05-11T14:59:11.397Z] ---> 46012c403af9 [2021-05-11T14:59:11.397Z] Step 13/21 : COPY --from=builder /device-modbus-go/cmd / [2021-05-11T14:59:12.371Z] ---> 858261b38578 [2021-05-11T14:59:12.371Z] Step 14/21 : COPY --from=builder /device-modbus-go/LICENSE / [2021-05-11T14:59:13.348Z] ---> f495d3fb6376 [2021-05-11T14:59:13.349Z] Step 15/21 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-05-11T14:59:13.943Z] ---> 19bc41b78595 [2021-05-11T14:59:13.943Z] Step 16/21 : EXPOSE 49991 [2021-05-11T14:59:13.943Z] ---> Running in 5eb6d87dd4e8 [2021-05-11T14:59:14.538Z] Removing intermediate container 5eb6d87dd4e8 [2021-05-11T14:59:14.538Z] ---> 66e9a4801813 [2021-05-11T14:59:14.538Z] Step 17/21 : ENTRYPOINT ["/device-modbus"] [2021-05-11T14:59:14.538Z] ---> Running in aabefd27fc9b [2021-05-11T14:59:15.131Z] Removing intermediate container aabefd27fc9b [2021-05-11T14:59:15.131Z] ---> bb8a60f6da3b [2021-05-11T14:59:15.131Z] Step 18/21 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-11T14:59:15.131Z] ---> Running in f4f6c63f4a21 [2021-05-11T14:59:15.730Z] Removing intermediate container f4f6c63f4a21 [2021-05-11T14:59:15.730Z] ---> c7feea3604db [2021-05-11T14:59:15.730Z] Step 19/21 : LABEL arch=arm64 [2021-05-11T14:59:15.730Z] ---> Running in 156b6574bc1e [2021-05-11T14:59:16.324Z] Removing intermediate container 156b6574bc1e [2021-05-11T14:59:16.324Z] ---> 251d55503a78 [2021-05-11T14:59:16.324Z] Step 20/21 : LABEL git_sha=90bd167c5e008ca72793a95020c1bd222277a38a [2021-05-11T14:59:16.596Z] ---> Running in 57333a193437 [2021-05-11T14:59:16.870Z] Removing intermediate container 57333a193437 [2021-05-11T14:59:16.870Z] ---> 51328c49a136 [2021-05-11T14:59:16.870Z] Step 21/21 : LABEL version=1.3.2-dev.7 [2021-05-11T14:59:17.142Z] ---> Running in 7194d84226d8 [2021-05-11T14:59:17.736Z] Removing intermediate container 7194d84226d8 [2021-05-11T14:59:17.736Z] ---> 74a1fa7dfc34 [2021-05-11T14:59:17.736Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-11T14:59:17.736Z] Successfully built 74a1fa7dfc34 [2021-05-11T14:59:17.736Z] Successfully tagged docker-device-modbus-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T14:59:17.895Z] provisioning config files... [2021-05-11T14:59:17.940Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/45@tmp/config2657996582519652692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T14:59:18.322Z] ---> docker-login.sh [2021-05-11T14:59:18.322Z] nexus3.edgexfoundry.org:10001 [2021-05-11T14:59:18.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:59:18.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:59:18.867Z] Configure a credential helper to remove this warning. See [2021-05-11T14:59:18.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:59:18.867Z] [2021-05-11T14:59:18.867Z] Login Succeeded [2021-05-11T14:59:18.867Z] nexus3.edgexfoundry.org:10002 [2021-05-11T14:59:19.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:59:19.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:59:19.459Z] Configure a credential helper to remove this warning. See [2021-05-11T14:59:19.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:59:19.459Z] [2021-05-11T14:59:19.459Z] Login Succeeded [2021-05-11T14:59:19.459Z] nexus3.edgexfoundry.org:10003 [2021-05-11T14:59:20.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:59:20.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:59:20.054Z] Configure a credential helper to remove this warning. See [2021-05-11T14:59:20.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:59:20.054Z] [2021-05-11T14:59:20.054Z] Login Succeeded [2021-05-11T14:59:20.054Z] nexus3.edgexfoundry.org:10004 [2021-05-11T14:59:20.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:59:20.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:59:20.601Z] Configure a credential helper to remove this warning. See [2021-05-11T14:59:20.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:59:20.601Z] [2021-05-11T14:59:20.601Z] Login Succeeded [2021-05-11T14:59:20.601Z] docker.io [2021-05-11T14:59:20.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:59:21.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:59:21.469Z] Configure a credential helper to remove this warning. See [2021-05-11T14:59:21.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:59:21.469Z] [2021-05-11T14:59:21.469Z] Login Succeeded [2021-05-11T14:59:21.469Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T14:59:21.485Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-11T14:59:21.582Z] [edgeXDocker.push] Tagging docker image docker-device-modbus-go-arm64 with the following tags: [2021-05-11T14:59:21.582Z] 90bd167c5e008ca72793a95020c1bd222277a38a [2021-05-11T14:59:21.582Z] latest [2021-05-11T14:59:21.582Z] 1.3.2-dev.7 [2021-05-11T14:59:21.582Z] 90bd167c5e008ca72793a95020c1bd222277a38a-1.3.2-dev.7 [2021-05-11T14:59:21.582Z] master [2021-05-11T14:59:21.582Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:59:21.964Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:90bd167c5e008ca72793a95020c1bd222277a38a [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:59:22.305Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:90bd167c5e008ca72793a95020c1bd222277a38a [2021-05-11T14:59:22.305Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-05-11T14:59:22.305Z] 9381df8ef59a: Preparing [2021-05-11T14:59:22.305Z] 49f57bf08934: Preparing [2021-05-11T14:59:22.305Z] 5f122fa745a4: Preparing [2021-05-11T14:59:22.305Z] 798d629b6d6c: Preparing [2021-05-11T14:59:22.305Z] fcf760d743e6: Preparing [2021-05-11T14:59:22.305Z] 3fbe34a1663b: Preparing [2021-05-11T14:59:22.305Z] 3fbe34a1663b: Waiting [2021-05-11T14:59:22.580Z] fcf760d743e6: Pushed [2021-05-11T14:59:22.580Z] 9381df8ef59a: Pushed [2021-05-11T14:59:22.580Z] 49f57bf08934: Pushed [2021-05-11T14:59:22.580Z] 3fbe34a1663b: Layer already exists [2021-05-11T14:59:23.174Z] 798d629b6d6c: Pushed [2021-05-11T14:59:25.790Z] 5f122fa745a4: Pushed [2021-05-11T14:59:25.790Z] 90bd167c5e008ca72793a95020c1bd222277a38a: digest: sha256:058449e72056337e5e0b0b4cdf768858568c862556e39c10417db5a49e590c6c size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:59:26.135Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:59:26.473Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [2021-05-11T14:59:26.473Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-05-11T14:59:26.473Z] 9381df8ef59a: Preparing [2021-05-11T14:59:26.473Z] 49f57bf08934: Preparing [2021-05-11T14:59:26.473Z] 5f122fa745a4: Preparing [2021-05-11T14:59:26.473Z] 798d629b6d6c: Preparing [2021-05-11T14:59:26.473Z] fcf760d743e6: Preparing [2021-05-11T14:59:26.473Z] 3fbe34a1663b: Preparing [2021-05-11T14:59:26.473Z] 3fbe34a1663b: Waiting [2021-05-11T14:59:26.473Z] 49f57bf08934: Layer already exists [2021-05-11T14:59:26.473Z] 798d629b6d6c: Layer already exists [2021-05-11T14:59:26.745Z] 9381df8ef59a: Layer already exists [2021-05-11T14:59:26.745Z] 5f122fa745a4: Layer already exists [2021-05-11T14:59:26.745Z] fcf760d743e6: Layer already exists [2021-05-11T14:59:26.746Z] 3fbe34a1663b: Layer already exists [2021-05-11T14:59:26.746Z] latest: digest: sha256:058449e72056337e5e0b0b4cdf768858568c862556e39c10417db5a49e590c6c size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:59:27.095Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.2-dev.7 [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:59:27.436Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.2-dev.7 [2021-05-11T14:59:27.436Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-05-11T14:59:27.436Z] 9381df8ef59a: Preparing [2021-05-11T14:59:27.436Z] 49f57bf08934: Preparing [2021-05-11T14:59:27.436Z] 5f122fa745a4: Preparing [2021-05-11T14:59:27.436Z] 798d629b6d6c: Preparing [2021-05-11T14:59:27.436Z] fcf760d743e6: Preparing [2021-05-11T14:59:27.436Z] 3fbe34a1663b: Preparing [2021-05-11T14:59:27.436Z] 3fbe34a1663b: Waiting [2021-05-11T14:59:27.436Z] 798d629b6d6c: Layer already exists [2021-05-11T14:59:27.436Z] fcf760d743e6: Layer already exists [2021-05-11T14:59:27.436Z] 9381df8ef59a: Layer already exists [2021-05-11T14:59:27.436Z] 49f57bf08934: Layer already exists [2021-05-11T14:59:27.436Z] 5f122fa745a4: Layer already exists [2021-05-11T14:59:27.708Z] 3fbe34a1663b: Layer already exists [2021-05-11T14:59:27.708Z] 1.3.2-dev.7: digest: sha256:058449e72056337e5e0b0b4cdf768858568c862556e39c10417db5a49e590c6c size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:59:28.053Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:90bd167c5e008ca72793a95020c1bd222277a38a-1.3.2-dev.7 [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:59:28.397Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:90bd167c5e008ca72793a95020c1bd222277a38a-1.3.2-dev.7 [2021-05-11T14:59:28.397Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-05-11T14:59:28.397Z] 9381df8ef59a: Preparing [2021-05-11T14:59:28.397Z] 49f57bf08934: Preparing [2021-05-11T14:59:28.397Z] 5f122fa745a4: Preparing [2021-05-11T14:59:28.397Z] 798d629b6d6c: Preparing [2021-05-11T14:59:28.397Z] fcf760d743e6: Preparing [2021-05-11T14:59:28.397Z] 3fbe34a1663b: Preparing [2021-05-11T14:59:28.397Z] 3fbe34a1663b: Waiting [2021-05-11T14:59:28.397Z] 5f122fa745a4: Layer already exists [2021-05-11T14:59:28.397Z] fcf760d743e6: Layer already exists [2021-05-11T14:59:28.397Z] 798d629b6d6c: Layer already exists [2021-05-11T14:59:28.668Z] 49f57bf08934: Layer already exists [2021-05-11T14:59:28.668Z] 9381df8ef59a: Layer already exists [2021-05-11T14:59:28.668Z] 3fbe34a1663b: Layer already exists [2021-05-11T14:59:28.668Z] 90bd167c5e008ca72793a95020c1bd222277a38a-1.3.2-dev.7: digest: sha256:058449e72056337e5e0b0b4cdf768858568c862556e39c10417db5a49e590c6c size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:59:29.050Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:59:29.389Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [2021-05-11T14:59:29.389Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-05-11T14:59:29.389Z] 9381df8ef59a: Preparing [2021-05-11T14:59:29.389Z] 49f57bf08934: Preparing [2021-05-11T14:59:29.389Z] 5f122fa745a4: Preparing [2021-05-11T14:59:29.389Z] 798d629b6d6c: Preparing [2021-05-11T14:59:29.389Z] fcf760d743e6: Preparing [2021-05-11T14:59:29.389Z] 3fbe34a1663b: Preparing [2021-05-11T14:59:29.389Z] 3fbe34a1663b: Waiting [2021-05-11T14:59:29.389Z] 5f122fa745a4: Layer already exists [2021-05-11T14:59:29.389Z] 798d629b6d6c: Layer already exists [2021-05-11T14:59:29.389Z] 49f57bf08934: Layer already exists [2021-05-11T14:59:29.389Z] 9381df8ef59a: Layer already exists [2021-05-11T14:59:29.389Z] fcf760d743e6: Layer already exists [2021-05-11T14:59:29.389Z] 3fbe34a1663b: Layer already exists [2021-05-11T14:59:29.660Z] master: digest: sha256:058449e72056337e5e0b0b4cdf768858568c862556e39c10417db5a49e590c6c size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-11T14:59:29.732Z] ===================================================== [Pipeline] echo [2021-05-11T14:59:29.749Z] taggedImages: [2021-05-11T14:59:29.749Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:90bd167c5e008ca72793a95020c1bd222277a38a [2021-05-11T14:59:29.749Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [2021-05-11T14:59:29.749Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.2-dev.7 [2021-05-11T14:59:29.749Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:90bd167c5e008ca72793a95020c1bd222277a38a-1.3.2-dev.7 [2021-05-11T14:59:29.749Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-11T14:59:30.138Z] ---> job-cost.sh [2021-05-11T14:59:30.138Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-n3vw [2021-05-11T15:00:17.114Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-11T15:01:38.885Z] lf-activate-venv(): INFO: Adding /tmp/venv-n3vw/bin to PATH [2021-05-11T15:01:38.885Z] INFO: No Stack... [2021-05-11T15:01:38.885Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-11T15:01:39.155Z] INFO: Archiving Costs [Pipeline] sh [2021-05-11T15:01:39.510Z] + + cutcat -d, /w/workspace/device-modbus-go/45/archives/cost.csv -f6 [2021-05-11T15:01:39.511Z] [Pipeline] lock [2021-05-11T15:01:39.635Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-45-stack-cost] [2021-05-11T15:01:39.654Z] Resource [jenkins-edgexfoundry-device-modbus-go-master-45-stack-cost] did not exist. Created. [2021-05-11T15:01:39.654Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-45-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T15:01:40.050Z] /w/workspace/device-modbus-go/45@tmp/durable-e9f126b7/script.sh: 1: /w/workspace/device-modbus-go/45@tmp/durable-e9f126b7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-11T15:01:40.399Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-11T15:01:40.419Z] Warning: overwriting stash ‘stack-cost’ [2021-05-11T15:01:40.576Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T15:01:40.594Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-45-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-05-11T15:01:41.239Z] provisioning config files... [2021-05-11T15:01:41.258Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config6440998859368540420tmp [Pipeline] { [Pipeline] sh [2021-05-11T15:01:41.591Z] + set +x [2021-05-11T15:01:41.591Z] + curl -s https://codecov.io/bash [2021-05-11T15:01:41.591Z] + bash -s -- [2021-05-11T15:01:41.854Z] [2021-05-11T15:01:41.854Z] _____ _ [2021-05-11T15:01:41.854Z] / ____| | | [2021-05-11T15:01:41.854Z] | | ___ __| | ___ ___ _____ __ [2021-05-11T15:01:41.854Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-11T15:01:41.854Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-11T15:01:41.854Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-11T15:01:41.854Z] Bash-1.0.2 [2021-05-11T15:01:41.854Z] [2021-05-11T15:01:41.854Z] [2021-05-11T15:01:41.854Z] ==> git version 2.24.3 found [2021-05-11T15:01:41.854Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-11T15:01:41.854Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-11T15:01:41.854Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-11T15:01:41.854Z] ==> Jenkins CI detected. [2021-05-11T15:01:41.854Z] project root: . [2021-05-11T15:01:41.854Z] --> token set from env [2021-05-11T15:01:41.854Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-11T15:01:42.118Z] ==> Running gcov in . (disable via -X gcov) [2021-05-11T15:01:42.118Z] ==> Python coveragepy not found [2021-05-11T15:01:42.118Z] ==> Searching for coverage reports in: [2021-05-11T15:01:42.118Z] + . [2021-05-11T15:01:42.118Z] -> Found 1 reports [2021-05-11T15:01:42.118Z] ==> Detecting git/mercurial file structure [2021-05-11T15:01:42.118Z] ==> Reading reports [2021-05-11T15:01:42.118Z] + ./coverage.out bytes=22385 [2021-05-11T15:01:42.118Z] ==> Appending adjustments [2021-05-11T15:01:42.118Z] https://docs.codecov.io/docs/fixing-reports [2021-05-11T15:01:42.118Z] + Found adjustments [2021-05-11T15:01:42.118Z] ==> Gzipping contents [2021-05-11T15:01:42.118Z] 4.0K /tmp/codecov.0z3E3s.gz [2021-05-11T15:01:42.118Z] ==> Uploading reports [2021-05-11T15:01:42.118Z] url: https://codecov.io [2021-05-11T15:01:42.118Z] query: branch=master&commit=90bd167c5e008ca72793a95020c1bd222277a38a&build=45&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F45%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-11T15:01:42.118Z] -> Pinging Codecov [2021-05-11T15:01:42.118Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=90bd167c5e008ca72793a95020c1bd222277a38a&build=45&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F45%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-11T15:01:42.692Z] -> Uploading to [2021-05-11T15:01:42.692Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-11/55DBCA73C666E3227836607328DD7E49/90bd167c5e008ca72793a95020c1bd222277a38a/a51b09ef-6d1c-4bf9-b1fa-0db84848b02d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210511T150142Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c7445f7498b77d1a4ccaf5300f74760a5a3efdc584abcee3d83cdbec2db222b2 [2021-05-11T15:01:42.692Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-11T15:01:42.692Z] Dload Upload Total Spent Left Speed [2021-05-11T15:01:43.270Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3896 0 0 100 3896 0 8153 --:--:-- --:--:-- --:--:-- 8167 [2021-05-11T15:01:43.270Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/90bd167c5e008ca72793a95020c1bd222277a38a [Pipeline] } [2021-05-11T15:01:43.288Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-05-11T15:01:43.993Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-05-11T15:01:44.018Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:01:44.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-11T15:01:44.334Z] [2021-05-11T15:01:44.334Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:01:44.733Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-11T15:01:44.733Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-05-11T15:01:44.733Z] 188c0c94c7c5: Pulling fs layer [2021-05-11T15:01:44.733Z] 0ef7d3d256c8: Pulling fs layer [2021-05-11T15:01:44.733Z] de9db76c5a1d: Pulling fs layer [2021-05-11T15:01:44.733Z] 0eba1c9be4d2: Pulling fs layer [2021-05-11T15:01:44.733Z] 0d57e429df01: Pulling fs layer [2021-05-11T15:01:44.733Z] 4e4be7b47b0d: Pulling fs layer [2021-05-11T15:01:44.733Z] e1f770b5df2f: Pulling fs layer [2021-05-11T15:01:44.733Z] 85a0685a4137: Pulling fs layer [2021-05-11T15:01:44.733Z] 0d57e429df01: Waiting [2021-05-11T15:01:44.733Z] 4e4be7b47b0d: Waiting [2021-05-11T15:01:44.733Z] e1f770b5df2f: Waiting [2021-05-11T15:01:44.733Z] 85a0685a4137: Waiting [2021-05-11T15:01:44.733Z] 0eba1c9be4d2: Waiting [2021-05-11T15:01:44.733Z] de9db76c5a1d: Verifying Checksum [2021-05-11T15:01:44.733Z] de9db76c5a1d: Download complete [2021-05-11T15:01:44.733Z] 0ef7d3d256c8: Download complete [2021-05-11T15:01:44.733Z] 0d57e429df01: Verifying Checksum [2021-05-11T15:01:44.733Z] 0d57e429df01: Download complete [2021-05-11T15:01:44.733Z] 4e4be7b47b0d: Verifying Checksum [2021-05-11T15:01:44.733Z] 4e4be7b47b0d: Download complete [2021-05-11T15:01:44.733Z] 188c0c94c7c5: Verifying Checksum [2021-05-11T15:01:44.733Z] 188c0c94c7c5: Download complete [2021-05-11T15:01:45.089Z] 188c0c94c7c5: Pull complete [2021-05-11T15:01:45.364Z] 0ef7d3d256c8: Pull complete [2021-05-11T15:01:45.628Z] de9db76c5a1d: Pull complete [2021-05-11T15:01:46.204Z] e1f770b5df2f: Verifying Checksum [2021-05-11T15:01:46.204Z] e1f770b5df2f: Download complete [2021-05-11T15:01:48.788Z] 85a0685a4137: Verifying Checksum [2021-05-11T15:01:48.788Z] 85a0685a4137: Download complete [2021-05-11T15:01:48.788Z] 0eba1c9be4d2: Verifying Checksum [2021-05-11T15:01:48.788Z] 0eba1c9be4d2: Download complete [2021-05-11T15:01:54.119Z] 0eba1c9be4d2: Pull complete [2021-05-11T15:01:54.119Z] 0d57e429df01: Pull complete [2021-05-11T15:01:54.119Z] 4e4be7b47b0d: Pull complete [2021-05-11T15:01:56.042Z] e1f770b5df2f: Pull complete [2021-05-11T15:02:04.250Z] 85a0685a4137: Pull complete [2021-05-11T15:02:04.250Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-05-11T15:02:04.250Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-11T15:02:04.250Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-05-11T15:02:04.459Z] prd-centos7-docker-4c-2g-4448 does not seem to be running inside a container [2021-05-11T15:02:04.512Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-05-11T15:02:05.470Z] $ docker top 98ae22b263a55b8e35af111cbecc90e723e58d693670f0916dc82981f8c61f3c -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-11T15:02:05.613Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-05-11T15:02:05.917Z] + set -o pipefail [2021-05-11T15:02:05.917Z] + snyk monitor '--org=edgex-jenkins' [2021-05-11T15:02:20.901Z] [2021-05-11T15:02:20.901Z] Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... [2021-05-11T15:02:20.901Z] [2021-05-11T15:02:20.901Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/4d81b639-18cc-4419-8402-0baa0907beeb [2021-05-11T15:02:20.901Z] [2021-05-11T15:02:20.901Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-05-11T15:02:20.901Z] [2021-05-11T15:02:20.901Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-05-11T15:02:20.901Z] [2021-05-11T15:02:20.901Z] [Pipeline] } [2021-05-11T15:02:20.926Z] $ docker stop --time=1 98ae22b263a55b8e35af111cbecc90e723e58d693670f0916dc82981f8c61f3c [2021-05-11T15:02:23.030Z] $ docker rm -f 98ae22b263a55b8e35af111cbecc90e723e58d693670f0916dc82981f8c61f3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T15:02:24.252Z] + git log --format=format:%s -1 90bd167c5e008ca72793a95020c1bd222277a38a [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:02:24.567Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T15:02:24.567Z] . [Pipeline] withDockerContainer [2021-05-11T15:02:24.664Z] prd-centos7-docker-4c-2g-4448 does not seem to be running inside a container [2021-05-11T15:02:24.711Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-11T15:02:25.527Z] $ docker top c1883909b5f5326a9a2fa6cc904e9c03ab86f2c8b02a00879513678be2384b07 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-11T15:02:25.762Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T15:02:25.762Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T15:02:25.986Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T15:02:25.990Z] $ docker exec c1883909b5f5326a9a2fa6cc904e9c03ab86f2c8b02a00879513678be2384b07 ssh-agent [2021-05-11T15:02:26.180Z] SSH_AUTH_SOCK=/tmp/ssh-Ef7IBm98QWbC/agent.12 [2021-05-11T15:02:26.180Z] SSH_AGENT_PID=17 [2021-05-11T15:02:26.188Z] Running ssh-add (command line suppressed) [2021-05-11T15:02:26.323Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_1492803307659271360.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_1492803307659271360.key) [2021-05-11T15:02:26.378Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T15:02:26.691Z] + git semver tag [2021-05-11T15:02:26.691Z] # -> Open(): unable to determine branch for HEAD [2021-05-11T15:02:26.691Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-05-11T15:02:26.691Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-05-11T15:02:26.691Z] # $SEMVER_REMOTE_NAME = origin [2021-05-11T15:02:26.691Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-11T15:02:26.691Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-11T15:02:26.691Z] # $SEMVER_BRANCH = master [2021-05-11T15:02:26.691Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2021-05-11T15:02:26.691Z] # 90bd167c5e008ca72793a95020c1bd222277a38a HEAD [2021-05-11T15:02:26.953Z] # -> Force: false [2021-05-11T15:02:26.953Z] # 6c75d8fabb77c03d293a64bdada447ae66d3cea2 refs/tags/v1.3.2-dev.7 [Pipeline] } [2021-05-11T15:02:26.967Z] $ docker exec --env ******** --env ******** c1883909b5f5326a9a2fa6cc904e9c03ab86f2c8b02a00879513678be2384b07 ssh-agent -k [2021-05-11T15:02:27.088Z] unset SSH_AUTH_SOCK; [2021-05-11T15:02:27.090Z] unset SSH_AGENT_PID; [2021-05-11T15:02:27.090Z] echo Agent pid 17 killed; [2021-05-11T15:02:27.140Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-11T15:02:27.522Z] + git semver [Pipeline] } [2021-05-11T15:02:27.543Z] $ docker stop --time=1 c1883909b5f5326a9a2fa6cc904e9c03ab86f2c8b02a00879513678be2384b07 [2021-05-11T15:02:28.989Z] $ docker rm -f c1883909b5f5326a9a2fa6cc904e9c03ab86f2c8b02a00879513678be2384b07 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:02:29.521Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-11T15:02:29.521Z] [2021-05-11T15:02:29.521Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:02:29.846Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-11T15:02:29.846Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-05-11T15:02:29.846Z] ab5ef0e58194: Pulling fs layer [2021-05-11T15:02:29.846Z] 9712f1f96733: Pulling fs layer [2021-05-11T15:02:29.846Z] 63f879dbbcfc: Pulling fs layer [2021-05-11T15:02:29.846Z] 0d9ebad4ef96: Pulling fs layer [2021-05-11T15:02:29.846Z] e9a5061849ea: Pulling fs layer [2021-05-11T15:02:29.846Z] d747dcd14b5f: Pulling fs layer [2021-05-11T15:02:29.846Z] 2de7ff778b66: Pulling fs layer [2021-05-11T15:02:29.846Z] e9a5061849ea: Waiting [2021-05-11T15:02:29.846Z] d747dcd14b5f: Waiting [2021-05-11T15:02:29.846Z] 2de7ff778b66: Waiting [2021-05-11T15:02:29.846Z] 0d9ebad4ef96: Waiting [2021-05-11T15:02:29.846Z] 9712f1f96733: Verifying Checksum [2021-05-11T15:02:29.846Z] 9712f1f96733: Download complete [2021-05-11T15:02:32.423Z] 63f879dbbcfc: Verifying Checksum [2021-05-11T15:02:32.423Z] 63f879dbbcfc: Download complete [2021-05-11T15:02:32.423Z] e9a5061849ea: Verifying Checksum [2021-05-11T15:02:32.423Z] e9a5061849ea: Download complete [2021-05-11T15:02:32.423Z] d747dcd14b5f: Verifying Checksum [2021-05-11T15:02:32.423Z] d747dcd14b5f: Download complete [2021-05-11T15:02:33.024Z] 2de7ff778b66: Verifying Checksum [2021-05-11T15:02:33.024Z] 2de7ff778b66: Download complete [2021-05-11T15:02:33.613Z] ab5ef0e58194: Download complete [2021-05-11T15:02:33.614Z] 0d9ebad4ef96: Verifying Checksum [2021-05-11T15:02:33.614Z] 0d9ebad4ef96: Download complete [2021-05-11T15:02:37.873Z] ab5ef0e58194: Pull complete [2021-05-11T15:02:38.137Z] 9712f1f96733: Pull complete [2021-05-11T15:02:41.452Z] 63f879dbbcfc: Pull complete [2021-05-11T15:02:48.090Z] 0d9ebad4ef96: Pull complete [2021-05-11T15:02:51.424Z] e9a5061849ea: Pull complete [2021-05-11T15:02:51.424Z] d747dcd14b5f: Pull complete [2021-05-11T15:02:52.822Z] 2de7ff778b66: Pull complete [2021-05-11T15:02:52.822Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-05-11T15:02:52.822Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-11T15:02:52.822Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-05-11T15:02:53.030Z] prd-centos7-docker-4c-2g-4448 does not seem to be running inside a container [2021-05-11T15:02:53.085Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-05-11T15:02:57.878Z] $ docker top 3d0b50fbeb38769a4748e6b292389719888fe40aa2cf4dc17127c64de95e2a21 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-05-11T15:02:58.064Z] provisioning config files... [2021-05-11T15:02:58.075Z] copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config548752006418780729tmp [2021-05-11T15:02:58.092Z] copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7743968797195292239tmp [2021-05-11T15:02:58.108Z] copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config6937405996608546203tmp [Pipeline] { [Pipeline] echo [2021-05-11T15:02:58.132Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:02:58.432Z] ---> sigul-configuration.sh [2021-05-11T15:02:58.432Z] gpg: directory `/root/.gnupg' created [2021-05-11T15:02:58.432Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-05-11T15:02:58.432Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-05-11T15:02:58.432Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-05-11T15:02:58.432Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-05-11T15:02:58.432Z] gpg: CAST5 encrypted data [2021-05-11T15:02:58.697Z] gpg: encrypted with 1 passphrase [2021-05-11T15:02:58.697Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-05-11T15:02:58.997Z] + mkdir /home/jenkins [2021-05-11T15:02:58.997Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-05-11T15:02:59.303Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-05-11T15:02:59.336Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:02:59.637Z] ---> sigul-install.sh [2021-05-11T15:03:06.261Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-05-11T15:03:06.574Z] + git tag --list [2021-05-11T15:03:06.574Z] 0.7.1 [2021-05-11T15:03:06.574Z] v1.0.0 [2021-05-11T15:03:06.574Z] v1.1.0 [2021-05-11T15:03:06.574Z] v1.1.1 [2021-05-11T15:03:06.574Z] v1.2.2 [2021-05-11T15:03:06.574Z] v1.3.0 [2021-05-11T15:03:06.574Z] v1.3.1 [2021-05-11T15:03:06.574Z] v1.3.1-dev.1 [2021-05-11T15:03:06.574Z] v1.3.1-dev.2 [2021-05-11T15:03:06.574Z] v1.3.1-dev.3 [2021-05-11T15:03:06.574Z] v1.3.1-dev.4 [2021-05-11T15:03:06.574Z] v1.3.1-dev.5 [2021-05-11T15:03:06.574Z] v1.3.1-dev.6 [2021-05-11T15:03:06.574Z] v1.3.1-dev.7 [2021-05-11T15:03:06.574Z] v1.3.1-dev.8 [2021-05-11T15:03:06.574Z] v1.3.2-dev.1 [2021-05-11T15:03:06.574Z] v1.3.2-dev.2 [2021-05-11T15:03:06.574Z] v1.3.2-dev.3 [2021-05-11T15:03:06.574Z] v1.3.2-dev.4 [2021-05-11T15:03:06.574Z] v1.3.2-dev.5 [2021-05-11T15:03:06.574Z] v1.3.2-dev.6 [2021-05-11T15:03:06.574Z] v1.3.2-dev.7 [Pipeline] sh [2021-05-11T15:03:06.879Z] + lftools sign git-tag v1.3.2-dev.7 [2021-05-11T15:03:08.271Z] Signing Git tag with Sigul... [2021-05-11T15:03:08.271Z] Signing v1.3.2-dev.7 [Pipeline] echo [2021-05-11T15:03:09.283Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:03:09.604Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-05-11T15:03:09.624Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-11T15:03:09.739Z] $ docker stop --time=1 3d0b50fbeb38769a4748e6b292389719888fe40aa2cf4dc17127c64de95e2a21 [2021-05-11T15:03:11.397Z] $ docker rm -f 3d0b50fbeb38769a4748e6b292389719888fe40aa2cf4dc17127c64de95e2a21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:03:11.990Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T15:03:11.990Z] . [Pipeline] withDockerContainer [2021-05-11T15:03:12.094Z] prd-centos7-docker-4c-2g-4448 does not seem to be running inside a container [2021-05-11T15:03:12.144Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-11T15:03:12.844Z] $ docker top 898336ec525ffb0cbd2dcbbc8f0046d81d6ee8edfc803f0e083a0df64142fd16 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-11T15:03:12.996Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T15:03:12.996Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T15:03:13.211Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T15:03:13.215Z] $ docker exec 898336ec525ffb0cbd2dcbbc8f0046d81d6ee8edfc803f0e083a0df64142fd16 ssh-agent [2021-05-11T15:03:13.398Z] SSH_AUTH_SOCK=/tmp/ssh-M4E9vxbcfqTz/agent.13 [2021-05-11T15:03:13.398Z] SSH_AGENT_PID=18 [2021-05-11T15:03:13.405Z] Running ssh-add (command line suppressed) [2021-05-11T15:03:13.537Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4069431645814307096.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4069431645814307096.key) [2021-05-11T15:03:13.594Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T15:03:13.900Z] + git semver bump pre [2021-05-11T15:03:13.900Z] # -> Open(): unable to determine branch for HEAD [2021-05-11T15:03:13.900Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-05-11T15:03:13.900Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-05-11T15:03:13.900Z] # $SEMVER_REMOTE_NAME = origin [2021-05-11T15:03:13.900Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-11T15:03:13.900Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-11T15:03:13.900Z] # $SEMVER_BRANCH = master [2021-05-11T15:03:13.900Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2021-05-11T15:03:13.900Z] 1.3.2-dev.8 [Pipeline] } [2021-05-11T15:03:13.914Z] $ docker exec --env ******** --env ******** 898336ec525ffb0cbd2dcbbc8f0046d81d6ee8edfc803f0e083a0df64142fd16 ssh-agent -k [2021-05-11T15:03:14.039Z] unset SSH_AUTH_SOCK; [2021-05-11T15:03:14.039Z] unset SSH_AGENT_PID; [2021-05-11T15:03:14.039Z] echo Agent pid 18 killed; [2021-05-11T15:03:14.094Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-11T15:03:14.433Z] + git semver [Pipeline] } [2021-05-11T15:03:14.451Z] $ docker stop --time=1 898336ec525ffb0cbd2dcbbc8f0046d81d6ee8edfc803f0e083a0df64142fd16 [2021-05-11T15:03:15.796Z] $ docker rm -f 898336ec525ffb0cbd2dcbbc8f0046d81d6ee8edfc803f0e083a0df64142fd16 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:03:16.222Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T15:03:16.222Z] . [Pipeline] withDockerContainer [2021-05-11T15:03:16.344Z] prd-centos7-docker-4c-2g-4448 does not seem to be running inside a container [2021-05-11T15:03:16.394Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-11T15:03:16.956Z] $ docker top b8e403946791cf9a2942efaca9122970aab5b6169b8dc8dd13e4d86562dc4d51 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-11T15:03:17.108Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T15:03:17.108Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T15:03:17.292Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T15:03:17.296Z] $ docker exec b8e403946791cf9a2942efaca9122970aab5b6169b8dc8dd13e4d86562dc4d51 ssh-agent [2021-05-11T15:03:17.476Z] SSH_AUTH_SOCK=/tmp/ssh-XoYCFVaBiat5/agent.11 [2021-05-11T15:03:17.476Z] SSH_AGENT_PID=16 [2021-05-11T15:03:17.484Z] Running ssh-add (command line suppressed) [2021-05-11T15:03:17.609Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3379399402983224585.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3379399402983224585.key) [2021-05-11T15:03:17.668Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T15:03:17.973Z] + git semver push [2021-05-11T15:03:17.973Z] # -> Open(): unable to determine branch for HEAD [2021-05-11T15:03:17.973Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-05-11T15:03:17.973Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-05-11T15:03:17.973Z] # $SEMVER_REMOTE_NAME = origin [2021-05-11T15:03:17.973Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-11T15:03:17.973Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-11T15:03:17.973Z] # $SEMVER_BRANCH = master [2021-05-11T15:03:17.973Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-05-11T15:03:22.214Z] $ docker exec --env ******** --env ******** b8e403946791cf9a2942efaca9122970aab5b6169b8dc8dd13e4d86562dc4d51 ssh-agent -k [2021-05-11T15:03:22.345Z] unset SSH_AUTH_SOCK; [2021-05-11T15:03:22.347Z] unset SSH_AGENT_PID; [2021-05-11T15:03:22.347Z] echo Agent pid 16 killed; [2021-05-11T15:03:22.397Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-11T15:03:22.746Z] + git semver [Pipeline] } [2021-05-11T15:03:22.765Z] $ docker stop --time=1 b8e403946791cf9a2942efaca9122970aab5b6169b8dc8dd13e4d86562dc4d51 [2021-05-11T15:03:24.125Z] $ docker rm -f b8e403946791cf9a2942efaca9122970aab5b6169b8dc8dd13e4d86562dc4d51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:03:24.905Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:03:25.490Z] ---> package-listing.sh [2021-05-11T15:03:25.491Z] ++ facter osfamily [2021-05-11T15:03:25.491Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-11T15:03:25.491Z] + OS_FAMILY=redhat [2021-05-11T15:03:25.491Z] + workspace=/w/workspace/xfoundry_device-modbus-go_master [2021-05-11T15:03:25.491Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-11T15:03:25.491Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-11T15:03:25.491Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-11T15:03:25.491Z] + PACKAGES=/tmp/packages_start.txt [2021-05-11T15:03:25.491Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-05-11T15:03:25.491Z] + PACKAGES=/tmp/packages_end.txt [2021-05-11T15:03:25.491Z] + case "${OS_FAMILY}" in [2021-05-11T15:03:25.491Z] + rpm -qa [2021-05-11T15:03:25.491Z] + sort [2021-05-11T15:03:30.794Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-11T15:03:30.794Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-11T15:03:30.794Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-11T15:03:30.794Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-05-11T15:03:30.794Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ [2021-05-11T15:03:30.794Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_master/archives/ [Pipeline] echo [2021-05-11T15:03:30.808Z] 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/xfoundry_device-modbus-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-11T15:03:31.097Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:03:31.409Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T15:03:31.409Z] [2021-05-11T15:03:31.409Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:03:31.733Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T15:03:31.733Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-11T15:03:31.733Z] df20fa9351a1: Pulling fs layer [2021-05-11T15:03:31.733Z] 36b3adc4ff6f: Pulling fs layer [2021-05-11T15:03:31.733Z] 8ad3a11d3b57: Pulling fs layer [2021-05-11T15:03:31.733Z] 46f8f816bc3b: Pulling fs layer [2021-05-11T15:03:31.733Z] 93b61091891f: Pulling fs layer [2021-05-11T15:03:31.733Z] 93b9cdb0e59b: Pulling fs layer [2021-05-11T15:03:31.733Z] 5e14af77c1be: Pulling fs layer [2021-05-11T15:03:31.733Z] 01666e4c0597: Pulling fs layer [2021-05-11T15:03:31.733Z] aa168da1d23b: Pulling fs layer [2021-05-11T15:03:31.733Z] 46f8f816bc3b: Waiting [2021-05-11T15:03:31.733Z] 93b61091891f: Waiting [2021-05-11T15:03:31.733Z] 93b9cdb0e59b: Waiting [2021-05-11T15:03:31.733Z] 5e14af77c1be: Waiting [2021-05-11T15:03:31.733Z] 01666e4c0597: Waiting [2021-05-11T15:03:31.733Z] aa168da1d23b: Waiting [2021-05-11T15:03:31.733Z] 36b3adc4ff6f: Verifying Checksum [2021-05-11T15:03:31.733Z] 36b3adc4ff6f: Download complete [2021-05-11T15:03:31.733Z] 46f8f816bc3b: Verifying Checksum [2021-05-11T15:03:31.733Z] 46f8f816bc3b: Download complete [2021-05-11T15:03:31.733Z] df20fa9351a1: Verifying Checksum [2021-05-11T15:03:31.733Z] df20fa9351a1: Download complete [2021-05-11T15:03:31.996Z] 93b9cdb0e59b: Verifying Checksum [2021-05-11T15:03:31.996Z] 93b9cdb0e59b: Download complete [2021-05-11T15:03:31.996Z] 93b61091891f: Download complete [2021-05-11T15:03:31.996Z] 5e14af77c1be: Verifying Checksum [2021-05-11T15:03:31.996Z] 5e14af77c1be: Download complete [2021-05-11T15:03:31.996Z] 01666e4c0597: Verifying Checksum [2021-05-11T15:03:31.996Z] 01666e4c0597: Download complete [2021-05-11T15:03:31.996Z] 8ad3a11d3b57: Verifying Checksum [2021-05-11T15:03:31.996Z] 8ad3a11d3b57: Download complete [2021-05-11T15:03:32.266Z] df20fa9351a1: Pull complete [2021-05-11T15:03:32.266Z] 36b3adc4ff6f: Pull complete [2021-05-11T15:03:34.194Z] 8ad3a11d3b57: Pull complete [2021-05-11T15:03:34.194Z] aa168da1d23b: Verifying Checksum [2021-05-11T15:03:34.194Z] aa168da1d23b: Download complete [2021-05-11T15:03:34.773Z] 46f8f816bc3b: Pull complete [2021-05-11T15:03:35.041Z] 93b61091891f: Pull complete [2021-05-11T15:03:35.304Z] 93b9cdb0e59b: Pull complete [2021-05-11T15:03:35.304Z] 5e14af77c1be: Pull complete [2021-05-11T15:03:35.573Z] 01666e4c0597: Pull complete [2021-05-11T15:03:42.218Z] aa168da1d23b: Pull complete [2021-05-11T15:03:42.218Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-11T15:03:42.218Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T15:03:42.218Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-11T15:03:42.663Z] prd-centos7-docker-4c-2g-4448 does not seem to be running inside a container [2021-05-11T15:03:42.714Z] $ 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/xfoundry_device-modbus-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/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-11T15:03:45.449Z] $ docker top d33d0ec32d6e90dec65791242c62f8e26b7081606d43f0f200849c92df5bd748 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T15:03:45.867Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-11T15:03:46.168Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-11T15:03:46.471Z] + ls /var/log/sa-host [2021-05-11T15:03:46.471Z] + sadf -c /var/log/sa-host/sa11 [2021-05-11T15:03:46.471Z] file_magic: OK [2021-05-11T15:03:46.471Z] HZ: Using current value: 100 [2021-05-11T15:03:46.471Z] file_header: OK [2021-05-11T15:03:46.471Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-11T15:03:46.471Z] Statistics: [2021-05-11T15:03:46.471Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-11T15:03:46.471Z] File successfully converted to sysstat format version 12.2.1 [2021-05-11T15:03:46.471Z] + sadf -c /var/log/sa-host/sa23 [2021-05-11T15:03:46.471Z] file_magic: OK [2021-05-11T15:03:46.471Z] HZ: Using current value: 100 [2021-05-11T15:03:46.471Z] file_header: OK [2021-05-11T15:03:46.471Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-11T15:03:46.471Z] Statistics: [2021-05-11T15:03:46.471Z] Hnuu...uuuununununu... [2021-05-11T15:03:46.471Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-11T15:03:46.662Z] provisioning config files... [2021-05-11T15:03:46.676Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7889091115680543505tmp [Pipeline] { [Pipeline] echo [2021-05-11T15:03:46.699Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:03:46.999Z] ---> create-netrc.sh [Pipeline] } [2021-05-11T15:03:47.009Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-11T15:03:47.036Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:03:47.336Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-11T15:03:47.347Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:03:47.645Z] ---> sudo-logs.sh [2021-05-11T15:03:47.645Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-11T15:03:47.688Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:03:48.067Z] ---> job-cost.sh [2021-05-11T15:03:48.067Z] lf-activate-venv: SKIPPING [2021-05-11T15:03:48.067Z] DEBUG: total: 0.20999999344348907 [2021-05-11T15:03:48.067Z] INFO: Retrieving Stack Cost... [2021-05-11T15:03:49.048Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T15:03:49.620Z] INFO: Archiving Costs [Pipeline] echo [2021-05-11T15:03:49.634Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:03:49.932Z] ---> logs-deploy.sh [2021-05-11T15:03:49.933Z] lf-activate-venv: SKIPPING [2021-05-11T15:03:49.933Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/45 [2021-05-11T15:03:49.933Z] INFO: archiving workspace using pattern(s): [2021-05-11T15:03:51.330Z] Archives upload complete. [2021-05-11T15:03:51.591Z] INFO: archiving logs to Nexus