Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b 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 d07cd02ecb4437160b67c3e2c8b9f8516fc20714 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 d07cd02ecb4437160b67c3e2c8b9f8516fc20714 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 d07cd02ecb4437160b67c3e2c8b9f8516fc20714 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d07cd02ecb4437160b67c3e2c8b9f8516fc20714 # timeout=10 Commit message: "Merge pull request #233 from ernestojeda/fix-snap-workspace-issue" > 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. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, goVersion:1.13, 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.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-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 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-213’ is offline; ‘prd-centos7-docker-4c-2g-962’ is offline; ‘prd-centos7-docker-4c-2g-968’ is offline; ‘prd-centos7-docker-4c-2g-972’ is offline; ‘prd-centos7-docker-4c-2g-986’ is offline; ‘prd-ubuntu18.04-docker-arm64-16c-16g-976’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-973’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-975’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-990 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 with configured refspecs honoured and without tags 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.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Checking out Revision 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b (master) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 --no-tags --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 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b # timeout=10 Commit message: "Merge pull request #165 from hahattan/attribution-cleanup" > git rev-list --no-walk c5c0b25878f760de5fc762f4e5751ff9b1eaad85 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:54:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:54:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:54:26 ========================================================= 01:54:26 EdgeX Global Pipelines Version Info 01:54:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:54:27 ------------------- 01:54:27 stable info: 01:54:27 ------------------- 01:54:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:54:27 Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 01:54:27 Message: update stable to v1.0.115 01:54:28 ------------------- 01:54:28 experimental info: 01:54:28 ------------------- 01:54:28 Commited By: **** collab-it+edgex@linuxfoundation.org 01:54:28 Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 01:54:28 Message: update experimental to v1.0.115 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 01:54:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 01:54:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 01:54:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:54:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:54:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:54:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo 01:54:29 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 01:54:29 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo 01:54:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:54:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:54:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:54:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo 01:54:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:54:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:54:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:54:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:54:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:54:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:54:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:54:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 01:54:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:54:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:54:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 01:54:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 01:54:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 01:54:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b [Pipeline] echo 01:54:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0f6ae87 [Pipeline] echo 01:54:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:54:34 + git log --format=format:%s -1 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b [Pipeline] echo 01:54:34 GIT_COMMIT: 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b, Commit Message: Merge pull request #165 from hahattan/attribution-cleanup [Pipeline] echo 01:54:34 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 01:54:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:54:35 01:54:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:54:35 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:54:35 latest: Pulling from edgex-devops/git-semver 01:54:35 31603596830f: Pulling fs layer 01:54:35 2a8b12db71e7: Pulling fs layer 01:54:35 6ca5941a6612: Pulling fs layer 01:54:35 ecc8261a40a4: Pulling fs layer 01:54:35 ecc8261a40a4: Waiting 01:54:35 2a8b12db71e7: Verifying Checksum 01:54:35 2a8b12db71e7: Download complete 01:54:35 31603596830f: Verifying Checksum 01:54:35 31603596830f: Download complete 01:54:36 ecc8261a40a4: Verifying Checksum 01:54:36 ecc8261a40a4: Download complete 01:54:36 6ca5941a6612: Verifying Checksum 01:54:36 6ca5941a6612: Download complete 01:54:36 31603596830f: Pull complete 01:54:36 2a8b12db71e7: Pull complete 01:54:37 6ca5941a6612: Pull complete 01:54:37 ecc8261a40a4: Pull complete 01:54:37 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 01:54:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:54:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:54:37 prd-centos7-docker-4c-2g-990 does not seem to be running inside a container 01:54:37 $ docker run -t -d -u 1001:1001 -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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:54:39 $ docker top 7d5303e26ea61a86cad9676759f77348938b90cb9d1d6955ec6753c15fd6458f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:54:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:54:40 [ssh-agent] Looking for ssh-agent implementation... 01:54:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:54:40 $ docker exec 7d5303e26ea61a86cad9676759f77348938b90cb9d1d6955ec6753c15fd6458f ssh-agent 01:54:40 SSH_AUTH_SOCK=/tmp/ssh-CAhtNNPJBF9R/agent.12 01:54:40 SSH_AGENT_PID=18 01:54:40 Running ssh-add (command line suppressed) 01:54:40 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7344167470612362885.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7344167470612362885.key) 01:54:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:54:41 + git describe --exact-match --tags HEAD 01:54:41 fatal: No names found, cannot describe anything. [Pipeline] } 01:54:41 $ docker exec --env ******** --env ******** 7d5303e26ea61a86cad9676759f77348938b90cb9d1d6955ec6753c15fd6458f ssh-agent -k 01:54:41 unset SSH_AUTH_SOCK; 01:54:41 unset SSH_AGENT_PID; 01:54:41 echo Agent pid 18 killed; 01:54:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 01:54:41 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 01:54:41 This usually means this commit has not been tagged. [Pipeline] sshagent 01:54:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:54:41 [ssh-agent] Looking for ssh-agent implementation... 01:54:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:54:41 $ docker exec 7d5303e26ea61a86cad9676759f77348938b90cb9d1d6955ec6753c15fd6458f ssh-agent 01:54:41 SSH_AUTH_SOCK=/tmp/ssh-b6pjNt1hbEXf/agent.48 01:54:41 SSH_AGENT_PID=53 01:54:41 Running ssh-add (command line suppressed) 01:54:42 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_673744994906647171.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_673744994906647171.key) 01:54:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:54:42 + git semver init 01:54:42 # -> Open(): unable to determine branch for HEAD 01:54:42 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 01:54:42 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 01:54:42 # $SEMVER_REMOTE_NAME = origin 01:54:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:54:42 # $SEMVER_USER_NAME = edgex-jenkins 01:54:42 # $SEMVER_BRANCH = master 01:54:42 # $SEMVER_TEMP = /tmp/semver-178785158 01:54:42 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 01:54:42 # '/tmp/semver-178785158' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' 01:54:42 # -> Force: false 01:54:42 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 01:54:42 $ docker exec --env ******** --env ******** 7d5303e26ea61a86cad9676759f77348938b90cb9d1d6955ec6753c15fd6458f ssh-agent -k 01:54:42 unset SSH_AUTH_SOCK; 01:54:42 unset SSH_AGENT_PID; 01:54:42 echo Agent pid 53 killed; 01:54:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:54:43 + git semver [Pipeline] } 01:54:43 $ docker stop --time=1 7d5303e26ea61a86cad9676759f77348938b90cb9d1d6955ec6753c15fd6458f 01:54:44 $ docker rm -f 7d5303e26ea61a86cad9676759f77348938b90cb9d1d6955ec6753c15fd6458f [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 01:54:45 Stashed 22 file(s) [Pipeline] echo 01:54:45 [edgeXSemver]: initialized semver on version 1.2.3-dev.3 [Pipeline] echo 01:54:45 Archived original version: [1.2.3-dev.3] [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 01:54:46 Running on prd-centos7-docker-4c-2g-991 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 01:54:46 Running in /w/workspace/device-modbus-go/21 [Pipeline] { [Pipeline] checkout 01:54:49 using credential edgex-jenkins-ssh 01:54:49 Cloning the remote Git repository 01:54:49 Cloning with configured refspecs honoured and without tags 01:54:49 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 01:54:49 > git init /w/workspace/device-modbus-go/21 # timeout=10 01:54:49 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 01:54:49 > git --version # timeout=10 01:54:49 > git --version # 'git version 2.16.5' 01:54:49 using GIT_SSH to set credentials SSH Credentials for GitHub 01:54:49 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 01:54:49 Fetching without tags 01:54:50 Checking out Revision 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b (master) 01:54:49 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 01:54:49 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 01:54:49 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 01:54:49 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 01:54:49 using GIT_SSH to set credentials SSH Credentials for GitHub 01:54:50 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 01:54:50 > git config core.sparsecheckout # timeout=10 01:54:50 > git checkout -f 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b # timeout=10 01:54:54 Commit message: "Merge pull request #165 from hahattan/attribution-cleanup" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 01:54:55 ========================================================= 01:54:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 01:54:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:54:55 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 01:54:56 Sending build context to Docker daemon 650.2kB 01:54:56 Step 1/8 : ARG BASE=golang:1.13-alpine 01:54:56 Step 2/8 : FROM ${BASE} 01:54:56 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 01:54:56 df20fa9351a1: Pulling fs layer 01:54:56 ed8968b2872e: Pulling fs layer 01:54:56 a92cc7c5fd73: Pulling fs layer 01:54:56 2dd03ba5bac4: Pulling fs layer 01:54:56 1e091d79d1de: Pulling fs layer 01:54:56 481702a1767f: Pulling fs layer 01:54:56 f64a6f60c768: Pulling fs layer 01:54:56 e78d2573fc39: Pulling fs layer 01:54:56 e876d2f968b6: Pulling fs layer 01:54:56 ce8a83651883: Pulling fs layer 01:54:56 07967f4d0e4b: Pulling fs layer 01:54:56 f64a6f60c768: Waiting 01:54:56 e78d2573fc39: Waiting 01:54:56 e876d2f968b6: Waiting 01:54:56 ce8a83651883: Waiting 01:54:56 07967f4d0e4b: Waiting 01:54:56 2dd03ba5bac4: Waiting 01:54:56 1e091d79d1de: Waiting 01:54:56 481702a1767f: Waiting 01:54:56 a92cc7c5fd73: Verifying Checksum 01:54:56 a92cc7c5fd73: Download complete 01:54:56 ed8968b2872e: Verifying Checksum 01:54:56 ed8968b2872e: Download complete 01:54:56 1e091d79d1de: Download complete 01:54:56 481702a1767f: Download complete 01:54:56 df20fa9351a1: Verifying Checksum 01:54:57 df20fa9351a1: Pull complete 01:54:57 f64a6f60c768: Verifying Checksum 01:54:57 f64a6f60c768: Download complete 01:54:57 e876d2f968b6: Verifying Checksum 01:54:57 e876d2f968b6: Download complete 01:54:57 ed8968b2872e: Pull complete 01:54:58 a92cc7c5fd73: Pull complete 01:54:58 ce8a83651883: Verifying Checksum 01:54:58 ce8a83651883: Download complete 01:54:58 e78d2573fc39: Verifying Checksum 01:54:58 e78d2573fc39: Download complete 01:54:58 07967f4d0e4b: Verifying Checksum 01:54:58 07967f4d0e4b: Download complete 01:54:58 2dd03ba5bac4: Verifying Checksum 01:54:58 2dd03ba5bac4: Download complete 01:55:00 Still waiting to schedule task 01:55:00 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 01:55:06 2dd03ba5bac4: Pull complete 01:55:06 1e091d79d1de: Pull complete 01:55:06 481702a1767f: Pull complete 01:55:12 f64a6f60c768: Pull complete 01:55:15 e78d2573fc39: Pull complete 01:55:15 e876d2f968b6: Pull complete 01:55:16 ce8a83651883: Pull complete 01:55:16 07967f4d0e4b: Pull complete 01:55:16 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 01:55:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 01:55:16 ---> 5d7c900382c6 01:55:16 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 01:55:18 ---> Running in 1396a0bc1df8 01:55:18 Removing intermediate container 1396a0bc1df8 01:55:18 ---> 384963eebeae 01:55:18 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:55:18 ---> Running in d1fa6c5d3c0d 01:55:19 Removing intermediate container d1fa6c5d3c0d 01:55:19 ---> 936c759496f5 01:55:19 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 01:55:19 ---> Running in 17e16cace18c 01:55:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:55:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:55:21 (1/14) Installing libmagic (5.38-r0) 01:55:22 (2/14) Installing file (5.38-r0) 01:55:22 (3/14) Installing libc-dev (0.7.2-r3) 01:55:22 (4/14) Installing g++ (9.3.0-r2) 01:55:27 (5/14) Installing fortify-headers (1.1-r0) 01:55:27 (6/14) Installing patch (2.7.6-r6) 01:55:27 (7/14) Installing build-base (0.5-r2) 01:55:27 (8/14) Installing openssh-keygen (8.3_p1-r0) 01:55:27 (9/14) Installing libedit (20191231.3.1-r0) 01:55:27 (10/14) Installing openssh-client (8.3_p1-r0) 01:55:27 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 01:55:27 (12/14) Installing openssh-server-common (8.3_p1-r0) 01:55:27 (13/14) Installing openssh-server (8.3_p1-r0) 01:55:28 (14/14) Installing openssh (8.3_p1-r0) 01:55:28 Executing busybox-1.31.1-r16.trigger 01:55:28 OK: 237 MiB in 53 packages 01:55:30 Removing intermediate container 17e16cace18c 01:55:30 ---> 250237f28d73 01:55:30 Step 6/8 : WORKDIR /device-modbus-go 01:55:30 ---> Running in 2bf9b1547d88 01:55:31 Removing intermediate container 2bf9b1547d88 01:55:31 ---> a48ae66edefd 01:55:31 Step 7/8 : COPY . . 01:55:31 ---> d9f7902e19b3 01:55:31 Step 8/8 : RUN go mod download 01:55:31 ---> Running in cb18bf7d16fd 01:55:33 go: finding github.com/BurntSushi/toml v0.3.1 01:55:33 go: finding github.com/OneOfOne/xxhash v1.2.6 01:55:34 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 01:55:34 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:55:34 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 01:55:34 go: finding github.com/bgentry/speakeasy v0.1.0 01:55:34 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 01:55:34 go: finding github.com/davecgh/go-spew v1.1.1 01:55:34 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 01:55:34 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 01:55:34 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 01:55:34 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 01:55:34 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 01:55:34 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 01:55:34 go: finding github.com/fatih/color v1.7.0 01:55:34 go: finding github.com/fxamacker/cbor/v2 v2.2.0 01:55:34 go: finding github.com/go-kit/kit v0.8.0 01:55:34 go: finding github.com/go-logfmt/logfmt v0.4.0 01:55:34 go: finding github.com/go-stack/stack v1.8.0 01:55:34 go: finding github.com/goburrow/modbus v0.1.0 01:55:34 go: finding github.com/goburrow/serial v0.1.0 01:55:34 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 01:55:34 go: finding github.com/google/uuid v1.1.1 01:55:34 go: finding github.com/gorilla/mux v1.7.1 01:55:34 go: finding github.com/hashicorp/consul/api v1.1.0 01:55:34 go: finding github.com/hashicorp/consul/sdk v0.1.1 01:55:34 go: finding github.com/hashicorp/errwrap v1.0.0 01:55:34 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 01:55:34 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 01:55:34 go: finding github.com/hashicorp/go-msgpack v0.5.3 01:55:35 go: finding github.com/hashicorp/go-multierror v1.0.0 01:55:35 go: finding github.com/hashicorp/go-rootcerts v1.0.0 01:55:35 go: finding github.com/hashicorp/go-sockaddr v1.0.1 01:55:35 go: finding github.com/hashicorp/go-syslog v1.0.0 01:55:35 go: finding github.com/hashicorp/go-uuid v1.0.1 01:55:35 go: finding github.com/hashicorp/go.net v0.0.1 01:55:35 go: finding github.com/hashicorp/golang-lru v0.5.1 01:55:35 go: finding github.com/hashicorp/logutils v1.0.0 01:55:35 go: finding github.com/hashicorp/mdns v1.0.0 01:55:35 go: finding github.com/hashicorp/memberlist v0.1.3 01:55:35 go: finding github.com/hashicorp/serf v0.8.2 01:55:35 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 01:55:35 go: finding github.com/mattn/go-colorable v0.0.9 01:55:35 go: finding github.com/mattn/go-isatty v0.0.3 01:55:35 go: finding github.com/miekg/dns v1.1.4 01:55:35 go: finding github.com/mitchellh/cli v1.0.0 01:55:35 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:55:35 go: finding github.com/mitchellh/copystructure v1.0.0 01:55:35 go: finding github.com/mitchellh/go-homedir v1.1.0 01:55:35 go: finding github.com/mitchellh/go-testing-interface v1.0.0 01:55:35 go: finding github.com/mitchellh/go-wordwrap v1.0.0 01:55:36 go: finding github.com/mitchellh/gox v0.4.0 01:55:36 go: finding github.com/mitchellh/iochan v1.0.0 01:55:36 go: finding github.com/mitchellh/mapstructure v1.1.2 01:55:36 go: finding github.com/mitchellh/reflectwalk v1.0.0 01:55:36 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 01:55:36 go: finding github.com/pelletier/go-toml v1.2.0 01:55:36 go: finding github.com/pkg/errors v0.8.1 01:55:36 go: finding github.com/pmezard/go-difflib v1.0.0 01:55:36 go: finding github.com/posener/complete v1.1.1 01:55:36 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 01:55:36 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 01:55:36 go: finding github.com/stretchr/objx v0.1.0 01:55:36 go: finding github.com/stretchr/testify v1.5.1 01:55:36 go: finding github.com/ugorji/go v1.1.4 01:55:36 go: finding github.com/x448/float16 v0.8.4 01:55:36 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 01:55:36 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 01:55:36 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 01:55:36 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 01:55:36 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 01:55:36 go: finding gopkg.in/yaml.v2 v2.2.8 01:55:44 Removing intermediate container cb18bf7d16fd 01:55:44 ---> 7284bb55dbc9 01:55:44 Successfully built 7284bb55dbc9 01:55:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:55:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:55:47 + ls -al . 01:55:47 total 64 01:55:47 drwxrwxr-x. 10 jenkins jenkins 4096 Sep 1 01:54 . 01:55:47 drwxrwxr-x. 4 jenkins jenkins 30 Sep 1 01:54 .. 01:55:47 -rw-rw-r--. 1 jenkins jenkins 4564 Sep 1 01:54 Attribution.txt 01:55:47 drwxrwxr-x. 2 jenkins jenkins 87 Sep 1 01:54 bin 01:55:47 drwxrwxr-x. 3 jenkins jenkins 32 Sep 1 01:54 cmd 01:55:47 -rw-rw-r--. 1 jenkins jenkins 1430 Sep 1 01:54 Dockerfile 01:55:47 -rw-rw-r--. 1 jenkins jenkins 954 Sep 1 01:54 Dockerfile.build 01:55:47 -rw-rw-r--. 1 jenkins jenkins 140 Sep 1 01:54 .dockerignore 01:55:47 drwxrwxr-x. 8 jenkins jenkins 162 Sep 1 01:54 .git 01:55:47 drwxrwxr-x. 2 jenkins jenkins 38 Sep 1 01:54 .github 01:55:47 -rw-rw-r--. 1 jenkins jenkins 330 Sep 1 01:54 .gitignore 01:55:47 -rw-rw-r--. 1 jenkins jenkins 559 Sep 1 01:54 go.mod 01:55:47 drwxrwxr-x. 3 jenkins jenkins 20 Sep 1 01:54 internal 01:55:47 -rw-rw-r--. 1 jenkins jenkins 702 Sep 1 01:54 Jenkinsfile 01:55:47 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 1 01:54 LICENSE 01:55:47 -rw-rw-r--. 1 jenkins jenkins 880 Sep 1 01:54 Makefile 01:55:47 -rw-rw-r--. 1 jenkins jenkins 591 Sep 1 01:54 README.md 01:55:47 drwxrwxr-x. 3 jenkins jenkins 44 Sep 1 01:54 .semver 01:55:47 drwxrwxr-x. 2 jenkins jenkins 35 Sep 1 01:54 simulator 01:55:47 drwxrwxr-x. 4 jenkins jenkins 54 Sep 1 01:54 snap 01:55:47 -rw-rw-r--. 1 jenkins jenkins 11 Sep 1 01:54 VERSION 01:55:47 -rw-rw-r--. 1 jenkins jenkins 229 Sep 1 01:54 version.go [Pipeline] isUnix [Pipeline] sh 01:55:48 + 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=0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b --label arch=amd64 --label version=1.2.3-dev.3 . 01:55:48 Sending build context to Docker daemon 650.2kB 01:55:48 Step 1/20 : ARG BASE=golang:1.13-alpine 01:55:48 Step 2/20 : FROM ${BASE} AS builder 01:55:48 ---> 7284bb55dbc9 01:55:48 Step 3/20 : ARG MAKE='make build' 01:55:48 ---> Running in 9c0c23706fcc 01:55:49 Removing intermediate container 9c0c23706fcc 01:55:49 ---> d38b5b6bb28f 01:55:49 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:55:49 ---> Running in 19cc06850588 01:55:51 Removing intermediate container 19cc06850588 01:55:51 ---> 3380715bffae 01:55:51 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 01:55:51 ---> Running in ac4a1f815acb 01:55:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:55:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:55:52 OK: 237 MiB in 53 packages 01:55:53 Removing intermediate container ac4a1f815acb 01:55:53 ---> b1ca77cf24ca 01:55:53 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 01:55:53 ---> Running in 89f7737fc0e1 01:55:53 Removing intermediate container 89f7737fc0e1 01:55:53 ---> 766a25d3c611 01:55:53 Step 7/20 : COPY . . 01:55:53 ---> d969bede95a3 01:55:53 Step 8/20 : RUN ${MAKE} 01:55:53 ---> Running in 4c051167d11c 01:55:54 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.3-dev.3" -o cmd/device-modbus ./cmd 01:56:04 CGO_ENABLED=0 GO111MODULE=on go build ./... 01:56:07 Removing intermediate container 4c051167d11c 01:56:07 ---> 225320119acb 01:56:07 Step 9/20 : FROM scratch 01:56:07 ---> 01:56:07 Step 10/20 : ENV APP_PORT=49991 01:56:07 ---> Running in 8f61169aaae7 01:56:07 Removing intermediate container 8f61169aaae7 01:56:07 ---> 42e50c62b8aa 01:56:07 Step 11/20 : EXPOSE $APP_PORT 01:56:07 ---> Running in 905f24d34642 01:56:07 Removing intermediate container 905f24d34642 01:56:07 ---> 756216460c49 01:56:07 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 01:56:08 ---> 9b5f7fa89ba4 01:56:08 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 01:56:08 ---> a52e87a26cb7 01:56:08 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 01:56:08 ---> aa4f16e02854 01:56:08 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 01:56:08 ---> Running in d79d685d4b6f 01:56:08 Removing intermediate container d79d685d4b6f 01:56:08 ---> 534f4840b8bd 01:56:08 Step 16/20 : ENTRYPOINT ["/device-modbus"] 01:56:08 ---> Running in ef20e2879253 01:56:09 Removing intermediate container ef20e2879253 01:56:09 ---> 96a134888b67 01:56:09 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:56:09 ---> Running in 87e45fab0b97 01:56:09 Removing intermediate container 87e45fab0b97 01:56:09 ---> f2fca9e3a92c 01:56:09 Step 18/20 : LABEL arch=amd64 01:56:09 ---> Running in 4dcae2787be9 01:56:09 Removing intermediate container 4dcae2787be9 01:56:09 ---> 2453ca686af5 01:56:09 Step 19/20 : LABEL git_sha=0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b 01:56:09 ---> Running in 845d4159a63c 01:56:09 Removing intermediate container 845d4159a63c 01:56:09 ---> 73ce2fcc184a 01:56:09 Step 20/20 : LABEL version=1.2.3-dev.3 01:56:09 ---> Running in 28bf2bc2ee55 01:56:10 Removing intermediate container 28bf2bc2ee55 01:56:10 ---> 626f9499161d 01:56:10 [Warning] One or more build-args [ARCH] were not consumed 01:56:10 Successfully built 626f9499161d 01:56:10 Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 01:56:10 provisioning config files... 01:56:10 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/21@tmp/config5797455687640344964tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:56:11 ---> docker-login.sh 01:56:11 nexus3.edgexfoundry.org:10001 01:56:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:11 Configure a credential helper to remove this warning. See 01:56:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:11 01:56:11 Login Succeeded 01:56:11 nexus3.edgexfoundry.org:10002 01:56:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:11 Configure a credential helper to remove this warning. See 01:56:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:11 01:56:11 Login Succeeded 01:56:11 nexus3.edgexfoundry.org:10003 01:56:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:11 Configure a credential helper to remove this warning. See 01:56:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:11 01:56:11 Login Succeeded 01:56:11 nexus3.edgexfoundry.org:10004 01:56:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:12 Configure a credential helper to remove this warning. See 01:56:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:12 01:56:12 Login Succeeded 01:56:12 docker.io 01:56:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:12 Configure a credential helper to remove this warning. See 01:56:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:12 01:56:12 Login Succeeded 01:56:12 ---> docker-login.sh ends [Pipeline] } 01:56:12 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:56:12 [edgeXDocker.push] Tagging docker image docker-device-modbus-go with the following tags: 01:56:12 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b 01:56:12 latest 01:56:12 1.2.3-dev.3 01:56:12 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b-1.2.3-dev.3 01:56:12 master 01:56:12 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:56:13 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b [Pipeline] isUnix [Pipeline] sh 01:56:13 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b 01:56:13 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 01:56:13 8dba883cdba2: Preparing 01:56:13 7556519464c2: Preparing 01:56:13 9a69ff225d03: Preparing 01:56:13 7556519464c2: Pushed 01:56:13 8dba883cdba2: Pushed 01:56:14 9a69ff225d03: Pushed 01:56:14 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b: digest: sha256:7bcded88954d26b4eb279bf525d504164e69fc73d43ffff2b4d9b17104413490 size: 943 [Pipeline] isUnix [Pipeline] sh 01:56:15 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [Pipeline] isUnix [Pipeline] sh 01:56:15 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest 01:56:15 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 01:56:15 8dba883cdba2: Preparing 01:56:15 7556519464c2: Preparing 01:56:15 9a69ff225d03: Preparing 01:56:15 7556519464c2: Layer already exists 01:56:15 8dba883cdba2: Layer already exists 01:56:15 9a69ff225d03: Layer already exists 01:56:15 latest: digest: sha256:7bcded88954d26b4eb279bf525d504164e69fc73d43ffff2b4d9b17104413490 size: 943 [Pipeline] isUnix [Pipeline] sh 01:56:15 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.2.3-dev.3 [Pipeline] isUnix [Pipeline] sh 01:56:16 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.2.3-dev.3 01:56:16 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 01:56:16 8dba883cdba2: Preparing 01:56:16 7556519464c2: Preparing 01:56:16 9a69ff225d03: Preparing 01:56:16 8dba883cdba2: Layer already exists 01:56:16 9a69ff225d03: Layer already exists 01:56:16 7556519464c2: Layer already exists 01:56:16 1.2.3-dev.3: digest: sha256:7bcded88954d26b4eb279bf525d504164e69fc73d43ffff2b4d9b17104413490 size: 943 [Pipeline] isUnix [Pipeline] sh 01:56:16 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b-1.2.3-dev.3 [Pipeline] isUnix [Pipeline] sh 01:56:16 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b-1.2.3-dev.3 01:56:16 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 01:56:16 8dba883cdba2: Preparing 01:56:16 7556519464c2: Preparing 01:56:16 9a69ff225d03: Preparing 01:56:16 9a69ff225d03: Layer already exists 01:56:16 7556519464c2: Layer already exists 01:56:16 8dba883cdba2: Layer already exists 01:56:16 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b-1.2.3-dev.3: digest: sha256:7bcded88954d26b4eb279bf525d504164e69fc73d43ffff2b4d9b17104413490 size: 943 [Pipeline] isUnix [Pipeline] sh 01:56:17 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [Pipeline] isUnix [Pipeline] sh 01:56:17 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master 01:56:17 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 01:56:17 8dba883cdba2: Preparing 01:56:17 7556519464c2: Preparing 01:56:17 9a69ff225d03: Preparing 01:56:17 7556519464c2: Layer already exists 01:56:17 8dba883cdba2: Layer already exists 01:56:17 9a69ff225d03: Layer already exists 01:56:17 master: digest: sha256:7bcded88954d26b4eb279bf525d504164e69fc73d43ffff2b4d9b17104413490 size: 943 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:56:17 ===================================================== [Pipeline] echo 01:56:17 taggedImages: 01:56:17 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b 01:56:17 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest 01:56:17 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.2.3-dev.3 01:56:17 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b-1.2.3-dev.3 01:56:17 - 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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:56:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-992 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 01:56:47 Running in /w/workspace/device-modbus-go/21 [Pipeline] { [Pipeline] checkout 01:56:52 using credential edgex-jenkins-ssh 01:56:52 Cloning the remote Git repository 01:56:52 Cloning with configured refspecs honoured and without tags 01:56:52 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 01:56:52 > git init /w/workspace/device-modbus-go/21 # timeout=10 01:56:52 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 01:56:52 > git --version # timeout=10 01:56:53 > git --version # 'git version 2.17.1' 01:56:53 using GIT_SSH to set credentials SSH Credentials for GitHub 01:56:53 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 01:56:54 Fetching without tags 01:56:54 Checking out Revision 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b (master) 01:56:53 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 01:56:53 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 01:56:54 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 01:56:54 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 01:56:54 using GIT_SSH to set credentials SSH Credentials for GitHub 01:56:54 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 01:56:54 > git config core.sparsecheckout # timeout=10 01:56:54 > git checkout -f 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b # timeout=10 01:56:59 Commit message: "Merge pull request #165 from hahattan/attribution-cleanup" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 01:57:01 ========================================================= 01:57:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 01:57:01 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:57:02 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 01:57:03 Sending build context to Docker daemon 650.2kB 01:57:03 Step 1/8 : ARG BASE=golang:1.13-alpine 01:57:03 Step 2/8 : FROM ${BASE} 01:57:03 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:57:03 b538f80385f9: Pulling fs layer 01:57:03 74f711af9a0d: Pulling fs layer 01:57:03 99f96fe45779: Pulling fs layer 01:57:03 fd7a069fd194: Pulling fs layer 01:57:03 66aa3694b03b: Pulling fs layer 01:57:03 170f70906a0f: Pulling fs layer 01:57:03 ad7c5574e4b9: Pulling fs layer 01:57:03 e772456be8f7: Pulling fs layer 01:57:03 c890913d741a: Pulling fs layer 01:57:03 2480fcc9aa5a: Pulling fs layer 01:57:03 09adf4765672: Pulling fs layer 01:57:03 fd7a069fd194: Waiting 01:57:03 66aa3694b03b: Waiting 01:57:03 170f70906a0f: Waiting 01:57:03 ad7c5574e4b9: Waiting 01:57:03 e772456be8f7: Waiting 01:57:03 c890913d741a: Waiting 01:57:03 09adf4765672: Waiting 01:57:03 2480fcc9aa5a: Waiting 01:57:03 99f96fe45779: Verifying Checksum 01:57:03 99f96fe45779: Download complete 01:57:03 74f711af9a0d: Verifying Checksum 01:57:03 74f711af9a0d: Download complete 01:57:03 66aa3694b03b: Verifying Checksum 01:57:03 66aa3694b03b: Download complete 01:57:03 170f70906a0f: Download complete 01:57:03 b538f80385f9: Verifying Checksum 01:57:04 b538f80385f9: Pull complete 01:57:05 74f711af9a0d: Pull complete 01:57:05 99f96fe45779: Pull complete 01:57:06 ad7c5574e4b9: Verifying Checksum 01:57:06 ad7c5574e4b9: Download complete 01:57:06 c890913d741a: Verifying Checksum 01:57:06 c890913d741a: Download complete 01:57:08 2480fcc9aa5a: Verifying Checksum 01:57:08 2480fcc9aa5a: Download complete 01:57:08 09adf4765672: Download complete 01:57:09 e772456be8f7: Verifying Checksum 01:57:09 e772456be8f7: Download complete 01:57:09 fd7a069fd194: Download complete 01:57:21 fd7a069fd194: Pull complete 01:57:21 66aa3694b03b: Pull complete 01:57:21 170f70906a0f: Pull complete 01:57:24 ad7c5574e4b9: Pull complete 01:57:28 e772456be8f7: Pull complete 01:57:29 c890913d741a: Pull complete 01:57:31 2480fcc9aa5a: Pull complete 01:57:32 09adf4765672: Pull complete 01:57:32 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 01:57:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 01:57:32 ---> 2248a725d1cf 01:57:32 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 01:57:36 ---> Running in 383436078df4 01:57:36 Removing intermediate container 383436078df4 01:57:36 ---> 95862f6dd375 01:57:36 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:57:36 ---> Running in 6c5ef43d52cf 01:57:38 Removing intermediate container 6c5ef43d52cf 01:57:38 ---> a3a247793152 01:57:38 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 01:57:39 ---> Running in 502a4f4c4886 01:57:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:57:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:57:41 (1/14) Installing libmagic (5.38-r0) 01:57:42 (2/14) Installing file (5.38-r0) 01:57:42 (3/14) Installing libc-dev (0.7.2-r3) 01:57:42 (4/14) Installing g++ (9.3.0-r2) 01:57:47 (5/14) Installing fortify-headers (1.1-r0) 01:57:47 (6/14) Installing patch (2.7.6-r6) 01:57:47 (7/14) Installing build-base (0.5-r2) 01:57:47 (8/14) Installing openssh-keygen (8.3_p1-r0) 01:57:47 (9/14) Installing libedit (20191231.3.1-r0) 01:57:47 (10/14) Installing openssh-client (8.3_p1-r0) 01:57:47 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 01:57:47 (12/14) Installing openssh-server-common (8.3_p1-r0) 01:57:48 (13/14) Installing openssh-server (8.3_p1-r0) 01:57:48 (14/14) Installing openssh (8.3_p1-r0) 01:57:48 Executing busybox-1.31.1-r16.trigger 01:57:48 OK: 221 MiB in 53 packages 01:57:52 Removing intermediate container 502a4f4c4886 01:57:52 ---> 3f4f5b8a3c98 01:57:52 Step 6/8 : WORKDIR /device-modbus-go 01:57:52 ---> Running in 1c8643220809 01:57:52 Removing intermediate container 1c8643220809 01:57:52 ---> e59cd339251b 01:57:52 Step 7/8 : COPY . . 01:57:53 ---> 57eab7802b66 01:57:53 Step 8/8 : RUN go mod download 01:57:54 ---> Running in c6315e6dc8aa 01:57:57 go: finding github.com/BurntSushi/toml v0.3.1 01:57:57 go: finding github.com/OneOfOne/xxhash v1.2.6 01:57:57 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 01:57:57 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:57:57 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 01:57:57 go: finding github.com/bgentry/speakeasy v0.1.0 01:57:57 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 01:57:57 go: finding github.com/davecgh/go-spew v1.1.1 01:57:57 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 01:57:57 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 01:57:57 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 01:57:57 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 01:57:57 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 01:57:57 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 01:57:57 go: finding github.com/fatih/color v1.7.0 01:57:57 go: finding github.com/fxamacker/cbor/v2 v2.2.0 01:57:57 go: finding github.com/go-kit/kit v0.8.0 01:57:57 go: finding github.com/go-logfmt/logfmt v0.4.0 01:57:57 go: finding github.com/go-stack/stack v1.8.0 01:57:57 go: finding github.com/goburrow/modbus v0.1.0 01:57:57 go: finding github.com/goburrow/serial v0.1.0 01:57:57 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 01:57:58 go: finding github.com/google/uuid v1.1.1 01:57:58 go: finding github.com/gorilla/mux v1.7.1 01:57:58 go: finding github.com/hashicorp/consul/api v1.1.0 01:57:58 go: finding github.com/hashicorp/consul/sdk v0.1.1 01:57:58 go: finding github.com/hashicorp/errwrap v1.0.0 01:57:58 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 01:57:58 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 01:57:58 go: finding github.com/hashicorp/go-msgpack v0.5.3 01:57:58 go: finding github.com/hashicorp/go-multierror v1.0.0 01:57:58 go: finding github.com/hashicorp/go-rootcerts v1.0.0 01:57:58 go: finding github.com/hashicorp/go-sockaddr v1.0.1 01:57:58 go: finding github.com/hashicorp/go-syslog v1.0.0 01:57:58 go: finding github.com/hashicorp/go-uuid v1.0.1 01:57:58 go: finding github.com/hashicorp/go.net v0.0.1 01:57:58 go: finding github.com/hashicorp/golang-lru v0.5.1 01:57:58 go: finding github.com/hashicorp/logutils v1.0.0 01:57:58 go: finding github.com/hashicorp/mdns v1.0.0 01:57:58 go: finding github.com/hashicorp/memberlist v0.1.3 01:57:58 go: finding github.com/hashicorp/serf v0.8.2 01:57:58 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 01:57:58 go: finding github.com/mattn/go-colorable v0.0.9 01:57:58 go: finding github.com/mattn/go-isatty v0.0.3 01:57:58 go: finding github.com/miekg/dns v1.1.4 01:57:58 go: finding github.com/mitchellh/cli v1.0.0 01:57:58 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:57:58 go: finding github.com/mitchellh/copystructure v1.0.0 01:57:58 go: finding github.com/mitchellh/go-homedir v1.1.0 01:57:58 go: finding github.com/mitchellh/go-testing-interface v1.0.0 01:57:59 go: finding github.com/mitchellh/go-wordwrap v1.0.0 01:57:59 go: finding github.com/mitchellh/gox v0.4.0 01:57:59 go: finding github.com/mitchellh/iochan v1.0.0 01:57:59 go: finding github.com/mitchellh/mapstructure v1.1.2 01:57:59 go: finding github.com/mitchellh/reflectwalk v1.0.0 01:57:59 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 01:57:59 go: finding github.com/pelletier/go-toml v1.2.0 01:57:59 go: finding github.com/pkg/errors v0.8.1 01:57:59 go: finding github.com/pmezard/go-difflib v1.0.0 01:57:59 go: finding github.com/posener/complete v1.1.1 01:57:59 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 01:57:59 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 01:57:59 go: finding github.com/stretchr/objx v0.1.0 01:57:59 go: finding github.com/stretchr/testify v1.5.1 01:57:59 go: finding github.com/ugorji/go v1.1.4 01:57:59 go: finding github.com/x448/float16 v0.8.4 01:57:59 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 01:57:59 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 01:57:59 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 01:57:59 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 01:57:59 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 01:57:59 go: finding gopkg.in/yaml.v2 v2.2.8 01:58:10 Removing intermediate container c6315e6dc8aa 01:58:10 ---> 1614f7801275 01:58:10 Successfully built 1614f7801275 01:58:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:58:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:58:11 + ls -al . 01:58:11 total 100 01:58:11 drwxrwxr-x 10 jenkins jenkins 4096 Sep 1 01:57 . 01:58:11 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 01:56 .. 01:58:11 -rw-rw-r-- 1 jenkins jenkins 140 Sep 1 01:56 .dockerignore 01:58:11 drwxrwxr-x 8 jenkins jenkins 4096 Sep 1 01:56 .git 01:58:11 drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 01:56 .github 01:58:11 -rw-rw-r-- 1 jenkins jenkins 330 Sep 1 01:56 .gitignore 01:58:11 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 01:57 .semver 01:58:11 -rw-rw-r-- 1 jenkins jenkins 4564 Sep 1 01:56 Attribution.txt 01:58:11 -rw-rw-r-- 1 jenkins jenkins 1430 Sep 1 01:56 Dockerfile 01:58:11 -rw-rw-r-- 1 jenkins jenkins 954 Sep 1 01:56 Dockerfile.build 01:58:11 -rw-rw-r-- 1 jenkins jenkins 702 Sep 1 01:56 Jenkinsfile 01:58:11 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 1 01:56 LICENSE 01:58:11 -rw-rw-r-- 1 jenkins jenkins 880 Sep 1 01:56 Makefile 01:58:11 -rw-rw-r-- 1 jenkins jenkins 591 Sep 1 01:56 README.md 01:58:11 -rw-rw-r-- 1 jenkins jenkins 11 Sep 1 01:54 VERSION 01:58:11 drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 01:56 bin 01:58:11 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 01:56 cmd 01:58:11 -rw-rw-r-- 1 jenkins jenkins 559 Sep 1 01:56 go.mod 01:58:11 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 01:56 internal 01:58:11 drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 01:56 simulator 01:58:11 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 01:56 snap 01:58:11 -rw-rw-r-- 1 jenkins jenkins 229 Sep 1 01:56 version.go [Pipeline] isUnix [Pipeline] sh 01:58:11 + 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=0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b --label arch=arm64 --label version=1.2.3-dev.3 . 01:58:12 Sending build context to Docker daemon 650.2kB 01:58:12 Step 1/20 : ARG BASE=golang:1.13-alpine 01:58:12 Step 2/20 : FROM ${BASE} AS builder 01:58:12 ---> 1614f7801275 01:58:12 Step 3/20 : ARG MAKE='make build' 01:58:12 ---> Running in 32f340197aea 01:58:13 Removing intermediate container 32f340197aea 01:58:13 ---> 27186d14d651 01:58:13 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:58:13 ---> Running in 91270a56e8f5 01:58:15 Removing intermediate container 91270a56e8f5 01:58:15 ---> e7083d857df5 01:58:15 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 01:58:15 ---> Running in 3696726da328 01:58:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:58:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:58:18 OK: 221 MiB in 53 packages 01:58:19 Removing intermediate container 3696726da328 01:58:19 ---> f49edcc6e705 01:58:19 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 01:58:19 ---> Running in a50558dbaa0a 01:58:20 Removing intermediate container a50558dbaa0a 01:58:20 ---> e0d95a9bc96d 01:58:20 Step 7/20 : COPY . . 01:58:21 ---> bcea5c4788a8 01:58:21 Step 8/20 : RUN ${MAKE} 01:58:21 ---> Running in fc235f9bf84f 01:58:22 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.3-dev.3" -o cmd/device-modbus ./cmd 01:58:44 CGO_ENABLED=0 GO111MODULE=on go build ./... 01:58:53 Removing intermediate container fc235f9bf84f 01:58:53 ---> 8ee749273654 01:58:53 Step 9/20 : FROM scratch 01:58:53 ---> 01:58:53 Step 10/20 : ENV APP_PORT=49991 01:58:53 ---> Running in 5192a24f510d 01:58:53 Removing intermediate container 5192a24f510d 01:58:53 ---> ca25c2d2f03f 01:58:53 Step 11/20 : EXPOSE $APP_PORT 01:58:53 ---> Running in 218a5d526b0f 01:58:53 Removing intermediate container 218a5d526b0f 01:58:53 ---> e2b12c919b97 01:58:53 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 01:58:55 ---> 14d231a3177e 01:58:55 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 01:58:55 ---> 157cdbac3778 01:58:55 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 01:58:56 ---> 4733057c0d10 01:58:56 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 01:58:56 ---> Running in 686b55927703 01:58:56 Removing intermediate container 686b55927703 01:58:56 ---> 623bfb6bde33 01:58:56 Step 16/20 : ENTRYPOINT ["/device-modbus"] 01:58:57 ---> Running in cc1cac2aa16e 01:58:57 Removing intermediate container cc1cac2aa16e 01:58:57 ---> 7f1c5f886604 01:58:57 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:58:57 ---> Running in 7473cdb426cc 01:58:57 Removing intermediate container 7473cdb426cc 01:58:57 ---> fde946c75c0e 01:58:57 Step 18/20 : LABEL arch=arm64 01:58:58 ---> Running in 801f2670faa0 01:58:58 Removing intermediate container 801f2670faa0 01:58:58 ---> 76a4f622ec2f 01:58:58 Step 19/20 : LABEL git_sha=0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b 01:58:58 ---> Running in 43bc7a2324de 01:58:58 Removing intermediate container 43bc7a2324de 01:58:58 ---> b11974bbe052 01:58:58 Step 20/20 : LABEL version=1.2.3-dev.3 01:58:59 ---> Running in 2219d5048479 01:58:59 Removing intermediate container 2219d5048479 01:58:59 ---> c5d8bb3470ea 01:58:59 [Warning] One or more build-args [ARCH] were not consumed 01:58:59 Successfully built c5d8bb3470ea 01:58:59 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 01:59:00 provisioning config files... 01:59:00 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/21@tmp/config4025645249505810309tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:59:00 ---> docker-login.sh 01:59:00 nexus3.edgexfoundry.org:10001 01:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:01 Configure a credential helper to remove this warning. See 01:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:01 01:59:01 Login Succeeded 01:59:01 nexus3.edgexfoundry.org:10002 01:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:01 Configure a credential helper to remove this warning. See 01:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:01 01:59:01 Login Succeeded 01:59:01 nexus3.edgexfoundry.org:10003 01:59:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:02 Configure a credential helper to remove this warning. See 01:59:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:02 01:59:02 Login Succeeded 01:59:02 nexus3.edgexfoundry.org:10004 01:59:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:02 Configure a credential helper to remove this warning. See 01:59:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:02 01:59:02 Login Succeeded 01:59:02 docker.io 01:59:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:03 Configure a credential helper to remove this warning. See 01:59:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:03 01:59:03 Login Succeeded 01:59:03 ---> docker-login.sh ends [Pipeline] } 01:59:03 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:59:03 [edgeXDocker.push] Tagging docker image docker-device-modbus-go-arm64 with the following tags: 01:59:03 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b 01:59:03 latest 01:59:03 1.2.3-dev.3 01:59:03 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b-1.2.3-dev.3 01:59:03 master 01:59:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:59:04 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b [Pipeline] isUnix [Pipeline] sh 01:59:05 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b 01:59:05 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 01:59:05 a843efb7154d: Preparing 01:59:05 0e9f1d768887: Preparing 01:59:05 0bd32d0db6be: Preparing 01:59:05 a843efb7154d: Pushed 01:59:05 0e9f1d768887: Pushed 01:59:08 0bd32d0db6be: Pushed 01:59:08 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b: digest: sha256:7b55f7e3073331af140879068a6782e2742fde02133256c4a1c3c02c88c81214 size: 943 [Pipeline] isUnix [Pipeline] sh 01:59:08 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:59:08 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest 01:59:08 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 01:59:08 a843efb7154d: Preparing 01:59:08 0e9f1d768887: Preparing 01:59:08 0bd32d0db6be: Preparing 01:59:08 0e9f1d768887: Layer already exists 01:59:08 0bd32d0db6be: Layer already exists 01:59:08 a843efb7154d: Layer already exists 01:59:09 latest: digest: sha256:7b55f7e3073331af140879068a6782e2742fde02133256c4a1c3c02c88c81214 size: 943 [Pipeline] isUnix [Pipeline] sh 01:59:09 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.2.3-dev.3 [Pipeline] isUnix [Pipeline] sh 01:59:09 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.2.3-dev.3 01:59:09 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 01:59:09 a843efb7154d: Preparing 01:59:09 0e9f1d768887: Preparing 01:59:09 0bd32d0db6be: Preparing 01:59:10 0bd32d0db6be: Layer already exists 01:59:10 a843efb7154d: Layer already exists 01:59:10 0e9f1d768887: Layer already exists 01:59:10 1.2.3-dev.3: digest: sha256:7b55f7e3073331af140879068a6782e2742fde02133256c4a1c3c02c88c81214 size: 943 [Pipeline] isUnix [Pipeline] sh 01:59:10 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b-1.2.3-dev.3 [Pipeline] isUnix [Pipeline] sh 01:59:10 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b-1.2.3-dev.3 01:59:10 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 01:59:10 a843efb7154d: Preparing 01:59:10 0e9f1d768887: Preparing 01:59:10 0bd32d0db6be: Preparing 01:59:10 a843efb7154d: Layer already exists 01:59:10 0bd32d0db6be: Layer already exists 01:59:10 0e9f1d768887: Layer already exists 01:59:11 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b-1.2.3-dev.3: digest: sha256:7b55f7e3073331af140879068a6782e2742fde02133256c4a1c3c02c88c81214 size: 943 [Pipeline] isUnix [Pipeline] sh 01:59:11 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] isUnix [Pipeline] sh 01:59:11 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master 01:59:11 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 01:59:11 a843efb7154d: Preparing 01:59:11 0e9f1d768887: Preparing 01:59:11 0bd32d0db6be: Preparing 01:59:11 a843efb7154d: Layer already exists 01:59:11 0e9f1d768887: Layer already exists 01:59:11 0bd32d0db6be: Layer already exists 01:59:12 master: digest: sha256:7b55f7e3073331af140879068a6782e2742fde02133256c4a1c3c02c88c81214 size: 943 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:59:12 ===================================================== [Pipeline] echo 01:59:12 taggedImages: 01:59:12 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b 01:59:12 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest 01:59:12 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.2.3-dev.3 01:59:12 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b-1.2.3-dev.3 01:59:12 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 01:59:14 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 01:59:14 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 01:59:16 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:59:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 01:59:16 01:59:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 01:59:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 01:59:16 1.317.0: Pulling from edgex-devops/edgex-snyk-go 01:59:16 cbdbe7a5bc2a: Pulling fs layer 01:59:16 408f87550127: Pulling fs layer 01:59:16 fe522b08c979: Pulling fs layer 01:59:16 221eaa008020: Pulling fs layer 01:59:16 2a4607e5d6b9: Pulling fs layer 01:59:16 8f79b27c4fd2: Pulling fs layer 01:59:16 e5c8dbe1645b: Pulling fs layer 01:59:16 23e8b3b47431: Pulling fs layer 01:59:16 5c568d65a230: Pulling fs layer 01:59:16 221eaa008020: Waiting 01:59:16 2a4607e5d6b9: Waiting 01:59:16 8f79b27c4fd2: Waiting 01:59:16 e5c8dbe1645b: Waiting 01:59:16 23e8b3b47431: Waiting 01:59:16 5c568d65a230: Waiting 01:59:16 fe522b08c979: Verifying Checksum 01:59:16 fe522b08c979: Download complete 01:59:16 408f87550127: Verifying Checksum 01:59:16 408f87550127: Download complete 01:59:16 2a4607e5d6b9: Verifying Checksum 01:59:16 2a4607e5d6b9: Download complete 01:59:16 8f79b27c4fd2: Verifying Checksum 01:59:16 8f79b27c4fd2: Download complete 01:59:16 cbdbe7a5bc2a: Verifying Checksum 01:59:16 cbdbe7a5bc2a: Download complete 01:59:17 e5c8dbe1645b: Verifying Checksum 01:59:17 e5c8dbe1645b: Download complete 01:59:17 cbdbe7a5bc2a: Pull complete 01:59:17 23e8b3b47431: Verifying Checksum 01:59:17 23e8b3b47431: Download complete 01:59:17 408f87550127: Pull complete 01:59:17 5c568d65a230: Verifying Checksum 01:59:17 5c568d65a230: Download complete 01:59:17 fe522b08c979: Pull complete 01:59:18 221eaa008020: Verifying Checksum 01:59:18 221eaa008020: Download complete 01:59:23 221eaa008020: Pull complete 01:59:23 2a4607e5d6b9: Pull complete 01:59:23 8f79b27c4fd2: Pull complete 01:59:25 e5c8dbe1645b: Pull complete 01:59:29 23e8b3b47431: Pull complete 01:59:30 5c568d65a230: Pull complete 01:59:30 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 01:59:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 01:59:30 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 01:59:30 prd-centos7-docker-4c-2g-990 does not seem to be running inside a container 01:59:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/xfoundry_device-modbus-go_master:/ws -w /ws --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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat 01:59:32 $ docker top 1da5c200a90a9da446bc00f0891caa3b0636f2634cfb5d43800621ace016aa69 -eo pid,comm [Pipeline] { [Pipeline] sh 01:59:32 + snyk monitor '--org=edgex-jenkins' 01:59:38 01:59:38 Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... 01:59:38 01:59:38 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/0bfadd13-aaeb-49df-91f1-1a8f7757f991 01:59:38 01:59:38 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:59:38 01:59:38 01:59:38 Snyk CLI supports Node.js 8 and higher. 01:59:38 Node.js 8 reached End Of Life on December 31, 2019 and the Snyk CLI will stop supporting it in the near future. 01:59:38 Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. 01:59:38 01:59:38 The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. 01:59:38 The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. [Pipeline] } 01:59:38 $ docker stop --time=1 1da5c200a90a9da446bc00f0891caa3b0636f2634cfb5d43800621ace016aa69 01:59:40 $ docker rm -f 1da5c200a90a9da446bc00f0891caa3b0636f2634cfb5d43800621ace016aa69 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:59:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 01:59:41 01:59:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 01:59:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 01:59:41 latest: Pulling from edgex-devops/edgex-klar 01:59:41 e7c96db7181b: Pulling fs layer 01:59:41 1868ca2cb446: Pulling fs layer 01:59:41 136be5d0fe8e: Pulling fs layer 01:59:41 894bfe63afcb: Pulling fs layer 01:59:41 894bfe63afcb: Waiting 01:59:41 1868ca2cb446: Verifying Checksum 01:59:41 1868ca2cb446: Download complete 01:59:41 136be5d0fe8e: Download complete 01:59:41 e7c96db7181b: Verifying Checksum 01:59:41 e7c96db7181b: Download complete 01:59:41 894bfe63afcb: Verifying Checksum 01:59:41 894bfe63afcb: Download complete 01:59:41 e7c96db7181b: Pull complete 01:59:42 1868ca2cb446: Pull complete 01:59:42 136be5d0fe8e: Pull complete 01:59:42 894bfe63afcb: Pull complete 01:59:42 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 01:59:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 01:59:42 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 01:59:42 prd-centos7-docker-4c-2g-990 does not seem to be running inside a container 01:59:42 $ docker run -t -d -u 1001:1001 --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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 01:59:43 $ docker top 69dd74e88ad2ac25177564d0e20db1b373414fc07295de849dfaa076dfb05a5c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:44 + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go:0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b 01:59:44 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 01:59:46 $ docker stop --time=1 69dd74e88ad2ac25177564d0e20db1b373414fc07295de849dfaa076dfb05a5c 01:59:48 $ docker rm -f 69dd74e88ad2ac25177564d0e20db1b373414fc07295de849dfaa076dfb05a5c [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 01:59:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 01:59:48 . [Pipeline] withDockerContainer 01:59:48 prd-centos7-docker-4c-2g-990 does not seem to be running inside a container 01:59:48 $ docker run -t -d -u 1001:1001 --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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 01:59:49 $ docker top 19e3452cfac8703ce879bc0f665bce111c83e57f59be5ff6a8ea9faebd4b6d7f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:50 + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go:0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b 01:59:50 + tee 01:59:50 clair timeout 1m0s 01:59:50 docker timeout: 1m0s 01:59:50 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 01:59:50 $ docker stop --time=1 19e3452cfac8703ce879bc0f665bce111c83e57f59be5ff6a8ea9faebd4b6d7f 01:59:52 $ docker rm -f 19e3452cfac8703ce879bc0f665bce111c83e57f59be5ff6a8ea9faebd4b6d7f [Pipeline] // withDockerContainer [Pipeline] sh 01:59:52 + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/clair-reports [Pipeline] echo 01:59:52 Generated HTML Table Report. Writing to /w/workspace/xfoundry_device-modbus-go_master/clair-reports/clair_results_docker-device-modbus-go_0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b.html [Pipeline] writeFile [Pipeline] step 01:59:52 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 01:59:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 01:59:53 . [Pipeline] withDockerContainer 01:59:53 prd-centos7-docker-4c-2g-990 does not seem to be running inside a container 01:59:53 $ docker run -t -d -u 1001:1001 --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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 01:59:54 $ docker top 484656eb832c03b22295dca416f1cbe72b11c92b820330c3d7b8bf43e4fc9f8a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:54 + /klar+ nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:0f6ae8749af9f9e65a1ee381fa9340c5d8325f5btee 01:59:54 [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 01:59:57 $ docker stop --time=1 484656eb832c03b22295dca416f1cbe72b11c92b820330c3d7b8bf43e4fc9f8a 01:59:58 $ docker rm -f 484656eb832c03b22295dca416f1cbe72b11c92b820330c3d7b8bf43e4fc9f8a [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 01:59:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 01:59:59 . [Pipeline] withDockerContainer 01:59:59 prd-centos7-docker-4c-2g-990 does not seem to be running inside a container 01:59:59 $ docker run -t -d -u 1001:1001 --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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 02:00:00 $ docker top 0c7d5dfa15a83ad732adec921b19e8e996f4d637eda43e617e27823ea2d6ba52 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:00 + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b 02:00:00 + tee 02:00:00 clair timeout 1m0s 02:00:00 docker timeout: 1m0s 02:00:00 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 02:00:01 $ docker stop --time=1 0c7d5dfa15a83ad732adec921b19e8e996f4d637eda43e617e27823ea2d6ba52 02:00:02 $ docker rm -f 0c7d5dfa15a83ad732adec921b19e8e996f4d637eda43e617e27823ea2d6ba52 [Pipeline] // withDockerContainer [Pipeline] sh 02:00:03 + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/clair-reports [Pipeline] echo 02:00:03 Generated HTML Table Report. Writing to /w/workspace/xfoundry_device-modbus-go_master/clair-reports/clair_results_docker-device-modbus-go-arm64_0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b.html [Pipeline] writeFile [Pipeline] step 02:00:03 Archiving artifacts [Pipeline] } [Pipeline] // script [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] unstash [Pipeline] isUnix [Pipeline] sh 02:00:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:00:10 . [Pipeline] withDockerContainer 02:00:10 prd-centos7-docker-4c-2g-990 does not seem to be running inside a container 02:00:10 $ docker run -t -d -u 1001:1001 -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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:00:11 $ docker top 4dbce77ce2d20163de0c4e2fabccfdacfe891a957e378ddf430ba0faa269a896 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:00:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:00:11 [ssh-agent] Looking for ssh-agent implementation... 02:00:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:00:12 $ docker exec 4dbce77ce2d20163de0c4e2fabccfdacfe891a957e378ddf430ba0faa269a896 ssh-agent 02:00:12 SSH_AUTH_SOCK=/tmp/ssh-i6DxmvqzxgTn/agent.11 02:00:12 SSH_AGENT_PID=16 02:00:12 Running ssh-add (command line suppressed) 02:00:12 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_339627924134774056.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_339627924134774056.key) 02:00:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:00:12 + git semver tag 02:00:12 # -> Open(): unable to determine branch for HEAD 02:00:12 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 02:00:12 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 02:00:12 # $SEMVER_REMOTE_NAME = origin 02:00:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:00:12 # $SEMVER_USER_NAME = edgex-jenkins 02:00:12 # $SEMVER_BRANCH = master 02:00:12 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 02:00:12 # 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b HEAD 02:00:12 # -> Force: false 02:00:12 # 02ff5e948318a951222df8779d103651292b078e refs/tags/v1.2.3-dev.3 [Pipeline] } 02:00:12 $ docker exec --env ******** --env ******** 4dbce77ce2d20163de0c4e2fabccfdacfe891a957e378ddf430ba0faa269a896 ssh-agent -k 02:00:13 unset SSH_AUTH_SOCK; 02:00:13 unset SSH_AGENT_PID; 02:00:13 echo Agent pid 16 killed; 02:00:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:00:13 + git semver [Pipeline] } 02:00:13 $ docker stop --time=1 4dbce77ce2d20163de0c4e2fabccfdacfe891a957e378ddf430ba0faa269a896 02:00:14 $ docker rm -f 4dbce77ce2d20163de0c4e2fabccfdacfe891a957e378ddf430ba0faa269a896 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 02:00:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:00:15 02:00:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 02:00:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:00:15 0.23.1-centos7: Pulling from edgex-lftools 02:00:15 ab5ef0e58194: Pulling fs layer 02:00:15 9712f1f96733: Pulling fs layer 02:00:15 63f879dbbcfc: Pulling fs layer 02:00:15 0d9ebad4ef96: Pulling fs layer 02:00:15 e9a5061849ea: Pulling fs layer 02:00:15 d747dcd14b5f: Pulling fs layer 02:00:15 2de7ff778b66: Pulling fs layer 02:00:15 0d9ebad4ef96: Waiting 02:00:15 e9a5061849ea: Waiting 02:00:15 d747dcd14b5f: Waiting 02:00:15 2de7ff778b66: Waiting 02:00:15 9712f1f96733: Download complete 02:00:16 63f879dbbcfc: Verifying Checksum 02:00:16 63f879dbbcfc: Download complete 02:00:16 e9a5061849ea: Verifying Checksum 02:00:16 e9a5061849ea: Download complete 02:00:16 d747dcd14b5f: Download complete 02:00:17 0d9ebad4ef96: Verifying Checksum 02:00:17 0d9ebad4ef96: Download complete 02:00:17 2de7ff778b66: Verifying Checksum 02:00:17 2de7ff778b66: Download complete 02:00:17 ab5ef0e58194: Verifying Checksum 02:00:17 ab5ef0e58194: Download complete 02:00:21 ab5ef0e58194: Pull complete 02:00:21 9712f1f96733: Pull complete 02:00:24 63f879dbbcfc: Pull complete 02:00:29 0d9ebad4ef96: Pull complete 02:00:32 e9a5061849ea: Pull complete 02:00:32 d747dcd14b5f: Pull complete 02:00:35 2de7ff778b66: Pull complete 02:00:35 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:00:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:00:35 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 02:00:35 prd-centos7-docker-4c-2g-990 does not seem to be running inside a container 02:00:35 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:00:39 $ docker top b00fcb1ee2e66f236a3fd26f52c16278d87061db3378657e81f337c5d5726f0a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:00:39 provisioning config files... 02:00:39 copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config6432165678766841421tmp 02:00:39 copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config8043210143881765383tmp 02:00:39 copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7388030507953181221tmp [Pipeline] { [Pipeline] echo 02:00:39 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:00:39 ---> sigul-configuration.sh 02:00:39 gpg: directory `/root/.gnupg' created 02:00:39 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:00:39 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:00:39 gpg: keyring `/root/.gnupg/secring.gpg' created 02:00:39 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:00:39 gpg: CAST5 encrypted data 02:00:40 gpg: encrypted with 1 passphrase 02:00:40 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:00:40 + mkdir /home/jenkins 02:00:40 + mkdir /home/jenkins/sigul [Pipeline] sh 02:00:40 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 02:00:40 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:00:41 ---> sigul-install.sh 02:00:46 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 02:00:46 + git tag --list 02:00:46 v1.2.3-dev.3 [Pipeline] sh 02:00:46 + lftools sign git-tag v1.2.3-dev.3 02:00:47 Signing Git tag with Sigul... 02:00:47 Signing v1.2.3-dev.3 02:00:48 Error: Authentication failed [Pipeline] echo 02:00:48 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:00:49 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:00:49 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:00:49 $ docker stop --time=1 b00fcb1ee2e66f236a3fd26f52c16278d87061db3378657e81f337c5d5726f0a 02:00:51 $ docker rm -f b00fcb1ee2e66f236a3fd26f52c16278d87061db3378657e81f337c5d5726f0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 02:00:51 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:00:51 . [Pipeline] withDockerContainer 02:00:51 prd-centos7-docker-4c-2g-990 does not seem to be running inside a container 02:00:52 $ docker run -t -d -u 1001:1001 -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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:00:52 $ docker top 49922c6fa5e19b4f83a0c00c4d72a24daa01bcd97e2478a82aeea053c83c27d9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:00:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:00:53 [ssh-agent] Looking for ssh-agent implementation... 02:00:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:00:53 $ docker exec 49922c6fa5e19b4f83a0c00c4d72a24daa01bcd97e2478a82aeea053c83c27d9 ssh-agent 02:00:53 SSH_AUTH_SOCK=/tmp/ssh-9fiJ9NVP357X/agent.12 02:00:53 SSH_AGENT_PID=17 02:00:53 Running ssh-add (command line suppressed) 02:00:53 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5242976095942703207.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5242976095942703207.key) 02:00:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:00:54 + git semver bump pre 02:00:54 # -> Open(): unable to determine branch for HEAD 02:00:54 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 02:00:54 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 02:00:54 # $SEMVER_REMOTE_NAME = origin 02:00:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:00:54 # $SEMVER_USER_NAME = edgex-jenkins 02:00:54 # $SEMVER_BRANCH = master 02:00:54 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 02:00:54 1.2.3-dev.4 [Pipeline] } 02:00:54 $ docker exec --env ******** --env ******** 49922c6fa5e19b4f83a0c00c4d72a24daa01bcd97e2478a82aeea053c83c27d9 ssh-agent -k 02:00:54 unset SSH_AUTH_SOCK; 02:00:54 unset SSH_AGENT_PID; 02:00:54 echo Agent pid 17 killed; 02:00:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:00:57 + git semver [Pipeline] } 02:00:57 $ docker stop --time=1 49922c6fa5e19b4f83a0c00c4d72a24daa01bcd97e2478a82aeea053c83c27d9 02:00:58 $ docker rm -f 49922c6fa5e19b4f83a0c00c4d72a24daa01bcd97e2478a82aeea053c83c27d9 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 02:00:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:00:58 . [Pipeline] withDockerContainer 02:00:59 prd-centos7-docker-4c-2g-990 does not seem to be running inside a container 02:00:59 $ docker run -t -d -u 1001:1001 -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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:00:59 $ docker top 75849358eb6ffe375bd8afc54a07a22dc0a7101ab7b39182f91bad3dd599498a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:01:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:01:00 [ssh-agent] Looking for ssh-agent implementation... 02:01:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:01:00 $ docker exec 75849358eb6ffe375bd8afc54a07a22dc0a7101ab7b39182f91bad3dd599498a ssh-agent 02:01:00 SSH_AUTH_SOCK=/tmp/ssh-IbjJgHN42TU5/agent.12 02:01:00 SSH_AGENT_PID=17 02:01:00 Running ssh-add (command line suppressed) 02:01:00 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3051632683335997757.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3051632683335997757.key) 02:01:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:01:00 + git semver push 02:01:00 # -> Open(): unable to determine branch for HEAD 02:01:00 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 02:01:00 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 02:01:00 # $SEMVER_REMOTE_NAME = origin 02:01:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:01:00 # $SEMVER_USER_NAME = edgex-jenkins 02:01:00 # $SEMVER_BRANCH = master 02:01:00 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 02:01:07 $ docker exec --env ******** --env ******** 75849358eb6ffe375bd8afc54a07a22dc0a7101ab7b39182f91bad3dd599498a ssh-agent -k 02:01:07 unset SSH_AUTH_SOCK; 02:01:07 unset SSH_AGENT_PID; 02:01:07 echo Agent pid 17 killed; 02:01:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:01:12 + git semver [Pipeline] } 02:01:12 $ docker stop --time=1 75849358eb6ffe375bd8afc54a07a22dc0a7101ab7b39182f91bad3dd599498a 02:01:14 $ docker rm -f 75849358eb6ffe375bd8afc54a07a22dc0a7101ab7b39182f91bad3dd599498a [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 02:01:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:01:15 ---> package-listing.sh 02:01:15 ++ facter osfamily 02:01:15 ++ tr '[:upper:]' '[:lower:]' 02:01:15 + OS_FAMILY=redhat 02:01:15 + workspace=/w/workspace/xfoundry_device-modbus-go_master 02:01:15 + START_PACKAGES=/tmp/packages_start.txt 02:01:15 + END_PACKAGES=/tmp/packages_end.txt 02:01:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:01:15 + PACKAGES=/tmp/packages_start.txt 02:01:15 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 02:01:15 + PACKAGES=/tmp/packages_end.txt 02:01:15 + case "${OS_FAMILY}" in 02:01:15 + rpm -qa 02:01:15 + sort 02:01:20 + '[' -f /tmp/packages_start.txt ']' 02:01:20 + '[' -f /tmp/packages_end.txt ']' 02:01:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:01:20 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 02:01:20 + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ 02:01:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_master/archives/ [Pipeline] isUnix [Pipeline] sh 02:01:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:01:20 02:01:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:01:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:01:20 alpine: Pulling from edgex-lftools-log-publisher 02:01:20 c9b1b535fdd9: Pulling fs layer 02:01:20 2cc5ad85d9ab: Pulling fs layer 02:01:20 756a868c4378: Pulling fs layer 02:01:20 444b2fc9a129: Pulling fs layer 02:01:20 ea15f1150254: Pulling fs layer 02:01:20 41b27a9f41bf: Pulling fs layer 02:01:20 28c525ee5125: Pulling fs layer 02:01:20 094b1ea09ed8: Pulling fs layer 02:01:20 138eaada9080: Pulling fs layer 02:01:20 0622d0fa9048: Pulling fs layer 02:01:20 41b27a9f41bf: Waiting 02:01:20 28c525ee5125: Waiting 02:01:20 444b2fc9a129: Waiting 02:01:20 094b1ea09ed8: Waiting 02:01:20 138eaada9080: Waiting 02:01:20 0622d0fa9048: Waiting 02:01:20 ea15f1150254: Waiting 02:01:20 2cc5ad85d9ab: Verifying Checksum 02:01:20 2cc5ad85d9ab: Download complete 02:01:20 444b2fc9a129: Verifying Checksum 02:01:20 444b2fc9a129: Download complete 02:01:20 c9b1b535fdd9: Verifying Checksum 02:01:20 c9b1b535fdd9: Download complete 02:01:20 ea15f1150254: Verifying Checksum 02:01:20 ea15f1150254: Download complete 02:01:21 28c525ee5125: Verifying Checksum 02:01:21 28c525ee5125: Download complete 02:01:21 756a868c4378: Verifying Checksum 02:01:21 756a868c4378: Download complete 02:01:21 138eaada9080: Verifying Checksum 02:01:21 138eaada9080: Download complete 02:01:21 094b1ea09ed8: Verifying Checksum 02:01:21 094b1ea09ed8: Download complete 02:01:21 41b27a9f41bf: Verifying Checksum 02:01:21 41b27a9f41bf: Download complete 02:01:22 0622d0fa9048: Download complete 02:01:22 c9b1b535fdd9: Pull complete 02:01:22 2cc5ad85d9ab: Pull complete 02:01:23 756a868c4378: Pull complete 02:01:23 444b2fc9a129: Pull complete 02:01:24 ea15f1150254: Pull complete 02:01:27 41b27a9f41bf: Pull complete 02:01:27 28c525ee5125: Pull complete 02:01:30 094b1ea09ed8: Pull complete 02:01:31 138eaada9080: Pull complete 02:01:31 0622d0fa9048: Pull complete 02:01:31 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 02:01:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:01:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:01:31 prd-centos7-docker-4c-2g-990 does not seem to be running inside a container 02:01:31 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:01:34 $ docker top 9b1647604cc460a89501a5502eda94c38601cf13c220442e3161d74bd4129a31 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:01:35 provisioning config files... 02:01:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config8589330041543842666tmp [Pipeline] { [Pipeline] echo 02:01:35 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:01:35 ---> create-netrc.sh [Pipeline] echo 02:01:35 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:01:35 ---> logs-deploy.sh 02:01:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/21 02:01:35 INFO: archiving workspace using pattern(s): 02:01:37 Archives upload complete. 02:01:37 INFO: archiving logs to Nexus