Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 986986d893843ca2c4c8974c29aa772854012406 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-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, 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: 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-138’ is offline; ‘prd-centos7-docker-4c-2g-139’ is offline; ‘prd-centos7-docker-4c-2g-144’ is offline; ‘prd-centos7-docker-4c-2g-149’ is offline; ‘prd-centos7-docker-8c-8g-141’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-16c-16g-143’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-134’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-137’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-142’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-156 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 986986d893843ca2c4c8974c29aa772854012406 (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 986986d893843ca2c4c8974c29aa772854012406 # timeout=10 Commit message: "Merge pull request #174 from hahattan/issue-173" > git rev-list --no-walk e5b81f2f6d4871b949c13603cb110c658a649c68 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-17T08:52:00.566Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-17T08:52:00.862Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-17T08:52:00.995Z] ========================================================= [2020-09-17T08:52:00.995Z] EdgeX Global Pipelines Version Info [2020-09-17T08:52:00.995Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-17T08:52:02.501Z] ------------------- [2020-09-17T08:52:02.501Z] stable info: [2020-09-17T08:52:02.501Z] ------------------- [2020-09-17T08:52:02.501Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-17T08:52:02.501Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-17T08:52:02.501Z] Message: update stable to v1.0.122 [2020-09-17T08:52:03.451Z] ------------------- [2020-09-17T08:52:03.451Z] experimental info: [2020-09-17T08:52:03.451Z] ------------------- [2020-09-17T08:52:03.451Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-17T08:52:03.451Z] Commit SHA: 84d9a0843d1df7ebf9e0c4533e50f756df06f1d7 [2020-09-17T08:52:03.451Z] Message: update experimental to v1.0.124 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-17T08:52:03.818Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2020-09-17T08:52:03.926Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2020-09-17T08:52:04.025Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-17T08:52:04.118Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-17T08:52:04.211Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-17T08:52:04.341Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-17T08:52:04.445Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-17T08:52:04.554Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-17T08:52:04.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-17T08:52:04.723Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-17T08:52:04.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-17T08:52:04.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo [2020-09-17T08:52:05.003Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-17T08:52:05.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-17T08:52:05.187Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-17T08:52:05.309Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-09-17T08:52:05.447Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-17T08:52:05.551Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-17T08:52:05.668Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-17T08:52:05.762Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-09-17T08:52:05.867Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-17T08:52:05.984Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-17T08:52:06.076Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-09-17T08:52:06.173Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-09-17T08:52:06.324Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-09-17T08:52:06.589Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 986986d893843ca2c4c8974c29aa772854012406 [Pipeline] echo [2020-09-17T08:52:06.706Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 986986d [Pipeline] echo [2020-09-17T08:52:06.838Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-17T08:52:07.435Z] + git log --format=format:%s -1 986986d893843ca2c4c8974c29aa772854012406 [Pipeline] echo [2020-09-17T08:52:07.507Z] GIT_COMMIT: 986986d893843ca2c4c8974c29aa772854012406, Commit Message: Merge pull request #174 from hahattan/issue-173 [Pipeline] echo [2020-09-17T08:52:07.578Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:52:08.135Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T08:52:08.400Z] [2020-09-17T08:52:08.400Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:52:08.767Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T08:52:08.767Z] latest: Pulling from edgex-devops/git-semver [2020-09-17T08:52:08.767Z] 31603596830f: Pulling fs layer [2020-09-17T08:52:08.767Z] 2a8b12db71e7: Pulling fs layer [2020-09-17T08:52:08.767Z] 6ca5941a6612: Pulling fs layer [2020-09-17T08:52:08.767Z] ecc8261a40a4: Pulling fs layer [2020-09-17T08:52:08.767Z] ecc8261a40a4: Waiting [2020-09-17T08:52:08.767Z] 2a8b12db71e7: Verifying Checksum [2020-09-17T08:52:08.767Z] 2a8b12db71e7: Download complete [2020-09-17T08:52:09.035Z] 31603596830f: Verifying Checksum [2020-09-17T08:52:09.035Z] 31603596830f: Download complete [2020-09-17T08:52:09.035Z] 6ca5941a6612: Verifying Checksum [2020-09-17T08:52:09.035Z] 6ca5941a6612: Download complete [2020-09-17T08:52:09.035Z] ecc8261a40a4: Verifying Checksum [2020-09-17T08:52:09.035Z] ecc8261a40a4: Download complete [2020-09-17T08:52:09.299Z] 31603596830f: Pull complete [2020-09-17T08:52:09.570Z] 2a8b12db71e7: Pull complete [2020-09-17T08:52:10.528Z] 6ca5941a6612: Pull complete [2020-09-17T08:52:10.528Z] ecc8261a40a4: Pull complete [2020-09-17T08:52:10.528Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-17T08:52:10.528Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T08:52:10.528Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-17T08:52:10.641Z] prd-centos7-docker-4c-2g-156 does not seem to be running inside a container [2020-09-17T08:52:10.693Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-17T08:52:12.669Z] $ docker top a1d0c4d0fa6aa3acf6fe91cffea98e06488eccbcad4afc82e1a6a43b0d90c822 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-17T08:52:12.960Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T08:52:12.960Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T08:52:13.183Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T08:52:13.187Z] $ docker exec a1d0c4d0fa6aa3acf6fe91cffea98e06488eccbcad4afc82e1a6a43b0d90c822 ssh-agent [2020-09-17T08:52:13.361Z] SSH_AUTH_SOCK=/tmp/ssh-LcsuIovT4F8e/agent.11 [2020-09-17T08:52:13.361Z] SSH_AGENT_PID=16 [2020-09-17T08:52:13.372Z] Running ssh-add (command line suppressed) [2020-09-17T08:52:13.497Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_9042937879707513284.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_9042937879707513284.key) [2020-09-17T08:52:13.547Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T08:52:13.885Z] + git describe --exact-match --tags HEAD [2020-09-17T08:52:13.885Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-17T08:52:13.976Z] $ docker exec --env ******** --env ******** a1d0c4d0fa6aa3acf6fe91cffea98e06488eccbcad4afc82e1a6a43b0d90c822 ssh-agent -k [2020-09-17T08:52:14.102Z] unset SSH_AUTH_SOCK; [2020-09-17T08:52:14.103Z] unset SSH_AGENT_PID; [2020-09-17T08:52:14.103Z] echo Agent pid 16 killed; [2020-09-17T08:52:14.160Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-17T08:52:14.336Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-17T08:52:14.336Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-17T08:52:14.449Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T08:52:14.449Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T08:52:14.716Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T08:52:14.719Z] $ docker exec a1d0c4d0fa6aa3acf6fe91cffea98e06488eccbcad4afc82e1a6a43b0d90c822 ssh-agent [2020-09-17T08:52:14.871Z] SSH_AUTH_SOCK=/tmp/ssh-0igM1rrP8iqk/agent.47 [2020-09-17T08:52:14.871Z] SSH_AGENT_PID=52 [2020-09-17T08:52:14.879Z] Running ssh-add (command line suppressed) [2020-09-17T08:52:14.990Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3183647191052792915.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3183647191052792915.key) [2020-09-17T08:52:15.038Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T08:52:15.375Z] + git semver init [2020-09-17T08:52:15.375Z] # -> Open(): unable to determine branch for HEAD [2020-09-17T08:52:15.375Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2020-09-17T08:52:15.375Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2020-09-17T08:52:15.375Z] # $SEMVER_REMOTE_NAME = origin [2020-09-17T08:52:15.375Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-17T08:52:15.375Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-17T08:52:15.375Z] # $SEMVER_BRANCH = master [2020-09-17T08:52:15.375Z] # $SEMVER_TEMP = /tmp/semver-404758933 [2020-09-17T08:52:15.375Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-09-17T08:52:15.641Z] # '/tmp/semver-404758933' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' [2020-09-17T08:52:15.641Z] # -> Force: false [2020-09-17T08:52:15.641Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2020-09-17T08:52:15.660Z] $ docker exec --env ******** --env ******** a1d0c4d0fa6aa3acf6fe91cffea98e06488eccbcad4afc82e1a6a43b0d90c822 ssh-agent -k [2020-09-17T08:52:15.769Z] unset SSH_AUTH_SOCK; [2020-09-17T08:52:15.770Z] unset SSH_AGENT_PID; [2020-09-17T08:52:15.770Z] echo Agent pid 52 killed; [2020-09-17T08:52:15.814Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-17T08:52:16.321Z] + git semver [Pipeline] } [2020-09-17T08:52:16.343Z] $ docker stop --time=1 a1d0c4d0fa6aa3acf6fe91cffea98e06488eccbcad4afc82e1a6a43b0d90c822 [2020-09-17T08:52:17.748Z] $ docker rm -f a1d0c4d0fa6aa3acf6fe91cffea98e06488eccbcad4afc82e1a6a43b0d90c822 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-17T08:52:18.669Z] Stashed 25 file(s) [Pipeline] echo [2020-09-17T08:52:18.671Z] [edgeXSemver]: initialized semver on version 1.2.3-dev.6 [Pipeline] echo [2020-09-17T08:52:18.763Z] Archived original version: [1.2.3-dev.6] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-09-17T08:52:34.206Z] Still waiting to schedule task [2020-09-17T08:52:34.206Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-17T08:52:34.209Z] Still waiting to schedule task [2020-09-17T08:52:34.209Z] ‘prd-centos7-docker-4c-2g-136’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-138’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-139’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-140’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-144’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-8c-8g-141’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-16c-16g-143’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-134’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-137’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-142’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-157’ is offline [2020-09-17T08:54:01.867Z] Running on prd-centos7-docker-4c-2g-163 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2020-09-17T08:54:01.946Z] Running in /w/workspace/device-modbus-go/24 [Pipeline] { [Pipeline] checkout [2020-09-17T08:54:05.512Z] using credential edgex-jenkins-ssh [2020-09-17T08:54:05.568Z] Cloning the remote Git repository [2020-09-17T08:54:05.568Z] Cloning with configured refspecs honoured and without tags [2020-09-17T08:54:05.612Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-09-17T08:54:05.698Z] > git init /w/workspace/device-modbus-go/24 # timeout=10 [2020-09-17T08:54:05.749Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-17T08:54:05.749Z] > git --version # timeout=10 [2020-09-17T08:54:05.758Z] > git --version # 'git version 2.16.5' [2020-09-17T08:54:05.759Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T08:54:05.803Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T08:54:06.913Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-17T08:54:06.920Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T08:54:06.934Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-17T08:54:06.939Z] Fetching without tags [2020-09-17T08:54:07.308Z] Checking out Revision 986986d893843ca2c4c8974c29aa772854012406 (master) [2020-09-17T08:54:06.944Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-17T08:54:06.945Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T08:54:06.949Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T08:54:07.318Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T08:54:07.324Z] > git checkout -f 986986d893843ca2c4c8974c29aa772854012406 # timeout=10 [2020-09-17T08:54:10.975Z] Commit message: "Merge pull request #174 from hahattan/issue-173" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-17T08:54:11.765Z] ========================================================= [2020-09-17T08:54:11.765Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-17T08:54:11.765Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:54:12.384Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-09-17T08:54:12.656Z] Sending build context to Docker daemon 668.2kB [2020-09-17T08:54:12.656Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-17T08:54:12.656Z] Step 2/8 : FROM ${BASE} [2020-09-17T08:54:12.920Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-17T08:54:12.920Z] df20fa9351a1: Pulling fs layer [2020-09-17T08:54:12.920Z] ed8968b2872e: Pulling fs layer [2020-09-17T08:54:12.920Z] a92cc7c5fd73: Pulling fs layer [2020-09-17T08:54:12.920Z] e871e8e8d7a9: Pulling fs layer [2020-09-17T08:54:12.920Z] e73272ec9a57: Pulling fs layer [2020-09-17T08:54:12.920Z] 1e910a182e73: Pulling fs layer [2020-09-17T08:54:12.920Z] 4e634b169226: Pulling fs layer [2020-09-17T08:54:12.920Z] e73272ec9a57: Waiting [2020-09-17T08:54:12.920Z] 4e634b169226: Waiting [2020-09-17T08:54:12.920Z] 1e910a182e73: Waiting [2020-09-17T08:54:12.920Z] a92cc7c5fd73: Verifying Checksum [2020-09-17T08:54:12.920Z] a92cc7c5fd73: Download complete [2020-09-17T08:54:12.920Z] ed8968b2872e: Download complete [2020-09-17T08:54:12.920Z] e73272ec9a57: Verifying Checksum [2020-09-17T08:54:12.920Z] e73272ec9a57: Download complete [2020-09-17T08:54:12.920Z] 1e910a182e73: Verifying Checksum [2020-09-17T08:54:12.920Z] 1e910a182e73: Download complete [2020-09-17T08:54:12.920Z] df20fa9351a1: Verifying Checksum [2020-09-17T08:54:12.920Z] df20fa9351a1: Download complete [2020-09-17T08:54:13.189Z] df20fa9351a1: Pull complete [2020-09-17T08:54:13.458Z] ed8968b2872e: Pull complete [2020-09-17T08:54:13.458Z] a92cc7c5fd73: Pull complete [2020-09-17T08:54:15.395Z] 4e634b169226: Verifying Checksum [2020-09-17T08:54:15.396Z] 4e634b169226: Download complete [2020-09-17T08:54:15.662Z] e871e8e8d7a9: Verifying Checksum [2020-09-17T08:54:15.662Z] e871e8e8d7a9: Download complete [2020-09-17T08:54:22.303Z] e871e8e8d7a9: Pull complete [2020-09-17T08:54:22.303Z] e73272ec9a57: Pull complete [2020-09-17T08:54:22.303Z] 1e910a182e73: Pull complete [2020-09-17T08:54:27.647Z] 4e634b169226: Pull complete [2020-09-17T08:54:27.647Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-17T08:54:27.647Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-17T08:54:27.647Z] ---> f7629b54cfaa [2020-09-17T08:54:27.647Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-09-17T08:54:27.647Z] ---> Running in 1fcd04c366f9 [2020-09-17T08:54:27.911Z] Removing intermediate container 1fcd04c366f9 [2020-09-17T08:54:27.911Z] ---> 29326a466fb6 [2020-09-17T08:54:27.911Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T08:54:27.911Z] ---> Running in 3582d51cd737 [2020-09-17T08:54:29.312Z] Removing intermediate container 3582d51cd737 [2020-09-17T08:54:29.312Z] ---> faaff9d029da [2020-09-17T08:54:29.312Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-09-17T08:54:29.312Z] ---> Running in 0d19af87ca1b [2020-09-17T08:54:29.893Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-17T08:54:31.284Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-17T08:54:32.698Z] (1/14) Installing libmagic (5.38-r0) [2020-09-17T08:54:32.698Z] (2/14) Installing file (5.38-r0) [2020-09-17T08:54:32.960Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-09-17T08:54:32.960Z] (4/14) Installing g++ (9.3.0-r2) [2020-09-17T08:54:56.751Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-165 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2020-09-17T08:54:56.804Z] Running in /w/workspace/device-modbus-go/24 [Pipeline] { [Pipeline] checkout [2020-09-17T08:54:59.612Z] (5/14) Installing fortify-headers (1.1-r0) [2020-09-17T08:54:59.612Z] (6/14) Installing patch (2.7.6-r6) [2020-09-17T08:54:59.612Z] (7/14) Installing build-base (0.5-r2) [2020-09-17T08:54:59.612Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-09-17T08:54:59.612Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-09-17T08:54:59.612Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-09-17T08:54:59.612Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-09-17T08:54:59.612Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-09-17T08:54:59.612Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-09-17T08:54:59.612Z] (14/14) Installing openssh (8.3_p1-r0) [2020-09-17T08:54:59.612Z] Executing busybox-1.31.1-r16.trigger [2020-09-17T08:54:59.612Z] OK: 237 MiB in 53 packages [2020-09-17T08:55:02.931Z] Removing intermediate container 0d19af87ca1b [2020-09-17T08:55:02.932Z] ---> fd07e4e07dc6 [2020-09-17T08:55:02.932Z] Step 6/8 : WORKDIR /device-modbus-go [2020-09-17T08:55:02.932Z] ---> Running in 8f54eaa968f8 [2020-09-17T08:55:02.932Z] Removing intermediate container 8f54eaa968f8 [2020-09-17T08:55:02.932Z] ---> ae46a1e6b334 [2020-09-17T08:55:02.932Z] Step 7/8 : COPY . . [2020-09-17T08:55:03.091Z] using credential edgex-jenkins-ssh [2020-09-17T08:55:03.147Z] Cloning the remote Git repository [2020-09-17T08:55:03.147Z] Cloning with configured refspecs honoured and without tags [2020-09-17T08:55:03.508Z] ---> 92b1c7024df1 [2020-09-17T08:55:03.508Z] Step 8/8 : RUN go mod download [2020-09-17T08:55:03.508Z] ---> Running in c2aa3ef8447b [2020-09-17T08:55:03.199Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-09-17T08:55:03.314Z] > git init /w/workspace/device-modbus-go/24 # timeout=10 [2020-09-17T08:55:03.380Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-17T08:55:03.381Z] > git --version # timeout=10 [2020-09-17T08:55:03.394Z] > git --version # 'git version 2.17.1' [2020-09-17T08:55:03.396Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T08:55:03.448Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T08:55:04.365Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-17T08:55:04.396Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T08:55:04.438Z] Fetching without tags [2020-09-17T08:55:04.918Z] Checking out Revision 986986d893843ca2c4c8974c29aa772854012406 (master) [2020-09-17T08:55:04.422Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-17T08:55:04.449Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-17T08:55:04.450Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T08:55:04.463Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T08:55:04.942Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T08:55:04.962Z] > git checkout -f 986986d893843ca2c4c8974c29aa772854012406 # timeout=10 [2020-09-17T08:55:09.460Z] Commit message: "Merge pull request #174 from hahattan/issue-173" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-17T08:55:10.706Z] ========================================================= [2020-09-17T08:55:10.706Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-17T08:55:10.706Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:55:11.986Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-09-17T08:55:12.980Z] Sending build context to Docker daemon 668.2kB [2020-09-17T08:55:12.981Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-17T08:55:12.981Z] Step 2/8 : FROM ${BASE} [2020-09-17T08:55:13.267Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-17T08:55:13.267Z] b538f80385f9: Pulling fs layer [2020-09-17T08:55:13.267Z] 74f711af9a0d: Pulling fs layer [2020-09-17T08:55:13.267Z] 99f96fe45779: Pulling fs layer [2020-09-17T08:55:13.267Z] 8529a6b9a6be: Pulling fs layer [2020-09-17T08:55:13.267Z] 45590311c82a: Pulling fs layer [2020-09-17T08:55:13.267Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-17T08:55:13.267Z] 209524e5b208: Pulling fs layer [2020-09-17T08:55:13.267Z] 8529a6b9a6be: Waiting [2020-09-17T08:55:13.267Z] 45590311c82a: Waiting [2020-09-17T08:55:13.267Z] 69ca0ff8b7b3: Waiting [2020-09-17T08:55:13.267Z] 209524e5b208: Waiting [2020-09-17T08:55:13.267Z] 99f96fe45779: Verifying Checksum [2020-09-17T08:55:13.267Z] 99f96fe45779: Download complete [2020-09-17T08:55:13.267Z] 74f711af9a0d: Verifying Checksum [2020-09-17T08:55:13.267Z] 74f711af9a0d: Download complete [2020-09-17T08:55:13.267Z] 45590311c82a: Verifying Checksum [2020-09-17T08:55:13.267Z] 45590311c82a: Download complete [2020-09-17T08:55:13.545Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-17T08:55:13.545Z] 69ca0ff8b7b3: Download complete [2020-09-17T08:55:13.545Z] b538f80385f9: Verifying Checksum [2020-09-17T08:55:13.545Z] b538f80385f9: Download complete [2020-09-17T08:55:14.543Z] b538f80385f9: Pull complete [2020-09-17T08:55:15.154Z] 74f711af9a0d: Pull complete [2020-09-17T08:55:15.434Z] 99f96fe45779: Pull complete [2020-09-17T08:55:15.793Z] Removing intermediate container c2aa3ef8447b [2020-09-17T08:55:15.793Z] ---> 63d4ec369fff [2020-09-17T08:55:15.793Z] Successfully built 63d4ec369fff [2020-09-17T08:55:15.793Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:55:16.308Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-17T08:55:16.308Z] . [Pipeline] withDockerContainer [2020-09-17T08:55:16.425Z] prd-centos7-docker-4c-2g-163 does not seem to be running inside a container [2020-09-17T08:55:16.476Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/24 -v /w/workspace/device-modbus-go/24:/w/workspace/device-modbus-go/24:rw,z -v /w/workspace/device-modbus-go/24@tmp:/w/workspace/device-modbus-go/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-17T08:55:16.950Z] 209524e5b208: Verifying Checksum [2020-09-17T08:55:16.950Z] 209524e5b208: Download complete [2020-09-17T08:55:17.751Z] $ docker top 30b7289a10162ad8c24692d185f67e739208bff7f3e7bcb12374d81e30a2da09 -eo pid,comm [Pipeline] { [2020-09-17T08:55:17.932Z] 8529a6b9a6be: Verifying Checksum [2020-09-17T08:55:17.932Z] 8529a6b9a6be: Download complete [Pipeline] sh [2020-09-17T08:55:18.252Z] + go version [2020-09-17T08:55:18.252Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-17T08:55:18.269Z] $ docker stop --time=1 30b7289a10162ad8c24692d185f67e739208bff7f3e7bcb12374d81e30a2da09 [2020-09-17T08:55:19.634Z] $ docker rm -f 30b7289a10162ad8c24692d185f67e739208bff7f3e7bcb12374d81e30a2da09 [Pipeline] // withDockerContainer [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 [2020-09-17T08:55:21.329Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-17T08:55:21.635Z] + ls -al . [2020-09-17T08:55:21.635Z] total 64 [2020-09-17T08:55:21.635Z] drwxrwxr-x. 10 jenkins jenkins 4096 Sep 17 08:54 . [2020-09-17T08:55:21.635Z] drwxrwxr-x. 4 jenkins jenkins 30 Sep 17 08:54 .. [2020-09-17T08:55:21.635Z] -rw-rw-r--. 1 jenkins jenkins 4913 Sep 17 08:54 Attribution.txt [2020-09-17T08:55:21.635Z] drwxrwxr-x. 2 jenkins jenkins 87 Sep 17 08:54 bin [2020-09-17T08:55:21.635Z] drwxrwxr-x. 3 jenkins jenkins 32 Sep 17 08:54 cmd [2020-09-17T08:55:21.635Z] -rw-rw-r--. 1 jenkins jenkins 1430 Sep 17 08:54 Dockerfile [2020-09-17T08:55:21.635Z] -rw-rw-r--. 1 jenkins jenkins 954 Sep 17 08:54 Dockerfile.build [2020-09-17T08:55:21.635Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 17 08:54 .dockerignore [2020-09-17T08:55:21.635Z] drwxrwxr-x. 8 jenkins jenkins 162 Sep 17 08:54 .git [2020-09-17T08:55:21.635Z] drwxrwxr-x. 2 jenkins jenkins 38 Sep 17 08:54 .github [2020-09-17T08:55:21.635Z] -rw-rw-r--. 1 jenkins jenkins 338 Sep 17 08:54 .gitignore [2020-09-17T08:55:21.635Z] -rw-rw-r--. 1 jenkins jenkins 559 Sep 17 08:54 go.mod [2020-09-17T08:55:21.635Z] drwxrwxr-x. 3 jenkins jenkins 20 Sep 17 08:54 internal [2020-09-17T08:55:21.635Z] -rw-rw-r--. 1 jenkins jenkins 679 Sep 17 08:54 Jenkinsfile [2020-09-17T08:55:21.635Z] -rw-rw-r--. 1 jenkins jenkins 11340 Sep 17 08:54 LICENSE [2020-09-17T08:55:21.635Z] -rw-rw-r--. 1 jenkins jenkins 880 Sep 17 08:54 Makefile [2020-09-17T08:55:21.635Z] -rw-rw-r--. 1 jenkins jenkins 591 Sep 17 08:54 README.md [2020-09-17T08:55:21.635Z] drwxrwxr-x. 3 jenkins jenkins 44 Sep 17 08:54 .semver [2020-09-17T08:55:21.635Z] drwxrwxr-x. 2 jenkins jenkins 52 Sep 17 08:54 simulator [2020-09-17T08:55:21.635Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 17 08:54 snap [2020-09-17T08:55:21.635Z] -rw-rw-r--. 1 jenkins jenkins 11 Sep 17 08:52 VERSION [2020-09-17T08:55:21.635Z] -rw-rw-r--. 1 jenkins jenkins 229 Sep 17 08:54 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:55:21.943Z] + 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=986986d893843ca2c4c8974c29aa772854012406 --label arch=amd64 --label version=1.2.3-dev.6 . [2020-09-17T08:55:21.943Z] Sending build context to Docker daemon 668.2kB [2020-09-17T08:55:21.943Z] Step 1/20 : ARG BASE=golang:1.15-alpine [2020-09-17T08:55:21.943Z] Step 2/20 : FROM ${BASE} AS builder [2020-09-17T08:55:21.943Z] ---> 63d4ec369fff [2020-09-17T08:55:21.943Z] Step 3/20 : ARG MAKE='make build' [2020-09-17T08:55:22.208Z] ---> Running in b594ccd280a7 [2020-09-17T08:55:22.208Z] Removing intermediate container b594ccd280a7 [2020-09-17T08:55:22.208Z] ---> 95c2fef123b3 [2020-09-17T08:55:22.208Z] Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T08:55:22.469Z] ---> Running in be17d2dcac1c [2020-09-17T08:55:23.414Z] Removing intermediate container be17d2dcac1c [2020-09-17T08:55:23.414Z] ---> 12171f59f51e [2020-09-17T08:55:23.414Z] Step 5/20 : RUN apk add --update --no-cache make git openssh build-base [2020-09-17T08:55:23.414Z] ---> Running in 111ccbc48896 [2020-09-17T08:55:23.676Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-17T08:55:24.622Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-17T08:55:25.201Z] OK: 237 MiB in 53 packages [2020-09-17T08:55:25.463Z] Removing intermediate container 111ccbc48896 [2020-09-17T08:55:25.463Z] ---> 5c70716e8830 [2020-09-17T08:55:25.463Z] Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-09-17T08:55:25.463Z] ---> Running in 429a17917e8e [2020-09-17T08:55:25.727Z] Removing intermediate container 429a17917e8e [2020-09-17T08:55:25.727Z] ---> 79cd807ee9f6 [2020-09-17T08:55:25.727Z] Step 7/20 : COPY . . [2020-09-17T08:55:26.672Z] ---> 54f5547ac109 [2020-09-17T08:55:26.672Z] Step 8/20 : RUN ${MAKE} [2020-09-17T08:55:26.672Z] ---> Running in 34f92b8b90fa [2020-09-17T08:55:26.944Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.3-dev.6" -o cmd/device-modbus ./cmd [2020-09-17T08:55:28.097Z] 8529a6b9a6be: Pull complete [2020-09-17T08:55:28.097Z] 45590311c82a: Pull complete [2020-09-17T08:55:28.097Z] 69ca0ff8b7b3: Pull complete [2020-09-17T08:55:31.487Z] 209524e5b208: Pull complete [2020-09-17T08:55:31.487Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-17T08:55:31.487Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-17T08:55:31.487Z] ---> 5bddaf1c2fca [2020-09-17T08:55:31.487Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-09-17T08:55:34.911Z] ---> Running in e00ff1342309 [2020-09-17T08:55:34.911Z] Removing intermediate container e00ff1342309 [2020-09-17T08:55:34.911Z] ---> 72a1aecb225f [2020-09-17T08:55:34.911Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T08:55:35.185Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-09-17T08:55:35.193Z] ---> Running in 549598e16503 [2020-09-17T08:55:37.741Z] Removing intermediate container 34f92b8b90fa [2020-09-17T08:55:37.741Z] ---> b7c1f06933a3 [2020-09-17T08:55:37.741Z] Step 9/20 : FROM scratch [2020-09-17T08:55:37.741Z] ---> [2020-09-17T08:55:37.741Z] Step 10/20 : ENV APP_PORT=49991 [2020-09-17T08:55:37.741Z] ---> Running in 1892cba08f11 [2020-09-17T08:55:37.741Z] Removing intermediate container 1892cba08f11 [2020-09-17T08:55:37.741Z] ---> 15e0a174c3a0 [2020-09-17T08:55:37.741Z] Step 11/20 : EXPOSE $APP_PORT [2020-09-17T08:55:38.005Z] ---> Running in 9e9e5d28e524 [2020-09-17T08:55:38.005Z] Removing intermediate container 9e9e5d28e524 [2020-09-17T08:55:38.005Z] ---> 65b9870a6603 [2020-09-17T08:55:38.005Z] Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-09-17T08:55:38.578Z] ---> 33772984404c [2020-09-17T08:55:38.578Z] Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-09-17T08:55:38.603Z] Removing intermediate container 549598e16503 [2020-09-17T08:55:38.603Z] ---> 000569760aa2 [2020-09-17T08:55:38.603Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-09-17T08:55:38.603Z] ---> Running in ee4f92995122 [2020-09-17T08:55:38.839Z] ---> f12ec77f1396 [2020-09-17T08:55:38.839Z] Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-09-17T08:55:38.839Z] ---> 4b602f99b4a1 [2020-09-17T08:55:38.839Z] Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-09-17T08:55:39.102Z] ---> Running in befbc4af2f6f [2020-09-17T08:55:39.102Z] Removing intermediate container befbc4af2f6f [2020-09-17T08:55:39.102Z] ---> 7138e8c9fa0b [2020-09-17T08:55:39.102Z] Step 16/20 : ENTRYPOINT ["/device-modbus"] [2020-09-17T08:55:39.102Z] ---> Running in 43189c985124 [2020-09-17T08:55:39.364Z] Removing intermediate container 43189c985124 [2020-09-17T08:55:39.364Z] ---> 8d4071307388 [2020-09-17T08:55:39.364Z] Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-17T08:55:39.364Z] ---> Running in 7c024d7245e3 [2020-09-17T08:55:39.627Z] Removing intermediate container 7c024d7245e3 [2020-09-17T08:55:39.627Z] ---> 8e36a58340b6 [2020-09-17T08:55:39.627Z] Step 18/20 : LABEL arch=amd64 [2020-09-17T08:55:39.627Z] ---> Running in d83c573795c7 [2020-09-17T08:55:39.889Z] Removing intermediate container d83c573795c7 [2020-09-17T08:55:39.889Z] ---> b4797e3261f0 [2020-09-17T08:55:39.889Z] Step 19/20 : LABEL git_sha=986986d893843ca2c4c8974c29aa772854012406 [2020-09-17T08:55:39.889Z] ---> Running in 6502c4d3c8f7 [2020-09-17T08:55:39.889Z] Removing intermediate container 6502c4d3c8f7 [2020-09-17T08:55:39.889Z] ---> 3ad213fd2215 [2020-09-17T08:55:39.889Z] Step 20/20 : LABEL version=1.2.3-dev.6 [2020-09-17T08:55:40.062Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-17T08:55:40.152Z] ---> Running in d469b5b678ff [2020-09-17T08:55:40.152Z] Removing intermediate container d469b5b678ff [2020-09-17T08:55:40.152Z] ---> 8a3606672626 [2020-09-17T08:55:40.152Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-17T08:55:40.152Z] Successfully built 8a3606672626 [2020-09-17T08:55:40.152Z] Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [2020-09-17T08:55:40.666Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-09-17T08:55:40.817Z] provisioning config files... [2020-09-17T08:55:40.853Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/24@tmp/config1220218313948250923tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-09-17T08:55:41.212Z] ---> docker-login.sh [2020-09-17T08:55:41.212Z] nexus3.edgexfoundry.org:10001 [2020-09-17T08:55:41.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T08:55:41.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T08:55:41.477Z] Configure a credential helper to remove this warning. See [2020-09-17T08:55:41.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T08:55:41.477Z] [2020-09-17T08:55:41.477Z] Login Succeeded [2020-09-17T08:55:41.477Z] nexus3.edgexfoundry.org:10002 [2020-09-17T08:55:41.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T08:55:41.658Z] (1/14) Installing libmagic (5.38-r0) [2020-09-17T08:55:41.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T08:55:41.739Z] Configure a credential helper to remove this warning. See [2020-09-17T08:55:41.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T08:55:41.739Z] [2020-09-17T08:55:41.739Z] Login Succeeded [2020-09-17T08:55:41.739Z] nexus3.edgexfoundry.org:10003 [2020-09-17T08:55:41.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T08:55:41.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T08:55:41.739Z] Configure a credential helper to remove this warning. See [2020-09-17T08:55:41.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T08:55:41.740Z] [2020-09-17T08:55:41.740Z] Login Succeeded [2020-09-17T08:55:41.740Z] nexus3.edgexfoundry.org:10004 [2020-09-17T08:55:41.939Z] (2/14) Installing file (5.38-r0) [2020-09-17T08:55:41.939Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-09-17T08:55:41.939Z] (4/14) Installing g++ (9.3.0-r2) [2020-09-17T08:55:42.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T08:55:42.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T08:55:42.002Z] Configure a credential helper to remove this warning. See [2020-09-17T08:55:42.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T08:55:42.002Z] [2020-09-17T08:55:42.002Z] Login Succeeded [2020-09-17T08:55:42.002Z] docker.io [2020-09-17T08:55:42.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T08:55:42.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T08:55:42.264Z] Configure a credential helper to remove this warning. See [2020-09-17T08:55:42.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T08:55:42.264Z] [2020-09-17T08:55:42.264Z] Login Succeeded [2020-09-17T08:55:42.264Z] ---> docker-login.sh ends [Pipeline] } [2020-09-17T08:55:42.273Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-09-17T08:55:42.551Z] [edgeXDocker.push] Tagging docker image docker-device-modbus-go with the following tags: [2020-09-17T08:55:42.551Z] 986986d893843ca2c4c8974c29aa772854012406 [2020-09-17T08:55:42.551Z] latest [2020-09-17T08:55:42.551Z] 1.2.3-dev.6 [2020-09-17T08:55:42.551Z] 986986d893843ca2c4c8974c29aa772854012406-1.2.3-dev.6 [2020-09-17T08:55:42.551Z] master [2020-09-17T08:55:42.551Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:55:43.040Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:986986d893843ca2c4c8974c29aa772854012406 [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:55:43.342Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:986986d893843ca2c4c8974c29aa772854012406 [2020-09-17T08:55:43.342Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2020-09-17T08:55:43.342Z] 2ec7078b41d8: Preparing [2020-09-17T08:55:43.342Z] 3b91b891432a: Preparing [2020-09-17T08:55:43.342Z] 24c2e8737df2: Preparing [2020-09-17T08:55:43.342Z] 2ec7078b41d8: Pushed [2020-09-17T08:55:43.342Z] 3b91b891432a: Pushed [2020-09-17T08:55:44.292Z] 24c2e8737df2: Pushed [2020-09-17T08:55:44.554Z] 986986d893843ca2c4c8974c29aa772854012406: digest: sha256:3442c7742630f39745e3b00984dedfbc3a8bc90b9e5c493e6b4d984beb94ea86 size: 943 [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:55:44.862Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:55:45.158Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [2020-09-17T08:55:45.158Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2020-09-17T08:55:45.158Z] 2ec7078b41d8: Preparing [2020-09-17T08:55:45.158Z] 3b91b891432a: Preparing [2020-09-17T08:55:45.158Z] 24c2e8737df2: Preparing [2020-09-17T08:55:45.158Z] 24c2e8737df2: Layer already exists [2020-09-17T08:55:45.158Z] 2ec7078b41d8: Layer already exists [2020-09-17T08:55:45.158Z] 3b91b891432a: Layer already exists [2020-09-17T08:55:45.158Z] latest: digest: sha256:3442c7742630f39745e3b00984dedfbc3a8bc90b9e5c493e6b4d984beb94ea86 size: 943 [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:55:45.731Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.2.3-dev.6 [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:55:46.041Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.2.3-dev.6 [2020-09-17T08:55:46.041Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2020-09-17T08:55:46.041Z] 2ec7078b41d8: Preparing [2020-09-17T08:55:46.041Z] 3b91b891432a: Preparing [2020-09-17T08:55:46.041Z] 24c2e8737df2: Preparing [2020-09-17T08:55:46.041Z] 3b91b891432a: Layer already exists [2020-09-17T08:55:46.041Z] 24c2e8737df2: Layer already exists [2020-09-17T08:55:46.041Z] 2ec7078b41d8: Layer already exists [2020-09-17T08:55:46.041Z] 1.2.3-dev.6: digest: sha256:3442c7742630f39745e3b00984dedfbc3a8bc90b9e5c493e6b4d984beb94ea86 size: 943 [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:55:46.357Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:986986d893843ca2c4c8974c29aa772854012406-1.2.3-dev.6 [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:55:46.668Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:986986d893843ca2c4c8974c29aa772854012406-1.2.3-dev.6 [2020-09-17T08:55:46.668Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2020-09-17T08:55:46.668Z] 2ec7078b41d8: Preparing [2020-09-17T08:55:46.668Z] 3b91b891432a: Preparing [2020-09-17T08:55:46.668Z] 24c2e8737df2: Preparing [2020-09-17T08:55:46.668Z] 2ec7078b41d8: Layer already exists [2020-09-17T08:55:46.668Z] 24c2e8737df2: Layer already exists [2020-09-17T08:55:46.668Z] 3b91b891432a: Layer already exists [2020-09-17T08:55:46.668Z] 986986d893843ca2c4c8974c29aa772854012406-1.2.3-dev.6: digest: sha256:3442c7742630f39745e3b00984dedfbc3a8bc90b9e5c493e6b4d984beb94ea86 size: 943 [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:55:46.982Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:55:47.288Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [2020-09-17T08:55:47.288Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2020-09-17T08:55:47.288Z] 2ec7078b41d8: Preparing [2020-09-17T08:55:47.288Z] 3b91b891432a: Preparing [2020-09-17T08:55:47.288Z] 24c2e8737df2: Preparing [2020-09-17T08:55:47.288Z] 3b91b891432a: Layer already exists [2020-09-17T08:55:47.288Z] 2ec7078b41d8: Layer already exists [2020-09-17T08:55:47.288Z] 24c2e8737df2: Layer already exists [2020-09-17T08:55:47.288Z] master: digest: sha256:3442c7742630f39745e3b00984dedfbc3a8bc90b9e5c493e6b4d984beb94ea86 size: 943 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-09-17T08:55:47.468Z] ===================================================== [Pipeline] echo [2020-09-17T08:55:47.537Z] taggedImages: [2020-09-17T08:55:47.537Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:986986d893843ca2c4c8974c29aa772854012406 [2020-09-17T08:55:47.537Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [2020-09-17T08:55:47.537Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.2.3-dev.6 [2020-09-17T08:55:47.537Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:986986d893843ca2c4c8974c29aa772854012406-1.2.3-dev.6 [2020-09-17T08:55:47.537Z] - 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] } [2020-09-17T08:55:50.227Z] (5/14) Installing fortify-headers (1.1-r0) [2020-09-17T08:55:50.227Z] (6/14) Installing patch (2.7.6-r6) [2020-09-17T08:55:50.227Z] (7/14) Installing build-base (0.5-r2) [2020-09-17T08:55:50.227Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-09-17T08:55:50.227Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-09-17T08:55:50.227Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-09-17T08:55:50.227Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-09-17T08:55:50.227Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-09-17T08:55:50.227Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-09-17T08:55:50.507Z] (14/14) Installing openssh (8.3_p1-r0) [2020-09-17T08:55:50.507Z] Executing busybox-1.31.1-r16.trigger [2020-09-17T08:55:50.507Z] OK: 221 MiB in 53 packages [2020-09-17T08:55:54.832Z] Removing intermediate container ee4f92995122 [2020-09-17T08:55:54.832Z] ---> 9e89b6143a20 [2020-09-17T08:55:54.832Z] Step 6/8 : WORKDIR /device-modbus-go [2020-09-17T08:55:55.108Z] ---> Running in aec488e9065c [2020-09-17T08:55:55.384Z] Removing intermediate container aec488e9065c [2020-09-17T08:55:55.384Z] ---> 81ef5bf5bf59 [2020-09-17T08:55:55.384Z] Step 7/8 : COPY . . [2020-09-17T08:55:56.361Z] ---> b593cd1f2a64 [2020-09-17T08:55:56.361Z] Step 8/8 : RUN go mod download [2020-09-17T08:55:56.632Z] ---> Running in dc2b076b13da [2020-09-17T08:56:11.758Z] Removing intermediate container dc2b076b13da [2020-09-17T08:56:11.759Z] ---> 6e6e33215f9b [2020-09-17T08:56:11.759Z] Successfully built 6e6e33215f9b [2020-09-17T08:56:11.759Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:56:12.196Z] + docker inspect -f . ci-base-image-arm64 [2020-09-17T08:56:12.196Z] . [Pipeline] withDockerContainer [2020-09-17T08:56:12.494Z] prd-ubuntu18.04-docker-arm64-4c-16g-165 does not seem to be running inside a container [2020-09-17T08:56:12.592Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/24 -v /w/workspace/device-modbus-go/24:/w/workspace/device-modbus-go/24:rw,z -v /w/workspace/device-modbus-go/24@tmp:/w/workspace/device-modbus-go/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-17T08:56:14.526Z] $ docker top 955a390ee9a9f5a1077f855a932a9a40004143c855c966105bd9fa9ad1a7438d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T08:56:16.015Z] + go version [2020-09-17T08:56:16.015Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-17T08:56:16.045Z] $ docker stop --time=1 955a390ee9a9f5a1077f855a932a9a40004143c855c966105bd9fa9ad1a7438d [2020-09-17T08:56:18.047Z] $ docker rm -f 955a390ee9a9f5a1077f855a932a9a40004143c855c966105bd9fa9ad1a7438d [Pipeline] // withDockerContainer [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 [2020-09-17T08:56:19.323Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-17T08:56:19.682Z] + ls -al . [2020-09-17T08:56:19.682Z] total 100 [2020-09-17T08:56:19.682Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 17 08:55 . [2020-09-17T08:56:19.682Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 08:55 .. [2020-09-17T08:56:19.682Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 17 08:55 .dockerignore [2020-09-17T08:56:19.682Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 17 08:55 .git [2020-09-17T08:56:19.682Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:55 .github [2020-09-17T08:56:19.682Z] -rw-rw-r-- 1 jenkins jenkins 338 Sep 17 08:55 .gitignore [2020-09-17T08:56:19.682Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:55 .semver [2020-09-17T08:56:19.682Z] -rw-rw-r-- 1 jenkins jenkins 4913 Sep 17 08:55 Attribution.txt [2020-09-17T08:56:19.682Z] -rw-rw-r-- 1 jenkins jenkins 1430 Sep 17 08:55 Dockerfile [2020-09-17T08:56:19.682Z] -rw-rw-r-- 1 jenkins jenkins 954 Sep 17 08:55 Dockerfile.build [2020-09-17T08:56:19.682Z] -rw-rw-r-- 1 jenkins jenkins 679 Sep 17 08:55 Jenkinsfile [2020-09-17T08:56:19.682Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 17 08:55 LICENSE [2020-09-17T08:56:19.682Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 17 08:55 Makefile [2020-09-17T08:56:19.682Z] -rw-rw-r-- 1 jenkins jenkins 591 Sep 17 08:55 README.md [2020-09-17T08:56:19.682Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 17 08:52 VERSION [2020-09-17T08:56:19.682Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:55 bin [2020-09-17T08:56:19.682Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:55 cmd [2020-09-17T08:56:19.682Z] -rw-rw-r-- 1 jenkins jenkins 559 Sep 17 08:55 go.mod [2020-09-17T08:56:19.682Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:55 internal [2020-09-17T08:56:19.682Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:55 simulator [2020-09-17T08:56:19.682Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 08:55 snap [2020-09-17T08:56:19.682Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 17 08:55 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:56:20.038Z] + 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=986986d893843ca2c4c8974c29aa772854012406 --label arch=arm64 --label version=1.2.3-dev.6 . [2020-09-17T08:56:20.314Z] Sending build context to Docker daemon 668.2kB [2020-09-17T08:56:20.592Z] Step 1/20 : ARG BASE=golang:1.15-alpine [2020-09-17T08:56:20.592Z] Step 2/20 : FROM ${BASE} AS builder [2020-09-17T08:56:20.592Z] ---> 6e6e33215f9b [2020-09-17T08:56:20.592Z] Step 3/20 : ARG MAKE='make build' [2020-09-17T08:56:20.592Z] ---> Running in 638e8a3deb8a [2020-09-17T08:56:21.188Z] Removing intermediate container 638e8a3deb8a [2020-09-17T08:56:21.188Z] ---> 7f955a1dd99f [2020-09-17T08:56:21.188Z] Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T08:56:21.471Z] ---> Running in 08db0a3ae57d [2020-09-17T08:56:24.116Z] Removing intermediate container 08db0a3ae57d [2020-09-17T08:56:24.116Z] ---> 35f6a6f76707 [2020-09-17T08:56:24.116Z] Step 5/20 : RUN apk add --update --no-cache make git openssh build-base [2020-09-17T08:56:24.116Z] ---> Running in 012546ebe58c [2020-09-17T08:56:25.544Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-17T08:56:26.140Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-17T08:56:26.732Z] OK: 221 MiB in 53 packages [2020-09-17T08:56:28.163Z] Removing intermediate container 012546ebe58c [2020-09-17T08:56:28.163Z] ---> 12598aff2a7e [2020-09-17T08:56:28.163Z] Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-09-17T08:56:28.163Z] ---> Running in dce8db2f1c08 [2020-09-17T08:56:28.757Z] Removing intermediate container dce8db2f1c08 [2020-09-17T08:56:28.757Z] ---> c672e0f40732 [2020-09-17T08:56:28.757Z] Step 7/20 : COPY . . [2020-09-17T08:56:29.356Z] ---> e56f1c0c1fd0 [2020-09-17T08:56:29.356Z] Step 8/20 : RUN ${MAKE} [2020-09-17T08:56:29.628Z] ---> Running in 99822fe2b980 [2020-09-17T08:56:31.059Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.3-dev.6" -o cmd/device-modbus ./cmd [2020-09-17T08:56:57.907Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-09-17T08:57:01.297Z] Removing intermediate container 99822fe2b980 [2020-09-17T08:57:01.297Z] ---> 1a47d7c8061f [2020-09-17T08:57:01.297Z] Step 9/20 : FROM scratch [2020-09-17T08:57:01.297Z] ---> [2020-09-17T08:57:01.297Z] Step 10/20 : ENV APP_PORT=49991 [2020-09-17T08:57:01.297Z] ---> Running in ba146d0a5be5 [2020-09-17T08:57:01.576Z] Removing intermediate container ba146d0a5be5 [2020-09-17T08:57:01.577Z] ---> fe7dc151a0c3 [2020-09-17T08:57:01.577Z] Step 11/20 : EXPOSE $APP_PORT [2020-09-17T08:57:01.577Z] ---> Running in dd1837efb899 [2020-09-17T08:57:02.169Z] Removing intermediate container dd1837efb899 [2020-09-17T08:57:02.169Z] ---> 8c589a16feb7 [2020-09-17T08:57:02.169Z] Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-09-17T08:57:03.147Z] ---> 8c696c1a68de [2020-09-17T08:57:03.147Z] Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-09-17T08:57:04.126Z] ---> 053ca46d9c25 [2020-09-17T08:57:04.126Z] Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-09-17T08:57:04.722Z] ---> ecdead997b87 [2020-09-17T08:57:04.722Z] Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-09-17T08:57:05.001Z] ---> Running in 3aa6e67d86e3 [2020-09-17T08:57:05.278Z] Removing intermediate container 3aa6e67d86e3 [2020-09-17T08:57:05.278Z] ---> 3c488210fd40 [2020-09-17T08:57:05.278Z] Step 16/20 : ENTRYPOINT ["/device-modbus"] [2020-09-17T08:57:05.561Z] ---> Running in b424675532bf [2020-09-17T08:57:05.852Z] Removing intermediate container b424675532bf [2020-09-17T08:57:05.852Z] ---> f7911e5ac80d [2020-09-17T08:57:05.852Z] Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-17T08:57:06.127Z] ---> Running in 8aeb1f5524cc [2020-09-17T08:57:06.728Z] Removing intermediate container 8aeb1f5524cc [2020-09-17T08:57:06.728Z] ---> fcc690a69d66 [2020-09-17T08:57:06.728Z] Step 18/20 : LABEL arch=arm64 [2020-09-17T08:57:06.728Z] ---> Running in a9558e7a2fd1 [2020-09-17T08:57:07.334Z] Removing intermediate container a9558e7a2fd1 [2020-09-17T08:57:07.334Z] ---> bef37d9c7a19 [2020-09-17T08:57:07.334Z] Step 19/20 : LABEL git_sha=986986d893843ca2c4c8974c29aa772854012406 [2020-09-17T08:57:07.334Z] ---> Running in da054141cc18 [2020-09-17T08:57:07.932Z] Removing intermediate container da054141cc18 [2020-09-17T08:57:07.932Z] ---> 09ed62f18247 [2020-09-17T08:57:07.932Z] Step 20/20 : LABEL version=1.2.3-dev.6 [2020-09-17T08:57:07.932Z] ---> Running in a43efd914e99 [2020-09-17T08:57:08.619Z] Removing intermediate container a43efd914e99 [2020-09-17T08:57:08.619Z] ---> 719c604c08a6 [2020-09-17T08:57:08.619Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-17T08:57:08.619Z] Successfully built 719c604c08a6 [2020-09-17T08:57:08.619Z] 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 [2020-09-17T08:57:09.121Z] provisioning config files... [2020-09-17T08:57:09.170Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/24@tmp/config5676197424595785923tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-09-17T08:57:09.589Z] ---> docker-login.sh [2020-09-17T08:57:09.589Z] nexus3.edgexfoundry.org:10001 [2020-09-17T08:57:09.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T08:57:10.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T08:57:10.152Z] Configure a credential helper to remove this warning. See [2020-09-17T08:57:10.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T08:57:10.152Z] [2020-09-17T08:57:10.152Z] Login Succeeded [2020-09-17T08:57:10.152Z] nexus3.edgexfoundry.org:10002 [2020-09-17T08:57:10.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T08:57:10.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T08:57:10.708Z] Configure a credential helper to remove this warning. See [2020-09-17T08:57:10.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T08:57:10.708Z] [2020-09-17T08:57:10.708Z] Login Succeeded [2020-09-17T08:57:10.708Z] nexus3.edgexfoundry.org:10003 [2020-09-17T08:57:11.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T08:57:11.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T08:57:11.314Z] Configure a credential helper to remove this warning. See [2020-09-17T08:57:11.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T08:57:11.314Z] [2020-09-17T08:57:11.314Z] Login Succeeded [2020-09-17T08:57:11.314Z] nexus3.edgexfoundry.org:10004 [2020-09-17T08:57:11.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T08:57:11.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T08:57:11.876Z] Configure a credential helper to remove this warning. See [2020-09-17T08:57:11.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T08:57:11.876Z] [2020-09-17T08:57:11.876Z] Login Succeeded [2020-09-17T08:57:11.876Z] docker.io [2020-09-17T08:57:12.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T08:57:13.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T08:57:13.071Z] Configure a credential helper to remove this warning. See [2020-09-17T08:57:13.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T08:57:13.071Z] [2020-09-17T08:57:13.071Z] Login Succeeded [2020-09-17T08:57:13.071Z] ---> docker-login.sh ends [Pipeline] } [2020-09-17T08:57:13.089Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-09-17T08:57:13.298Z] [edgeXDocker.push] Tagging docker image docker-device-modbus-go-arm64 with the following tags: [2020-09-17T08:57:13.298Z] 986986d893843ca2c4c8974c29aa772854012406 [2020-09-17T08:57:13.298Z] latest [2020-09-17T08:57:13.298Z] 1.2.3-dev.6 [2020-09-17T08:57:13.298Z] 986986d893843ca2c4c8974c29aa772854012406-1.2.3-dev.6 [2020-09-17T08:57:13.298Z] master [2020-09-17T08:57:13.298Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:57:13.827Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:986986d893843ca2c4c8974c29aa772854012406 [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:57:14.174Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:986986d893843ca2c4c8974c29aa772854012406 [2020-09-17T08:57:14.174Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2020-09-17T08:57:14.174Z] 3459942aea12: Preparing [2020-09-17T08:57:14.174Z] 75b0aa26881e: Preparing [2020-09-17T08:57:14.174Z] bd463d40eb62: Preparing [2020-09-17T08:57:14.462Z] 75b0aa26881e: Pushed [2020-09-17T08:57:14.462Z] 3459942aea12: Pushed [2020-09-17T08:57:17.070Z] bd463d40eb62: Pushed [2020-09-17T08:57:17.070Z] 986986d893843ca2c4c8974c29aa772854012406: digest: sha256:152af8c8753da426adf43e39dc7235bcf65348e3333bd6bca80639553b95b9d2 size: 943 [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:57:17.417Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:57:17.903Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [2020-09-17T08:57:17.903Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2020-09-17T08:57:18.196Z] 3459942aea12: Preparing [2020-09-17T08:57:18.197Z] 75b0aa26881e: Preparing [2020-09-17T08:57:18.197Z] bd463d40eb62: Preparing [2020-09-17T08:57:18.197Z] 3459942aea12: Layer already exists [2020-09-17T08:57:18.197Z] bd463d40eb62: Layer already exists [2020-09-17T08:57:18.197Z] 75b0aa26881e: Layer already exists [2020-09-17T08:57:18.197Z] latest: digest: sha256:152af8c8753da426adf43e39dc7235bcf65348e3333bd6bca80639553b95b9d2 size: 943 [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:57:18.596Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.2.3-dev.6 [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:57:18.986Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.2.3-dev.6 [2020-09-17T08:57:18.986Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2020-09-17T08:57:18.986Z] 3459942aea12: Preparing [2020-09-17T08:57:18.986Z] 75b0aa26881e: Preparing [2020-09-17T08:57:18.986Z] bd463d40eb62: Preparing [2020-09-17T08:57:18.986Z] 75b0aa26881e: Layer already exists [2020-09-17T08:57:18.986Z] bd463d40eb62: Layer already exists [2020-09-17T08:57:18.986Z] 3459942aea12: Layer already exists [2020-09-17T08:57:19.283Z] 1.2.3-dev.6: digest: sha256:152af8c8753da426adf43e39dc7235bcf65348e3333bd6bca80639553b95b9d2 size: 943 [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:57:19.646Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:986986d893843ca2c4c8974c29aa772854012406-1.2.3-dev.6 [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:57:20.004Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:986986d893843ca2c4c8974c29aa772854012406-1.2.3-dev.6 [2020-09-17T08:57:20.004Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2020-09-17T08:57:20.004Z] 3459942aea12: Preparing [2020-09-17T08:57:20.004Z] 75b0aa26881e: Preparing [2020-09-17T08:57:20.004Z] bd463d40eb62: Preparing [2020-09-17T08:57:20.004Z] bd463d40eb62: Layer already exists [2020-09-17T08:57:20.004Z] 3459942aea12: Layer already exists [2020-09-17T08:57:20.004Z] 75b0aa26881e: Layer already exists [2020-09-17T08:57:20.277Z] 986986d893843ca2c4c8974c29aa772854012406-1.2.3-dev.6: digest: sha256:152af8c8753da426adf43e39dc7235bcf65348e3333bd6bca80639553b95b9d2 size: 943 [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:57:20.631Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:57:20.972Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [2020-09-17T08:57:20.972Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2020-09-17T08:57:20.972Z] 3459942aea12: Preparing [2020-09-17T08:57:20.972Z] 75b0aa26881e: Preparing [2020-09-17T08:57:20.972Z] bd463d40eb62: Preparing [2020-09-17T08:57:20.972Z] 3459942aea12: Layer already exists [2020-09-17T08:57:20.972Z] bd463d40eb62: Layer already exists [2020-09-17T08:57:20.972Z] 75b0aa26881e: Layer already exists [2020-09-17T08:57:21.243Z] master: digest: sha256:152af8c8753da426adf43e39dc7235bcf65348e3333bd6bca80639553b95b9d2 size: 943 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-09-17T08:57:21.481Z] ===================================================== [Pipeline] echo [2020-09-17T08:57:21.545Z] taggedImages: [2020-09-17T08:57:21.545Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:986986d893843ca2c4c8974c29aa772854012406 [2020-09-17T08:57:21.545Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [2020-09-17T08:57:21.545Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.2.3-dev.6 [2020-09-17T08:57:21.545Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:986986d893843ca2c4c8974c29aa772854012406-1.2.3-dev.6 [2020-09-17T08:57:21.545Z] - 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 [2020-09-17T08:57:23.715Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-09-17T08:57:23.717Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-09-17T08:57:23.775Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:57:24.123Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-17T08:57:24.123Z] [2020-09-17T08:57:24.123Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:57:24.477Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-17T08:57:24.477Z] 1.317.0: Pulling from edgex-devops/edgex-snyk-go [2020-09-17T08:57:24.477Z] cbdbe7a5bc2a: Pulling fs layer [2020-09-17T08:57:24.477Z] 408f87550127: Pulling fs layer [2020-09-17T08:57:24.477Z] fe522b08c979: Pulling fs layer [2020-09-17T08:57:24.477Z] 221eaa008020: Pulling fs layer [2020-09-17T08:57:24.477Z] 2a4607e5d6b9: Pulling fs layer [2020-09-17T08:57:24.477Z] 8f79b27c4fd2: Pulling fs layer [2020-09-17T08:57:24.477Z] e5c8dbe1645b: Pulling fs layer [2020-09-17T08:57:24.477Z] 23e8b3b47431: Pulling fs layer [2020-09-17T08:57:24.477Z] 5c568d65a230: Pulling fs layer [2020-09-17T08:57:24.477Z] 8f79b27c4fd2: Waiting [2020-09-17T08:57:24.477Z] e5c8dbe1645b: Waiting [2020-09-17T08:57:24.477Z] 221eaa008020: Waiting [2020-09-17T08:57:24.477Z] 23e8b3b47431: Waiting [2020-09-17T08:57:24.477Z] 5c568d65a230: Waiting [2020-09-17T08:57:24.477Z] 2a4607e5d6b9: Waiting [2020-09-17T08:57:24.477Z] fe522b08c979: Download complete [2020-09-17T08:57:24.477Z] 408f87550127: Download complete [2020-09-17T08:57:24.477Z] 2a4607e5d6b9: Verifying Checksum [2020-09-17T08:57:24.477Z] 2a4607e5d6b9: Download complete [2020-09-17T08:57:24.477Z] cbdbe7a5bc2a: Verifying Checksum [2020-09-17T08:57:24.477Z] cbdbe7a5bc2a: Download complete [2020-09-17T08:57:24.750Z] cbdbe7a5bc2a: Pull complete [2020-09-17T08:57:25.019Z] 408f87550127: Pull complete [2020-09-17T08:57:25.019Z] 8f79b27c4fd2: Verifying Checksum [2020-09-17T08:57:25.019Z] 8f79b27c4fd2: Download complete [2020-09-17T08:57:25.282Z] fe522b08c979: Pull complete [2020-09-17T08:57:26.684Z] e5c8dbe1645b: Verifying Checksum [2020-09-17T08:57:26.684Z] e5c8dbe1645b: Download complete [2020-09-17T08:57:28.086Z] 23e8b3b47431: Verifying Checksum [2020-09-17T08:57:28.086Z] 23e8b3b47431: Download complete [2020-09-17T08:57:28.086Z] 5c568d65a230: Verifying Checksum [2020-09-17T08:57:28.086Z] 5c568d65a230: Download complete [2020-09-17T08:57:29.488Z] 221eaa008020: Verifying Checksum [2020-09-17T08:57:29.488Z] 221eaa008020: Download complete [2020-09-17T08:57:34.806Z] 221eaa008020: Pull complete [2020-09-17T08:57:35.380Z] 2a4607e5d6b9: Pull complete [2020-09-17T08:57:35.380Z] 8f79b27c4fd2: Pull complete [2020-09-17T08:57:37.305Z] e5c8dbe1645b: Pull complete [2020-09-17T08:57:39.878Z] 23e8b3b47431: Pull complete [2020-09-17T08:57:40.831Z] 5c568d65a230: Pull complete [2020-09-17T08:57:40.831Z] Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 [2020-09-17T08:57:40.831Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-17T08:57:40.831Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer [2020-09-17T08:57:41.289Z] prd-centos7-docker-4c-2g-156 does not seem to be running inside a container [2020-09-17T08:57:41.336Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat [2020-09-17T08:57:42.359Z] $ docker top 843b07b2c4926ee2a029bd5de00beca8ee863b5646ccb545d03f4c2b05178893 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T08:57:42.889Z] + snyk monitor '--org=edgex-jenkins' [2020-09-17T08:57:55.155Z] [2020-09-17T08:57:55.155Z] Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... [2020-09-17T08:57:55.155Z] [2020-09-17T08:57:55.155Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/ef9d8e5f-2f9d-417e-bdfe-f98f6f0c1d35 [2020-09-17T08:57:55.155Z] [2020-09-17T08:57:55.155Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-09-17T08:57:55.155Z] [2020-09-17T08:57:55.155Z] [2020-09-17T08:57:55.155Z] Snyk CLI supports Node.js 8 and higher. [2020-09-17T08:57:55.155Z] Node.js 8 reached End Of Life on December 31, 2019 and the Snyk CLI will stop supporting it in the near future. [2020-09-17T08:57:55.155Z] Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. [2020-09-17T08:57:55.155Z] [2020-09-17T08:57:55.155Z] The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. [2020-09-17T08:57:55.155Z] The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. [Pipeline] } [2020-09-17T08:57:55.170Z] $ docker stop --time=1 843b07b2c4926ee2a029bd5de00beca8ee863b5646ccb545d03f4c2b05178893 [2020-09-17T08:57:57.534Z] $ docker rm -f 843b07b2c4926ee2a029bd5de00beca8ee863b5646ccb545d03f4c2b05178893 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:57:58.709Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-17T08:57:58.709Z] [2020-09-17T08:57:58.709Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:57:59.065Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-17T08:57:59.065Z] latest: Pulling from edgex-devops/edgex-klar [2020-09-17T08:57:59.065Z] e7c96db7181b: Pulling fs layer [2020-09-17T08:57:59.065Z] 1868ca2cb446: Pulling fs layer [2020-09-17T08:57:59.065Z] 136be5d0fe8e: Pulling fs layer [2020-09-17T08:57:59.065Z] 894bfe63afcb: Pulling fs layer [2020-09-17T08:57:59.065Z] 894bfe63afcb: Waiting [2020-09-17T08:57:59.065Z] 1868ca2cb446: Verifying Checksum [2020-09-17T08:57:59.065Z] 136be5d0fe8e: Download complete [2020-09-17T08:57:59.065Z] e7c96db7181b: Verifying Checksum [2020-09-17T08:57:59.065Z] e7c96db7181b: Download complete [2020-09-17T08:57:59.332Z] 894bfe63afcb: Verifying Checksum [2020-09-17T08:57:59.332Z] 894bfe63afcb: Download complete [2020-09-17T08:57:59.332Z] e7c96db7181b: Pull complete [2020-09-17T08:57:59.604Z] 1868ca2cb446: Pull complete [2020-09-17T08:57:59.604Z] 136be5d0fe8e: Pull complete [2020-09-17T08:57:59.868Z] 894bfe63afcb: Pull complete [2020-09-17T08:57:59.868Z] Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 [2020-09-17T08:57:59.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-17T08:57:59.868Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer [2020-09-17T08:57:59.973Z] prd-centos7-docker-4c-2g-156 does not seem to be running inside a container [2020-09-17T08:58:00.022Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-09-17T08:58:01.056Z] $ docker top 16dddbe186fa9e7b9b8e58f95b6b5058eb7b63283b6fa1154b4db4ecfa2be66a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-17T08:58:01.598Z] + tee [2020-09-17T08:58:01.598Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go:986986d893843ca2c4c8974c29aa772854012406 [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-09-17T08:58:04.595Z] $ docker stop --time=1 16dddbe186fa9e7b9b8e58f95b6b5058eb7b63283b6fa1154b4db4ecfa2be66a [2020-09-17T08:58:05.986Z] $ docker rm -f 16dddbe186fa9e7b9b8e58f95b6b5058eb7b63283b6fa1154b4db4ecfa2be66a [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:58:06.485Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-17T08:58:06.485Z] . [Pipeline] withDockerContainer [2020-09-17T08:58:06.582Z] prd-centos7-docker-4c-2g-156 does not seem to be running inside a container [2020-09-17T08:58:06.630Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-09-17T08:58:07.314Z] $ docker top 1df630ca97a3890f38def434589946531cb23ca5a9d5bfbde97e6f462766055f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-17T08:58:07.898Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go:986986d893843ca2c4c8974c29aa772854012406 [2020-09-17T08:58:07.898Z] + tee [2020-09-17T08:58:07.898Z] clair timeout 1m0s [2020-09-17T08:58:07.898Z] docker timeout: 1m0s [2020-09-17T08:58:07.898Z] no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-09-17T08:58:08.576Z] $ docker stop --time=1 1df630ca97a3890f38def434589946531cb23ca5a9d5bfbde97e6f462766055f [2020-09-17T08:58:09.918Z] $ docker rm -f 1df630ca97a3890f38def434589946531cb23ca5a9d5bfbde97e6f462766055f [Pipeline] // withDockerContainer [Pipeline] sh [2020-09-17T08:58:10.460Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/clair-reports [Pipeline] echo [2020-09-17T08:58:10.476Z] Generated HTML Table Report. Writing to /w/workspace/xfoundry_device-modbus-go_master/clair-reports/clair_results_docker-device-modbus-go_986986d893843ca2c4c8974c29aa772854012406.html [Pipeline] writeFile [Pipeline] step [2020-09-17T08:58:10.552Z] Archiving artifacts [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:58:10.921Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-17T08:58:10.921Z] . [Pipeline] withDockerContainer [2020-09-17T08:58:11.018Z] prd-centos7-docker-4c-2g-156 does not seem to be running inside a container [2020-09-17T08:58:11.063Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-09-17T08:58:11.746Z] $ docker top 3e86b032da3007491db1fc160bf71195d47da962c4d32680950c0c134d0ff3ac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-17T08:58:12.501Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:986986d893843ca2c4c8974c29aa772854012406 [2020-09-17T08:58:12.501Z] + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-09-17T08:58:15.274Z] $ docker stop --time=1 3e86b032da3007491db1fc160bf71195d47da962c4d32680950c0c134d0ff3ac [2020-09-17T08:58:16.644Z] $ docker rm -f 3e86b032da3007491db1fc160bf71195d47da962c4d32680950c0c134d0ff3ac [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:58:17.148Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-17T08:58:17.148Z] . [Pipeline] withDockerContainer [2020-09-17T08:58:17.264Z] prd-centos7-docker-4c-2g-156 does not seem to be running inside a container [2020-09-17T08:58:17.313Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-09-17T08:58:17.892Z] $ docker top 7408d96f23457501ef86da870b0f2139bf0d7e3e61ef9cdb9f8a5dda099ec9da -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-17T08:58:18.453Z] + tee [2020-09-17T08:58:18.453Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:986986d893843ca2c4c8974c29aa772854012406 [2020-09-17T08:58:18.453Z] clair timeout 1m0s [2020-09-17T08:58:18.453Z] docker timeout: 1m0s [2020-09-17T08:58:18.453Z] no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-09-17T08:58:19.139Z] $ docker stop --time=1 7408d96f23457501ef86da870b0f2139bf0d7e3e61ef9cdb9f8a5dda099ec9da [2020-09-17T08:58:20.491Z] $ docker rm -f 7408d96f23457501ef86da870b0f2139bf0d7e3e61ef9cdb9f8a5dda099ec9da [Pipeline] // withDockerContainer [Pipeline] sh [2020-09-17T08:58:20.996Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/clair-reports [Pipeline] echo [2020-09-17T08:58:21.009Z] Generated HTML Table Report. Writing to /w/workspace/xfoundry_device-modbus-go_master/clair-reports/clair_results_docker-device-modbus-go-arm64_986986d893843ca2c4c8974c29aa772854012406.html [Pipeline] writeFile [Pipeline] step [2020-09-17T08:58:21.111Z] 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 [2020-09-17T08:58:22.164Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T08:58:22.165Z] . [Pipeline] withDockerContainer [2020-09-17T08:58:22.293Z] prd-centos7-docker-4c-2g-156 does not seem to be running inside a container [2020-09-17T08:58:22.345Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-17T08:58:23.060Z] $ docker top 5b2737fb4b9a7d4a81849002452e0a1a74c61d533c662692454a9a63a912124b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-17T08:58:23.438Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T08:58:23.438Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T08:58:23.679Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T08:58:23.683Z] $ docker exec 5b2737fb4b9a7d4a81849002452e0a1a74c61d533c662692454a9a63a912124b ssh-agent [2020-09-17T08:58:23.866Z] SSH_AUTH_SOCK=/tmp/ssh-T63EYnjCexPh/agent.11 [2020-09-17T08:58:23.866Z] SSH_AGENT_PID=16 [2020-09-17T08:58:23.874Z] Running ssh-add (command line suppressed) [2020-09-17T08:58:24.009Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3937099715569670652.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3937099715569670652.key) [2020-09-17T08:58:24.064Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T08:58:24.402Z] + git semver tag [2020-09-17T08:58:24.402Z] # -> Open(): unable to determine branch for HEAD [2020-09-17T08:58:24.402Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2020-09-17T08:58:24.402Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2020-09-17T08:58:24.402Z] # $SEMVER_REMOTE_NAME = origin [2020-09-17T08:58:24.402Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-17T08:58:24.402Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-17T08:58:24.402Z] # $SEMVER_BRANCH = master [2020-09-17T08:58:24.402Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2020-09-17T08:58:24.403Z] # 986986d893843ca2c4c8974c29aa772854012406 HEAD [2020-09-17T08:58:24.403Z] # -> Force: false [2020-09-17T08:58:24.403Z] # 67e4b7554fe4bdf6e93e3caa2bb09254f8bc3ee3 refs/tags/v1.2.3-dev.6 [Pipeline] } [2020-09-17T08:58:24.416Z] $ docker exec --env ******** --env ******** 5b2737fb4b9a7d4a81849002452e0a1a74c61d533c662692454a9a63a912124b ssh-agent -k [2020-09-17T08:58:24.598Z] unset SSH_AUTH_SOCK; [2020-09-17T08:58:24.598Z] unset SSH_AGENT_PID; [2020-09-17T08:58:24.598Z] echo Agent pid 16 killed; [2020-09-17T08:58:24.662Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-17T08:58:25.138Z] + git semver [Pipeline] } [2020-09-17T08:58:25.156Z] $ docker stop --time=1 5b2737fb4b9a7d4a81849002452e0a1a74c61d533c662692454a9a63a912124b [2020-09-17T08:58:26.575Z] $ docker rm -f 5b2737fb4b9a7d4a81849002452e0a1a74c61d533c662692454a9a63a912124b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:58:27.237Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-17T08:58:27.238Z] [2020-09-17T08:58:27.238Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:58:27.599Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-17T08:58:27.599Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-09-17T08:58:27.599Z] ab5ef0e58194: Pulling fs layer [2020-09-17T08:58:27.599Z] 9712f1f96733: Pulling fs layer [2020-09-17T08:58:27.599Z] 63f879dbbcfc: Pulling fs layer [2020-09-17T08:58:27.599Z] 0d9ebad4ef96: Pulling fs layer [2020-09-17T08:58:27.599Z] e9a5061849ea: Pulling fs layer [2020-09-17T08:58:27.599Z] d747dcd14b5f: Pulling fs layer [2020-09-17T08:58:27.599Z] 2de7ff778b66: Pulling fs layer [2020-09-17T08:58:27.599Z] 0d9ebad4ef96: Waiting [2020-09-17T08:58:27.599Z] e9a5061849ea: Waiting [2020-09-17T08:58:27.599Z] d747dcd14b5f: Waiting [2020-09-17T08:58:27.599Z] 2de7ff778b66: Waiting [2020-09-17T08:58:27.599Z] 9712f1f96733: Verifying Checksum [2020-09-17T08:58:27.599Z] 9712f1f96733: Download complete [2020-09-17T08:58:32.930Z] 63f879dbbcfc: Verifying Checksum [2020-09-17T08:58:32.930Z] 63f879dbbcfc: Download complete [2020-09-17T08:58:32.930Z] e9a5061849ea: Verifying Checksum [2020-09-17T08:58:32.930Z] e9a5061849ea: Download complete [2020-09-17T08:58:32.930Z] d747dcd14b5f: Verifying Checksum [2020-09-17T08:58:32.930Z] d747dcd14b5f: Download complete [2020-09-17T08:58:32.930Z] 0d9ebad4ef96: Verifying Checksum [2020-09-17T08:58:32.930Z] 0d9ebad4ef96: Download complete [2020-09-17T08:58:33.195Z] 2de7ff778b66: Verifying Checksum [2020-09-17T08:58:33.195Z] 2de7ff778b66: Download complete [2020-09-17T08:58:33.195Z] ab5ef0e58194: Verifying Checksum [2020-09-17T08:58:33.195Z] ab5ef0e58194: Download complete [2020-09-17T08:58:37.465Z] ab5ef0e58194: Pull complete [2020-09-17T08:58:37.465Z] 9712f1f96733: Pull complete [2020-09-17T08:58:40.801Z] 63f879dbbcfc: Pull complete [2020-09-17T08:58:47.479Z] 0d9ebad4ef96: Pull complete [2020-09-17T08:58:48.426Z] e9a5061849ea: Pull complete [2020-09-17T08:58:48.690Z] d747dcd14b5f: Pull complete [2020-09-17T08:58:52.013Z] 2de7ff778b66: Pull complete [2020-09-17T08:58:52.013Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-09-17T08:58:52.013Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-17T08:58:52.013Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-09-17T08:58:52.194Z] prd-centos7-docker-4c-2g-156 does not seem to be running inside a container [2020-09-17T08:58:52.242Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-09-17T08:58:55.983Z] $ docker top 68ee623384d34a996cc89751393888d8e35316b7eb49cd6c67b2b6450a707316 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-09-17T08:58:56.261Z] provisioning config files... [2020-09-17T08:58:56.276Z] copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config944444084343985752tmp [2020-09-17T08:58:56.296Z] copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config5454565624886632507tmp [2020-09-17T08:58:56.312Z] copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7569539471785372087tmp [Pipeline] { [Pipeline] echo [2020-09-17T08:58:56.380Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T08:58:56.680Z] ---> sigul-configuration.sh [2020-09-17T08:58:56.680Z] gpg: directory `/root/.gnupg' created [2020-09-17T08:58:56.680Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-09-17T08:58:56.680Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-09-17T08:58:56.680Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-09-17T08:58:56.680Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-09-17T08:58:56.680Z] gpg: CAST5 encrypted data [2020-09-17T08:58:56.944Z] gpg: encrypted with 1 passphrase [2020-09-17T08:58:56.944Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-09-17T08:58:57.241Z] + mkdir /home/jenkins [2020-09-17T08:58:57.241Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-09-17T08:58:57.548Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2020-09-17T08:58:57.558Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T08:58:57.856Z] ---> sigul-install.sh [2020-09-17T08:59:06.013Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-09-17T08:59:06.327Z] + git tag --list [2020-09-17T08:59:06.327Z] v1.2.3-dev.6 [Pipeline] sh [2020-09-17T08:59:06.799Z] + lftools sign git-tag v1.2.3-dev.6 [2020-09-17T08:59:07.877Z] Signing Git tag with Sigul... [2020-09-17T08:59:07.877Z] Signing v1.2.3-dev.6 [Pipeline] echo [2020-09-17T08:59:08.860Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T08:59:09.169Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-09-17T08:59:09.179Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-09-17T08:59:09.289Z] $ docker stop --time=1 68ee623384d34a996cc89751393888d8e35316b7eb49cd6c67b2b6450a707316 [2020-09-17T08:59:11.335Z] $ docker rm -f 68ee623384d34a996cc89751393888d8e35316b7eb49cd6c67b2b6450a707316 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:59:12.175Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T08:59:12.175Z] . [Pipeline] withDockerContainer [2020-09-17T08:59:12.281Z] prd-centos7-docker-4c-2g-156 does not seem to be running inside a container [2020-09-17T08:59:12.332Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-17T08:59:13.040Z] $ docker top 1f01d39e9e7592b24ec3e68973da9b6231020989a2f59da264e52ffacfc31802 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-17T08:59:13.374Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T08:59:13.374Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T08:59:13.570Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T08:59:13.574Z] $ docker exec 1f01d39e9e7592b24ec3e68973da9b6231020989a2f59da264e52ffacfc31802 ssh-agent [2020-09-17T08:59:13.746Z] SSH_AUTH_SOCK=/tmp/ssh-xpphR3FVjyHN/agent.12 [2020-09-17T08:59:13.746Z] SSH_AGENT_PID=18 [2020-09-17T08:59:13.753Z] Running ssh-add (command line suppressed) [2020-09-17T08:59:13.879Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_2417785028000183346.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_2417785028000183346.key) [2020-09-17T08:59:13.934Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T08:59:14.294Z] + git semver bump pre [2020-09-17T08:59:14.294Z] # -> Open(): unable to determine branch for HEAD [2020-09-17T08:59:14.294Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2020-09-17T08:59:14.294Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2020-09-17T08:59:14.294Z] # $SEMVER_REMOTE_NAME = origin [2020-09-17T08:59:14.294Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-17T08:59:14.294Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-17T08:59:14.294Z] # $SEMVER_BRANCH = master [2020-09-17T08:59:14.294Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2020-09-17T08:59:14.294Z] 1.2.3-dev.7 [Pipeline] } [2020-09-17T08:59:14.309Z] $ docker exec --env ******** --env ******** 1f01d39e9e7592b24ec3e68973da9b6231020989a2f59da264e52ffacfc31802 ssh-agent -k [2020-09-17T08:59:14.436Z] unset SSH_AUTH_SOCK; [2020-09-17T08:59:14.436Z] unset SSH_AGENT_PID; [2020-09-17T08:59:14.436Z] echo Agent pid 18 killed; [2020-09-17T08:59:14.484Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-17T08:59:14.939Z] + git semver [Pipeline] } [2020-09-17T08:59:14.961Z] $ docker stop --time=1 1f01d39e9e7592b24ec3e68973da9b6231020989a2f59da264e52ffacfc31802 [2020-09-17T08:59:16.362Z] $ docker rm -f 1f01d39e9e7592b24ec3e68973da9b6231020989a2f59da264e52ffacfc31802 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:59:16.892Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T08:59:16.892Z] . [Pipeline] withDockerContainer [2020-09-17T08:59:16.992Z] prd-centos7-docker-4c-2g-156 does not seem to be running inside a container [2020-09-17T08:59:17.040Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-17T08:59:17.688Z] $ docker top 8c6934f3a0e547978ab3c3bebf7d63892f59161464f1f54e2f38e8c2a3fb9747 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-17T08:59:17.997Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T08:59:17.998Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T08:59:18.195Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T08:59:18.198Z] $ docker exec 8c6934f3a0e547978ab3c3bebf7d63892f59161464f1f54e2f38e8c2a3fb9747 ssh-agent [2020-09-17T08:59:18.371Z] SSH_AUTH_SOCK=/tmp/ssh-P1SWtm7RcSX0/agent.11 [2020-09-17T08:59:18.371Z] SSH_AGENT_PID=16 [2020-09-17T08:59:18.378Z] Running ssh-add (command line suppressed) [2020-09-17T08:59:18.502Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_8423483440494669826.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_8423483440494669826.key) [2020-09-17T08:59:18.560Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T08:59:18.894Z] + git semver push [2020-09-17T08:59:18.894Z] # -> Open(): unable to determine branch for HEAD [2020-09-17T08:59:18.894Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2020-09-17T08:59:18.894Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2020-09-17T08:59:18.894Z] # $SEMVER_REMOTE_NAME = origin [2020-09-17T08:59:18.894Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-17T08:59:18.894Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-17T08:59:18.894Z] # $SEMVER_BRANCH = master [2020-09-17T08:59:18.894Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2020-09-17T08:59:25.501Z] $ docker exec --env ******** --env ******** 8c6934f3a0e547978ab3c3bebf7d63892f59161464f1f54e2f38e8c2a3fb9747 ssh-agent -k [2020-09-17T08:59:25.636Z] unset SSH_AUTH_SOCK; [2020-09-17T08:59:25.636Z] unset SSH_AGENT_PID; [2020-09-17T08:59:25.636Z] echo Agent pid 16 killed; [2020-09-17T08:59:25.695Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-17T08:59:26.205Z] + git semver [Pipeline] } [2020-09-17T08:59:26.224Z] $ docker stop --time=1 8c6934f3a0e547978ab3c3bebf7d63892f59161464f1f54e2f38e8c2a3fb9747 [2020-09-17T08:59:27.598Z] $ docker rm -f 8c6934f3a0e547978ab3c3bebf7d63892f59161464f1f54e2f38e8c2a3fb9747 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-09-17T08:59:29.729Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T08:59:30.298Z] ---> package-listing.sh [2020-09-17T08:59:30.299Z] ++ facter osfamily [2020-09-17T08:59:30.299Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-17T08:59:30.299Z] + OS_FAMILY=redhat [2020-09-17T08:59:30.299Z] + workspace=/w/workspace/xfoundry_device-modbus-go_master [2020-09-17T08:59:30.299Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-17T08:59:30.299Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-17T08:59:30.299Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-17T08:59:30.299Z] + PACKAGES=/tmp/packages_start.txt [2020-09-17T08:59:30.299Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2020-09-17T08:59:30.299Z] + PACKAGES=/tmp/packages_end.txt [2020-09-17T08:59:30.299Z] + case "${OS_FAMILY}" in [2020-09-17T08:59:30.299Z] + rpm -qa [2020-09-17T08:59:30.299Z] + sort [2020-09-17T08:59:34.528Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-17T08:59:34.528Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-17T08:59:34.528Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-17T08:59:34.528Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2020-09-17T08:59:34.528Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ [2020-09-17T08:59:34.528Z] + 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 [2020-09-17T08:59:35.025Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T08:59:35.025Z] [2020-09-17T08:59:35.025Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:59:35.376Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T08:59:35.377Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-17T08:59:35.377Z] df20fa9351a1: Pulling fs layer [2020-09-17T08:59:35.377Z] 36b3adc4ff6f: Pulling fs layer [2020-09-17T08:59:35.377Z] 8ad3a11d3b57: Pulling fs layer [2020-09-17T08:59:35.377Z] 46f8f816bc3b: Pulling fs layer [2020-09-17T08:59:35.377Z] 0dadc02b9964: Pulling fs layer [2020-09-17T08:59:35.377Z] ce6a7cf60c04: Pulling fs layer [2020-09-17T08:59:35.377Z] 7a184a31f384: Pulling fs layer [2020-09-17T08:59:35.377Z] 0879bd2ef858: Pulling fs layer [2020-09-17T08:59:35.377Z] 0dadc02b9964: Waiting [2020-09-17T08:59:35.377Z] ce6a7cf60c04: Waiting [2020-09-17T08:59:35.377Z] 7a184a31f384: Waiting [2020-09-17T08:59:35.377Z] 0879bd2ef858: Waiting [2020-09-17T08:59:35.377Z] 46f8f816bc3b: Waiting [2020-09-17T08:59:35.377Z] 36b3adc4ff6f: Verifying Checksum [2020-09-17T08:59:35.377Z] 36b3adc4ff6f: Download complete [2020-09-17T08:59:35.377Z] 46f8f816bc3b: Download complete [2020-09-17T08:59:35.377Z] df20fa9351a1: Verifying Checksum [2020-09-17T08:59:35.377Z] df20fa9351a1: Download complete [2020-09-17T08:59:35.377Z] ce6a7cf60c04: Verifying Checksum [2020-09-17T08:59:35.377Z] ce6a7cf60c04: Download complete [2020-09-17T08:59:35.643Z] 7a184a31f384: Verifying Checksum [2020-09-17T08:59:35.643Z] 7a184a31f384: Download complete [2020-09-17T08:59:35.909Z] df20fa9351a1: Pull complete [2020-09-17T08:59:35.909Z] 8ad3a11d3b57: Verifying Checksum [2020-09-17T08:59:35.909Z] 8ad3a11d3b57: Download complete [2020-09-17T08:59:35.909Z] 0dadc02b9964: Verifying Checksum [2020-09-17T08:59:35.909Z] 0dadc02b9964: Download complete [2020-09-17T08:59:36.171Z] 36b3adc4ff6f: Pull complete [2020-09-17T08:59:36.171Z] 0879bd2ef858: Verifying Checksum [2020-09-17T08:59:36.171Z] 0879bd2ef858: Download complete [2020-09-17T08:59:37.131Z] 8ad3a11d3b57: Pull complete [2020-09-17T08:59:37.131Z] 46f8f816bc3b: Pull complete [2020-09-17T08:59:37.397Z] 0dadc02b9964: Pull complete [2020-09-17T08:59:37.397Z] ce6a7cf60c04: Pull complete [2020-09-17T08:59:37.659Z] 7a184a31f384: Pull complete [2020-09-17T08:59:40.328Z] 0879bd2ef858: Pull complete [2020-09-17T08:59:40.328Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-17T08:59:40.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T08:59:40.328Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-17T08:59:40.466Z] prd-centos7-docker-4c-2g-156 does not seem to be running inside a container [2020-09-17T08:59:40.537Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -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-lftools-log-publisher:alpine cat [2020-09-17T08:59:43.459Z] $ docker top 58311de0daec377af4a8016e089ac42befb7c3b2824f22ef976a60a0bf01ebcf -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T08:59:43.961Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-17T08:59:44.265Z] + ls /var/log/sa-host [2020-09-17T08:59:44.265Z] + sadf -c /var/log/sa-host/sa05 [2020-09-17T08:59:44.265Z] file_magic: OK [2020-09-17T08:59:44.265Z] HZ: Using current value: 100 [2020-09-17T08:59:44.265Z] file_header: OK [2020-09-17T08:59:44.265Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-09-17T08:59:44.265Z] Statistics: [2020-09-17T08:59:44.265Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-17T08:59:44.265Z] File successfully converted to sysstat format version 12.2.1 [2020-09-17T08:59:44.265Z] + sadf -c /var/log/sa-host/sa17 [2020-09-17T08:59:44.265Z] file_magic: OK [2020-09-17T08:59:44.265Z] HZ: Using current value: 100 [2020-09-17T08:59:44.265Z] file_header: OK [2020-09-17T08:59:44.265Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-09-17T08:59:44.265Z] Statistics: [2020-09-17T08:59:44.265Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-17T08:59:44.265Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-17T08:59:44.326Z] provisioning config files... [2020-09-17T08:59:44.339Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config3734982189955990053tmp [Pipeline] { [Pipeline] echo [2020-09-17T08:59:44.415Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T08:59:44.713Z] ---> create-netrc.sh [Pipeline] echo [2020-09-17T08:59:44.727Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T08:59:45.027Z] ---> logs-deploy.sh [2020-09-17T08:59:45.027Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/24 [2020-09-17T08:59:45.027Z] INFO: archiving workspace using pattern(s): [2020-09-17T08:59:46.418Z] Archives upload complete. [2020-09-17T08:59:46.418Z] INFO: archiving logs to Nexus