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 08:52:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:52:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:52:00 ========================================================= 08:52:00 EdgeX Global Pipelines Version Info 08:52:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:52:02 ------------------- 08:52:02 stable info: 08:52:02 ------------------- 08:52:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:52:02 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 08:52:02 Message: update stable to v1.0.122 08:52:03 ------------------- 08:52:03 experimental info: 08:52:03 ------------------- 08:52:03 Commited By: **** collab-it+edgex@linuxfoundation.org 08:52:03 Commit SHA: 84d9a0843d1df7ebf9e0c4533e50f756df06f1d7 08:52:03 Message: update experimental to v1.0.124 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 08:52:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 08:52:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 08:52:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:52:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:52:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:52:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:52:04 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:52:04 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:52:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:52:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:52:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:52:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo 08:52:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:52:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:52:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:52:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:52:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:52:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:52:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:52:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 08:52:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:52:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:52:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 08:52:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 08:52:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 08:52:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 986986d893843ca2c4c8974c29aa772854012406 [Pipeline] echo 08:52:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 986986d [Pipeline] echo 08:52:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:52:07 + git log --format=format:%s -1 986986d893843ca2c4c8974c29aa772854012406 [Pipeline] echo 08:52:07 GIT_COMMIT: 986986d893843ca2c4c8974c29aa772854012406, Commit Message: Merge pull request #174 from hahattan/issue-173 [Pipeline] echo 08:52:07 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:52:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:52:08 08:52:08 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:52:08 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:52:08 latest: Pulling from edgex-devops/git-semver 08:52:08 31603596830f: Pulling fs layer 08:52:08 2a8b12db71e7: Pulling fs layer 08:52:08 6ca5941a6612: Pulling fs layer 08:52:08 ecc8261a40a4: Pulling fs layer 08:52:08 ecc8261a40a4: Waiting 08:52:08 2a8b12db71e7: Verifying Checksum 08:52:08 2a8b12db71e7: Download complete 08:52:09 31603596830f: Verifying Checksum 08:52:09 31603596830f: Download complete 08:52:09 6ca5941a6612: Verifying Checksum 08:52:09 6ca5941a6612: Download complete 08:52:09 ecc8261a40a4: Verifying Checksum 08:52:09 ecc8261a40a4: Download complete 08:52:09 31603596830f: Pull complete 08:52:09 2a8b12db71e7: Pull complete 08:52:10 6ca5941a6612: Pull complete 08:52:10 ecc8261a40a4: Pull complete 08:52:10 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:52:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:52:10 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:52:10 prd-centos7-docker-4c-2g-156 does not seem to be running inside a container 08:52:10 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:52:12 $ docker top a1d0c4d0fa6aa3acf6fe91cffea98e06488eccbcad4afc82e1a6a43b0d90c822 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:52:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:52:12 [ssh-agent] Looking for ssh-agent implementation... 08:52:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:52:13 $ docker exec a1d0c4d0fa6aa3acf6fe91cffea98e06488eccbcad4afc82e1a6a43b0d90c822 ssh-agent 08:52:13 SSH_AUTH_SOCK=/tmp/ssh-LcsuIovT4F8e/agent.11 08:52:13 SSH_AGENT_PID=16 08:52:13 Running ssh-add (command line suppressed) 08:52:13 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) 08:52:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:52:13 + git describe --exact-match --tags HEAD 08:52:13 fatal: No names found, cannot describe anything. [Pipeline] } 08:52:13 $ docker exec --env ******** --env ******** a1d0c4d0fa6aa3acf6fe91cffea98e06488eccbcad4afc82e1a6a43b0d90c822 ssh-agent -k 08:52:14 unset SSH_AUTH_SOCK; 08:52:14 unset SSH_AGENT_PID; 08:52:14 echo Agent pid 16 killed; 08:52:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 08:52:14 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 08:52:14 This usually means this commit has not been tagged. [Pipeline] sshagent 08:52:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:52:14 [ssh-agent] Looking for ssh-agent implementation... 08:52:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:52:14 $ docker exec a1d0c4d0fa6aa3acf6fe91cffea98e06488eccbcad4afc82e1a6a43b0d90c822 ssh-agent 08:52:14 SSH_AUTH_SOCK=/tmp/ssh-0igM1rrP8iqk/agent.47 08:52:14 SSH_AGENT_PID=52 08:52:14 Running ssh-add (command line suppressed) 08:52:14 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) 08:52:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:52:15 + git semver init 08:52:15 # -> Open(): unable to determine branch for HEAD 08:52:15 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 08:52:15 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 08:52:15 # $SEMVER_REMOTE_NAME = origin 08:52:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:52:15 # $SEMVER_USER_NAME = edgex-jenkins 08:52:15 # $SEMVER_BRANCH = master 08:52:15 # $SEMVER_TEMP = /tmp/semver-404758933 08:52:15 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 08:52:15 # '/tmp/semver-404758933' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' 08:52:15 # -> Force: false 08:52:15 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 08:52:15 $ docker exec --env ******** --env ******** a1d0c4d0fa6aa3acf6fe91cffea98e06488eccbcad4afc82e1a6a43b0d90c822 ssh-agent -k 08:52:15 unset SSH_AUTH_SOCK; 08:52:15 unset SSH_AGENT_PID; 08:52:15 echo Agent pid 52 killed; 08:52:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:52:16 + git semver [Pipeline] } 08:52:16 $ docker stop --time=1 a1d0c4d0fa6aa3acf6fe91cffea98e06488eccbcad4afc82e1a6a43b0d90c822 08:52:17 $ docker rm -f a1d0c4d0fa6aa3acf6fe91cffea98e06488eccbcad4afc82e1a6a43b0d90c822 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 08:52:18 Stashed 25 file(s) [Pipeline] echo 08:52:18 [edgeXSemver]: initialized semver on version 1.2.3-dev.6 [Pipeline] echo 08:52:18 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 08:52:34 Still waiting to schedule task 08:52:34 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:52:34 Still waiting to schedule task 08:52:34 ‘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 08:54:01 Running on prd-centos7-docker-4c-2g-163 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 08:54:01 Running in /w/workspace/device-modbus-go/24 [Pipeline] { [Pipeline] checkout 08:54:05 using credential edgex-jenkins-ssh 08:54:05 Cloning the remote Git repository 08:54:05 Cloning with configured refspecs honoured and without tags 08:54:05 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 08:54:05 > git init /w/workspace/device-modbus-go/24 # timeout=10 08:54:05 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:54:05 > git --version # timeout=10 08:54:05 > git --version # 'git version 2.16.5' 08:54:05 using GIT_SSH to set credentials SSH Credentials for GitHub 08:54:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 08:54:06 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:54:06 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:54:06 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:54:06 Fetching without tags 08:54:07 Checking out Revision 986986d893843ca2c4c8974c29aa772854012406 (master) 08:54:06 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:54:06 using GIT_SSH to set credentials SSH Credentials for GitHub 08:54:06 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 08:54:07 > git config core.sparsecheckout # timeout=10 08:54:07 > git checkout -f 986986d893843ca2c4c8974c29aa772854012406 # timeout=10 08:54:10 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 08:54:11 ========================================================= 08:54:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:54:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:54:12 + 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 . 08:54:12 Sending build context to Docker daemon 668.2kB 08:54:12 Step 1/8 : ARG BASE=golang:1.15-alpine 08:54:12 Step 2/8 : FROM ${BASE} 08:54:12 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:54:12 df20fa9351a1: Pulling fs layer 08:54:12 ed8968b2872e: Pulling fs layer 08:54:12 a92cc7c5fd73: Pulling fs layer 08:54:12 e871e8e8d7a9: Pulling fs layer 08:54:12 e73272ec9a57: Pulling fs layer 08:54:12 1e910a182e73: Pulling fs layer 08:54:12 4e634b169226: Pulling fs layer 08:54:12 e73272ec9a57: Waiting 08:54:12 4e634b169226: Waiting 08:54:12 1e910a182e73: Waiting 08:54:12 a92cc7c5fd73: Verifying Checksum 08:54:12 a92cc7c5fd73: Download complete 08:54:12 ed8968b2872e: Download complete 08:54:12 e73272ec9a57: Verifying Checksum 08:54:12 e73272ec9a57: Download complete 08:54:12 1e910a182e73: Verifying Checksum 08:54:12 1e910a182e73: Download complete 08:54:12 df20fa9351a1: Verifying Checksum 08:54:12 df20fa9351a1: Download complete 08:54:13 df20fa9351a1: Pull complete 08:54:13 ed8968b2872e: Pull complete 08:54:13 a92cc7c5fd73: Pull complete 08:54:15 4e634b169226: Verifying Checksum 08:54:15 4e634b169226: Download complete 08:54:15 e871e8e8d7a9: Verifying Checksum 08:54:15 e871e8e8d7a9: Download complete 08:54:22 e871e8e8d7a9: Pull complete 08:54:22 e73272ec9a57: Pull complete 08:54:22 1e910a182e73: Pull complete 08:54:27 4e634b169226: Pull complete 08:54:27 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 08:54:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:54:27 ---> f7629b54cfaa 08:54:27 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 08:54:27 ---> Running in 1fcd04c366f9 08:54:27 Removing intermediate container 1fcd04c366f9 08:54:27 ---> 29326a466fb6 08:54:27 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:54:27 ---> Running in 3582d51cd737 08:54:29 Removing intermediate container 3582d51cd737 08:54:29 ---> faaff9d029da 08:54:29 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 08:54:29 ---> Running in 0d19af87ca1b 08:54:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:54:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:54:32 (1/14) Installing libmagic (5.38-r0) 08:54:32 (2/14) Installing file (5.38-r0) 08:54:32 (3/14) Installing libc-dev (0.7.2-r3) 08:54:32 (4/14) Installing g++ (9.3.0-r2) 08:54:56 Running on prd-ubuntu18.04-docker-arm64-4c-16g-165 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 08:54:56 Running in /w/workspace/device-modbus-go/24 [Pipeline] { [Pipeline] checkout 08:54:59 (5/14) Installing fortify-headers (1.1-r0) 08:54:59 (6/14) Installing patch (2.7.6-r6) 08:54:59 (7/14) Installing build-base (0.5-r2) 08:54:59 (8/14) Installing openssh-keygen (8.3_p1-r0) 08:54:59 (9/14) Installing libedit (20191231.3.1-r0) 08:54:59 (10/14) Installing openssh-client (8.3_p1-r0) 08:54:59 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 08:54:59 (12/14) Installing openssh-server-common (8.3_p1-r0) 08:54:59 (13/14) Installing openssh-server (8.3_p1-r0) 08:54:59 (14/14) Installing openssh (8.3_p1-r0) 08:54:59 Executing busybox-1.31.1-r16.trigger 08:54:59 OK: 237 MiB in 53 packages 08:55:02 Removing intermediate container 0d19af87ca1b 08:55:02 ---> fd07e4e07dc6 08:55:02 Step 6/8 : WORKDIR /device-modbus-go 08:55:02 ---> Running in 8f54eaa968f8 08:55:02 Removing intermediate container 8f54eaa968f8 08:55:02 ---> ae46a1e6b334 08:55:02 Step 7/8 : COPY . . 08:55:03 using credential edgex-jenkins-ssh 08:55:03 Cloning the remote Git repository 08:55:03 Cloning with configured refspecs honoured and without tags 08:55:03 ---> 92b1c7024df1 08:55:03 Step 8/8 : RUN go mod download 08:55:03 ---> Running in c2aa3ef8447b 08:55:03 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 08:55:03 > git init /w/workspace/device-modbus-go/24 # timeout=10 08:55:03 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:55:03 > git --version # timeout=10 08:55:03 > git --version # 'git version 2.17.1' 08:55:03 using GIT_SSH to set credentials SSH Credentials for GitHub 08:55:03 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 08:55:04 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:55:04 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:55:04 Fetching without tags 08:55:04 Checking out Revision 986986d893843ca2c4c8974c29aa772854012406 (master) 08:55:04 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:55:04 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:55:04 using GIT_SSH to set credentials SSH Credentials for GitHub 08:55:04 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 08:55:04 > git config core.sparsecheckout # timeout=10 08:55:04 > git checkout -f 986986d893843ca2c4c8974c29aa772854012406 # timeout=10 08:55:09 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 08:55:10 ========================================================= 08:55:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:55:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:55:11 + 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 . 08:55:12 Sending build context to Docker daemon 668.2kB 08:55:12 Step 1/8 : ARG BASE=golang:1.15-alpine 08:55:12 Step 2/8 : FROM ${BASE} 08:55:13 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:55:13 b538f80385f9: Pulling fs layer 08:55:13 74f711af9a0d: Pulling fs layer 08:55:13 99f96fe45779: Pulling fs layer 08:55:13 8529a6b9a6be: Pulling fs layer 08:55:13 45590311c82a: Pulling fs layer 08:55:13 69ca0ff8b7b3: Pulling fs layer 08:55:13 209524e5b208: Pulling fs layer 08:55:13 8529a6b9a6be: Waiting 08:55:13 45590311c82a: Waiting 08:55:13 69ca0ff8b7b3: Waiting 08:55:13 209524e5b208: Waiting 08:55:13 99f96fe45779: Verifying Checksum 08:55:13 99f96fe45779: Download complete 08:55:13 74f711af9a0d: Verifying Checksum 08:55:13 74f711af9a0d: Download complete 08:55:13 45590311c82a: Verifying Checksum 08:55:13 45590311c82a: Download complete 08:55:13 69ca0ff8b7b3: Verifying Checksum 08:55:13 69ca0ff8b7b3: Download complete 08:55:13 b538f80385f9: Verifying Checksum 08:55:13 b538f80385f9: Download complete 08:55:14 b538f80385f9: Pull complete 08:55:15 74f711af9a0d: Pull complete 08:55:15 99f96fe45779: Pull complete 08:55:15 Removing intermediate container c2aa3ef8447b 08:55:15 ---> 63d4ec369fff 08:55:15 Successfully built 63d4ec369fff 08:55:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:55:16 + docker inspect -f . ci-base-image-x86_64 08:55:16 . [Pipeline] withDockerContainer 08:55:16 prd-centos7-docker-4c-2g-163 does not seem to be running inside a container 08:55:16 $ 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 08:55:16 209524e5b208: Verifying Checksum 08:55:16 209524e5b208: Download complete 08:55:17 $ docker top 30b7289a10162ad8c24692d185f67e739208bff7f3e7bcb12374d81e30a2da09 -eo pid,comm [Pipeline] { 08:55:17 8529a6b9a6be: Verifying Checksum 08:55:17 8529a6b9a6be: Download complete [Pipeline] sh 08:55:18 + go version 08:55:18 go version go1.15.2 linux/amd64 [Pipeline] } 08:55:18 $ docker stop --time=1 30b7289a10162ad8c24692d185f67e739208bff7f3e7bcb12374d81e30a2da09 08:55:19 $ 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 08:55:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:55:21 + ls -al . 08:55:21 total 64 08:55:21 drwxrwxr-x. 10 jenkins jenkins 4096 Sep 17 08:54 . 08:55:21 drwxrwxr-x. 4 jenkins jenkins 30 Sep 17 08:54 .. 08:55:21 -rw-rw-r--. 1 jenkins jenkins 4913 Sep 17 08:54 Attribution.txt 08:55:21 drwxrwxr-x. 2 jenkins jenkins 87 Sep 17 08:54 bin 08:55:21 drwxrwxr-x. 3 jenkins jenkins 32 Sep 17 08:54 cmd 08:55:21 -rw-rw-r--. 1 jenkins jenkins 1430 Sep 17 08:54 Dockerfile 08:55:21 -rw-rw-r--. 1 jenkins jenkins 954 Sep 17 08:54 Dockerfile.build 08:55:21 -rw-rw-r--. 1 jenkins jenkins 140 Sep 17 08:54 .dockerignore 08:55:21 drwxrwxr-x. 8 jenkins jenkins 162 Sep 17 08:54 .git 08:55:21 drwxrwxr-x. 2 jenkins jenkins 38 Sep 17 08:54 .github 08:55:21 -rw-rw-r--. 1 jenkins jenkins 338 Sep 17 08:54 .gitignore 08:55:21 -rw-rw-r--. 1 jenkins jenkins 559 Sep 17 08:54 go.mod 08:55:21 drwxrwxr-x. 3 jenkins jenkins 20 Sep 17 08:54 internal 08:55:21 -rw-rw-r--. 1 jenkins jenkins 679 Sep 17 08:54 Jenkinsfile 08:55:21 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 17 08:54 LICENSE 08:55:21 -rw-rw-r--. 1 jenkins jenkins 880 Sep 17 08:54 Makefile 08:55:21 -rw-rw-r--. 1 jenkins jenkins 591 Sep 17 08:54 README.md 08:55:21 drwxrwxr-x. 3 jenkins jenkins 44 Sep 17 08:54 .semver 08:55:21 drwxrwxr-x. 2 jenkins jenkins 52 Sep 17 08:54 simulator 08:55:21 drwxrwxr-x. 4 jenkins jenkins 54 Sep 17 08:54 snap 08:55:21 -rw-rw-r--. 1 jenkins jenkins 11 Sep 17 08:52 VERSION 08:55:21 -rw-rw-r--. 1 jenkins jenkins 229 Sep 17 08:54 version.go [Pipeline] isUnix [Pipeline] sh 08:55:21 + 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 . 08:55:21 Sending build context to Docker daemon 668.2kB 08:55:21 Step 1/20 : ARG BASE=golang:1.15-alpine 08:55:21 Step 2/20 : FROM ${BASE} AS builder 08:55:21 ---> 63d4ec369fff 08:55:21 Step 3/20 : ARG MAKE='make build' 08:55:22 ---> Running in b594ccd280a7 08:55:22 Removing intermediate container b594ccd280a7 08:55:22 ---> 95c2fef123b3 08:55:22 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:55:22 ---> Running in be17d2dcac1c 08:55:23 Removing intermediate container be17d2dcac1c 08:55:23 ---> 12171f59f51e 08:55:23 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 08:55:23 ---> Running in 111ccbc48896 08:55:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:55:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:55:25 OK: 237 MiB in 53 packages 08:55:25 Removing intermediate container 111ccbc48896 08:55:25 ---> 5c70716e8830 08:55:25 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 08:55:25 ---> Running in 429a17917e8e 08:55:25 Removing intermediate container 429a17917e8e 08:55:25 ---> 79cd807ee9f6 08:55:25 Step 7/20 : COPY . . 08:55:26 ---> 54f5547ac109 08:55:26 Step 8/20 : RUN ${MAKE} 08:55:26 ---> Running in 34f92b8b90fa 08:55:26 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 08:55:28 8529a6b9a6be: Pull complete 08:55:28 45590311c82a: Pull complete 08:55:28 69ca0ff8b7b3: Pull complete 08:55:31 209524e5b208: Pull complete 08:55:31 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 08:55:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 08:55:31 ---> 5bddaf1c2fca 08:55:31 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 08:55:34 ---> Running in e00ff1342309 08:55:34 Removing intermediate container e00ff1342309 08:55:34 ---> 72a1aecb225f 08:55:34 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:55:35 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:55:35 ---> Running in 549598e16503 08:55:37 Removing intermediate container 34f92b8b90fa 08:55:37 ---> b7c1f06933a3 08:55:37 Step 9/20 : FROM scratch 08:55:37 ---> 08:55:37 Step 10/20 : ENV APP_PORT=49991 08:55:37 ---> Running in 1892cba08f11 08:55:37 Removing intermediate container 1892cba08f11 08:55:37 ---> 15e0a174c3a0 08:55:37 Step 11/20 : EXPOSE $APP_PORT 08:55:38 ---> Running in 9e9e5d28e524 08:55:38 Removing intermediate container 9e9e5d28e524 08:55:38 ---> 65b9870a6603 08:55:38 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 08:55:38 ---> 33772984404c 08:55:38 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 08:55:38 Removing intermediate container 549598e16503 08:55:38 ---> 000569760aa2 08:55:38 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 08:55:38 ---> Running in ee4f92995122 08:55:38 ---> f12ec77f1396 08:55:38 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 08:55:38 ---> 4b602f99b4a1 08:55:38 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 08:55:39 ---> Running in befbc4af2f6f 08:55:39 Removing intermediate container befbc4af2f6f 08:55:39 ---> 7138e8c9fa0b 08:55:39 Step 16/20 : ENTRYPOINT ["/device-modbus"] 08:55:39 ---> Running in 43189c985124 08:55:39 Removing intermediate container 43189c985124 08:55:39 ---> 8d4071307388 08:55:39 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:55:39 ---> Running in 7c024d7245e3 08:55:39 Removing intermediate container 7c024d7245e3 08:55:39 ---> 8e36a58340b6 08:55:39 Step 18/20 : LABEL arch=amd64 08:55:39 ---> Running in d83c573795c7 08:55:39 Removing intermediate container d83c573795c7 08:55:39 ---> b4797e3261f0 08:55:39 Step 19/20 : LABEL git_sha=986986d893843ca2c4c8974c29aa772854012406 08:55:39 ---> Running in 6502c4d3c8f7 08:55:39 Removing intermediate container 6502c4d3c8f7 08:55:39 ---> 3ad213fd2215 08:55:39 Step 20/20 : LABEL version=1.2.3-dev.6 08:55:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:55:40 ---> Running in d469b5b678ff 08:55:40 Removing intermediate container d469b5b678ff 08:55:40 ---> 8a3606672626 08:55:40 [Warning] One or more build-args [ARCH] were not consumed 08:55:40 Successfully built 8a3606672626 08:55:40 Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { 08:55:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:55:40 provisioning config files... 08:55:40 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/24@tmp/config1220218313948250923tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:55:41 ---> docker-login.sh 08:55:41 nexus3.edgexfoundry.org:10001 08:55:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:55:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:55:41 Configure a credential helper to remove this warning. See 08:55:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:55:41 08:55:41 Login Succeeded 08:55:41 nexus3.edgexfoundry.org:10002 08:55:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:55:41 (1/14) Installing libmagic (5.38-r0) 08:55:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:55:41 Configure a credential helper to remove this warning. See 08:55:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:55:41 08:55:41 Login Succeeded 08:55:41 nexus3.edgexfoundry.org:10003 08:55:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:55:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:55:41 Configure a credential helper to remove this warning. See 08:55:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:55:41 08:55:41 Login Succeeded 08:55:41 nexus3.edgexfoundry.org:10004 08:55:41 (2/14) Installing file (5.38-r0) 08:55:41 (3/14) Installing libc-dev (0.7.2-r3) 08:55:41 (4/14) Installing g++ (9.3.0-r2) 08:55:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:55:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:55:42 Configure a credential helper to remove this warning. See 08:55:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:55:42 08:55:42 Login Succeeded 08:55:42 docker.io 08:55:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:55:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:55:42 Configure a credential helper to remove this warning. See 08:55:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:55:42 08:55:42 Login Succeeded 08:55:42 ---> docker-login.sh ends [Pipeline] } 08:55:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:55:42 [edgeXDocker.push] Tagging docker image docker-device-modbus-go with the following tags: 08:55:42 986986d893843ca2c4c8974c29aa772854012406 08:55:42 latest 08:55:42 1.2.3-dev.6 08:55:42 986986d893843ca2c4c8974c29aa772854012406-1.2.3-dev.6 08:55:42 master 08:55:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:55:43 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:986986d893843ca2c4c8974c29aa772854012406 [Pipeline] isUnix [Pipeline] sh 08:55:43 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:986986d893843ca2c4c8974c29aa772854012406 08:55:43 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 08:55:43 2ec7078b41d8: Preparing 08:55:43 3b91b891432a: Preparing 08:55:43 24c2e8737df2: Preparing 08:55:43 2ec7078b41d8: Pushed 08:55:43 3b91b891432a: Pushed 08:55:44 24c2e8737df2: Pushed 08:55:44 986986d893843ca2c4c8974c29aa772854012406: digest: sha256:3442c7742630f39745e3b00984dedfbc3a8bc90b9e5c493e6b4d984beb94ea86 size: 943 [Pipeline] isUnix [Pipeline] sh 08:55:44 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [Pipeline] isUnix [Pipeline] sh 08:55:45 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest 08:55:45 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 08:55:45 2ec7078b41d8: Preparing 08:55:45 3b91b891432a: Preparing 08:55:45 24c2e8737df2: Preparing 08:55:45 24c2e8737df2: Layer already exists 08:55:45 2ec7078b41d8: Layer already exists 08:55:45 3b91b891432a: Layer already exists 08:55:45 latest: digest: sha256:3442c7742630f39745e3b00984dedfbc3a8bc90b9e5c493e6b4d984beb94ea86 size: 943 [Pipeline] isUnix [Pipeline] sh 08:55:45 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.2.3-dev.6 [Pipeline] isUnix [Pipeline] sh 08:55:46 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.2.3-dev.6 08:55:46 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 08:55:46 2ec7078b41d8: Preparing 08:55:46 3b91b891432a: Preparing 08:55:46 24c2e8737df2: Preparing 08:55:46 3b91b891432a: Layer already exists 08:55:46 24c2e8737df2: Layer already exists 08:55:46 2ec7078b41d8: Layer already exists 08:55:46 1.2.3-dev.6: digest: sha256:3442c7742630f39745e3b00984dedfbc3a8bc90b9e5c493e6b4d984beb94ea86 size: 943 [Pipeline] isUnix [Pipeline] sh 08:55:46 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:986986d893843ca2c4c8974c29aa772854012406-1.2.3-dev.6 [Pipeline] isUnix [Pipeline] sh 08:55:46 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:986986d893843ca2c4c8974c29aa772854012406-1.2.3-dev.6 08:55:46 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 08:55:46 2ec7078b41d8: Preparing 08:55:46 3b91b891432a: Preparing 08:55:46 24c2e8737df2: Preparing 08:55:46 2ec7078b41d8: Layer already exists 08:55:46 24c2e8737df2: Layer already exists 08:55:46 3b91b891432a: Layer already exists 08:55:46 986986d893843ca2c4c8974c29aa772854012406-1.2.3-dev.6: digest: sha256:3442c7742630f39745e3b00984dedfbc3a8bc90b9e5c493e6b4d984beb94ea86 size: 943 [Pipeline] isUnix [Pipeline] sh 08:55:46 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [Pipeline] isUnix [Pipeline] sh 08:55:47 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master 08:55:47 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 08:55:47 2ec7078b41d8: Preparing 08:55:47 3b91b891432a: Preparing 08:55:47 24c2e8737df2: Preparing 08:55:47 3b91b891432a: Layer already exists 08:55:47 2ec7078b41d8: Layer already exists 08:55:47 24c2e8737df2: Layer already exists 08:55:47 master: digest: sha256:3442c7742630f39745e3b00984dedfbc3a8bc90b9e5c493e6b4d984beb94ea86 size: 943 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:55:47 ===================================================== [Pipeline] echo 08:55:47 taggedImages: 08:55:47 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:986986d893843ca2c4c8974c29aa772854012406 08:55:47 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest 08:55:47 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.2.3-dev.6 08:55:47 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:986986d893843ca2c4c8974c29aa772854012406-1.2.3-dev.6 08:55:47 - 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] } 08:55:50 (5/14) Installing fortify-headers (1.1-r0) 08:55:50 (6/14) Installing patch (2.7.6-r6) 08:55:50 (7/14) Installing build-base (0.5-r2) 08:55:50 (8/14) Installing openssh-keygen (8.3_p1-r0) 08:55:50 (9/14) Installing libedit (20191231.3.1-r0) 08:55:50 (10/14) Installing openssh-client (8.3_p1-r0) 08:55:50 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 08:55:50 (12/14) Installing openssh-server-common (8.3_p1-r0) 08:55:50 (13/14) Installing openssh-server (8.3_p1-r0) 08:55:50 (14/14) Installing openssh (8.3_p1-r0) 08:55:50 Executing busybox-1.31.1-r16.trigger 08:55:50 OK: 221 MiB in 53 packages 08:55:54 Removing intermediate container ee4f92995122 08:55:54 ---> 9e89b6143a20 08:55:54 Step 6/8 : WORKDIR /device-modbus-go 08:55:55 ---> Running in aec488e9065c 08:55:55 Removing intermediate container aec488e9065c 08:55:55 ---> 81ef5bf5bf59 08:55:55 Step 7/8 : COPY . . 08:55:56 ---> b593cd1f2a64 08:55:56 Step 8/8 : RUN go mod download 08:55:56 ---> Running in dc2b076b13da 08:56:11 Removing intermediate container dc2b076b13da 08:56:11 ---> 6e6e33215f9b 08:56:11 Successfully built 6e6e33215f9b 08:56:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:56:12 + docker inspect -f . ci-base-image-arm64 08:56:12 . [Pipeline] withDockerContainer 08:56:12 prd-ubuntu18.04-docker-arm64-4c-16g-165 does not seem to be running inside a container 08:56:12 $ 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 08:56:14 $ docker top 955a390ee9a9f5a1077f855a932a9a40004143c855c966105bd9fa9ad1a7438d -eo pid,comm [Pipeline] { [Pipeline] sh 08:56:16 + go version 08:56:16 go version go1.15.2 linux/arm64 [Pipeline] } 08:56:16 $ docker stop --time=1 955a390ee9a9f5a1077f855a932a9a40004143c855c966105bd9fa9ad1a7438d 08:56:18 $ 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 08:56:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:56:19 + ls -al . 08:56:19 total 100 08:56:19 drwxrwxr-x 10 jenkins jenkins 4096 Sep 17 08:55 . 08:56:19 drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 08:55 .. 08:56:19 -rw-rw-r-- 1 jenkins jenkins 140 Sep 17 08:55 .dockerignore 08:56:19 drwxrwxr-x 8 jenkins jenkins 4096 Sep 17 08:55 .git 08:56:19 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:55 .github 08:56:19 -rw-rw-r-- 1 jenkins jenkins 338 Sep 17 08:55 .gitignore 08:56:19 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:55 .semver 08:56:19 -rw-rw-r-- 1 jenkins jenkins 4913 Sep 17 08:55 Attribution.txt 08:56:19 -rw-rw-r-- 1 jenkins jenkins 1430 Sep 17 08:55 Dockerfile 08:56:19 -rw-rw-r-- 1 jenkins jenkins 954 Sep 17 08:55 Dockerfile.build 08:56:19 -rw-rw-r-- 1 jenkins jenkins 679 Sep 17 08:55 Jenkinsfile 08:56:19 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 17 08:55 LICENSE 08:56:19 -rw-rw-r-- 1 jenkins jenkins 880 Sep 17 08:55 Makefile 08:56:19 -rw-rw-r-- 1 jenkins jenkins 591 Sep 17 08:55 README.md 08:56:19 -rw-rw-r-- 1 jenkins jenkins 11 Sep 17 08:52 VERSION 08:56:19 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:55 bin 08:56:19 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:55 cmd 08:56:19 -rw-rw-r-- 1 jenkins jenkins 559 Sep 17 08:55 go.mod 08:56:19 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:55 internal 08:56:19 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:55 simulator 08:56:19 drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 08:55 snap 08:56:19 -rw-rw-r-- 1 jenkins jenkins 229 Sep 17 08:55 version.go [Pipeline] isUnix [Pipeline] sh 08:56:20 + 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 . 08:56:20 Sending build context to Docker daemon 668.2kB 08:56:20 Step 1/20 : ARG BASE=golang:1.15-alpine 08:56:20 Step 2/20 : FROM ${BASE} AS builder 08:56:20 ---> 6e6e33215f9b 08:56:20 Step 3/20 : ARG MAKE='make build' 08:56:20 ---> Running in 638e8a3deb8a 08:56:21 Removing intermediate container 638e8a3deb8a 08:56:21 ---> 7f955a1dd99f 08:56:21 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:56:21 ---> Running in 08db0a3ae57d 08:56:24 Removing intermediate container 08db0a3ae57d 08:56:24 ---> 35f6a6f76707 08:56:24 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 08:56:24 ---> Running in 012546ebe58c 08:56:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:56:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:56:26 OK: 221 MiB in 53 packages 08:56:28 Removing intermediate container 012546ebe58c 08:56:28 ---> 12598aff2a7e 08:56:28 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 08:56:28 ---> Running in dce8db2f1c08 08:56:28 Removing intermediate container dce8db2f1c08 08:56:28 ---> c672e0f40732 08:56:28 Step 7/20 : COPY . . 08:56:29 ---> e56f1c0c1fd0 08:56:29 Step 8/20 : RUN ${MAKE} 08:56:29 ---> Running in 99822fe2b980 08:56:31 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 08:56:57 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:57:01 Removing intermediate container 99822fe2b980 08:57:01 ---> 1a47d7c8061f 08:57:01 Step 9/20 : FROM scratch 08:57:01 ---> 08:57:01 Step 10/20 : ENV APP_PORT=49991 08:57:01 ---> Running in ba146d0a5be5 08:57:01 Removing intermediate container ba146d0a5be5 08:57:01 ---> fe7dc151a0c3 08:57:01 Step 11/20 : EXPOSE $APP_PORT 08:57:01 ---> Running in dd1837efb899 08:57:02 Removing intermediate container dd1837efb899 08:57:02 ---> 8c589a16feb7 08:57:02 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 08:57:03 ---> 8c696c1a68de 08:57:03 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 08:57:04 ---> 053ca46d9c25 08:57:04 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 08:57:04 ---> ecdead997b87 08:57:04 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 08:57:05 ---> Running in 3aa6e67d86e3 08:57:05 Removing intermediate container 3aa6e67d86e3 08:57:05 ---> 3c488210fd40 08:57:05 Step 16/20 : ENTRYPOINT ["/device-modbus"] 08:57:05 ---> Running in b424675532bf 08:57:05 Removing intermediate container b424675532bf 08:57:05 ---> f7911e5ac80d 08:57:05 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:57:06 ---> Running in 8aeb1f5524cc 08:57:06 Removing intermediate container 8aeb1f5524cc 08:57:06 ---> fcc690a69d66 08:57:06 Step 18/20 : LABEL arch=arm64 08:57:06 ---> Running in a9558e7a2fd1 08:57:07 Removing intermediate container a9558e7a2fd1 08:57:07 ---> bef37d9c7a19 08:57:07 Step 19/20 : LABEL git_sha=986986d893843ca2c4c8974c29aa772854012406 08:57:07 ---> Running in da054141cc18 08:57:07 Removing intermediate container da054141cc18 08:57:07 ---> 09ed62f18247 08:57:07 Step 20/20 : LABEL version=1.2.3-dev.6 08:57:07 ---> Running in a43efd914e99 08:57:08 Removing intermediate container a43efd914e99 08:57:08 ---> 719c604c08a6 08:57:08 [Warning] One or more build-args [ARCH] were not consumed 08:57:08 Successfully built 719c604c08a6 08:57:08 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 08:57:09 provisioning config files... 08:57:09 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/24@tmp/config5676197424595785923tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:57:09 ---> docker-login.sh 08:57:09 nexus3.edgexfoundry.org:10001 08:57:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:57:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:57:10 Configure a credential helper to remove this warning. See 08:57:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:57:10 08:57:10 Login Succeeded 08:57:10 nexus3.edgexfoundry.org:10002 08:57:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:57:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:57:10 Configure a credential helper to remove this warning. See 08:57:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:57:10 08:57:10 Login Succeeded 08:57:10 nexus3.edgexfoundry.org:10003 08:57:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:57:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:57:11 Configure a credential helper to remove this warning. See 08:57:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:57:11 08:57:11 Login Succeeded 08:57:11 nexus3.edgexfoundry.org:10004 08:57:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:57:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:57:11 Configure a credential helper to remove this warning. See 08:57:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:57:11 08:57:11 Login Succeeded 08:57:11 docker.io 08:57:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:57:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:57:13 Configure a credential helper to remove this warning. See 08:57:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:57:13 08:57:13 Login Succeeded 08:57:13 ---> docker-login.sh ends [Pipeline] } 08:57:13 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:57:13 [edgeXDocker.push] Tagging docker image docker-device-modbus-go-arm64 with the following tags: 08:57:13 986986d893843ca2c4c8974c29aa772854012406 08:57:13 latest 08:57:13 1.2.3-dev.6 08:57:13 986986d893843ca2c4c8974c29aa772854012406-1.2.3-dev.6 08:57:13 master 08:57:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:57:13 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:986986d893843ca2c4c8974c29aa772854012406 [Pipeline] isUnix [Pipeline] sh 08:57:14 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:986986d893843ca2c4c8974c29aa772854012406 08:57:14 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 08:57:14 3459942aea12: Preparing 08:57:14 75b0aa26881e: Preparing 08:57:14 bd463d40eb62: Preparing 08:57:14 75b0aa26881e: Pushed 08:57:14 3459942aea12: Pushed 08:57:17 bd463d40eb62: Pushed 08:57:17 986986d893843ca2c4c8974c29aa772854012406: digest: sha256:152af8c8753da426adf43e39dc7235bcf65348e3333bd6bca80639553b95b9d2 size: 943 [Pipeline] isUnix [Pipeline] sh 08:57:17 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:57:17 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest 08:57:17 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 08:57:18 3459942aea12: Preparing 08:57:18 75b0aa26881e: Preparing 08:57:18 bd463d40eb62: Preparing 08:57:18 3459942aea12: Layer already exists 08:57:18 bd463d40eb62: Layer already exists 08:57:18 75b0aa26881e: Layer already exists 08:57:18 latest: digest: sha256:152af8c8753da426adf43e39dc7235bcf65348e3333bd6bca80639553b95b9d2 size: 943 [Pipeline] isUnix [Pipeline] sh 08:57:18 + 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 08:57:18 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.2.3-dev.6 08:57:18 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 08:57:18 3459942aea12: Preparing 08:57:18 75b0aa26881e: Preparing 08:57:18 bd463d40eb62: Preparing 08:57:18 75b0aa26881e: Layer already exists 08:57:18 bd463d40eb62: Layer already exists 08:57:18 3459942aea12: Layer already exists 08:57:19 1.2.3-dev.6: digest: sha256:152af8c8753da426adf43e39dc7235bcf65348e3333bd6bca80639553b95b9d2 size: 943 [Pipeline] isUnix [Pipeline] sh 08:57:19 + 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 08:57:20 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:986986d893843ca2c4c8974c29aa772854012406-1.2.3-dev.6 08:57:20 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 08:57:20 3459942aea12: Preparing 08:57:20 75b0aa26881e: Preparing 08:57:20 bd463d40eb62: Preparing 08:57:20 bd463d40eb62: Layer already exists 08:57:20 3459942aea12: Layer already exists 08:57:20 75b0aa26881e: Layer already exists 08:57:20 986986d893843ca2c4c8974c29aa772854012406-1.2.3-dev.6: digest: sha256:152af8c8753da426adf43e39dc7235bcf65348e3333bd6bca80639553b95b9d2 size: 943 [Pipeline] isUnix [Pipeline] sh 08:57:20 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] isUnix [Pipeline] sh 08:57:20 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master 08:57:20 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 08:57:20 3459942aea12: Preparing 08:57:20 75b0aa26881e: Preparing 08:57:20 bd463d40eb62: Preparing 08:57:20 3459942aea12: Layer already exists 08:57:20 bd463d40eb62: Layer already exists 08:57:20 75b0aa26881e: Layer already exists 08:57:21 master: digest: sha256:152af8c8753da426adf43e39dc7235bcf65348e3333bd6bca80639553b95b9d2 size: 943 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:57:21 ===================================================== [Pipeline] echo 08:57:21 taggedImages: 08:57:21 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:986986d893843ca2c4c8974c29aa772854012406 08:57:21 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest 08:57:21 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.2.3-dev.6 08:57:21 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:986986d893843ca2c4c8974c29aa772854012406-1.2.3-dev.6 08:57:21 - 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 08:57:23 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 08:57:23 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 08:57:23 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:57:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 08:57:24 08:57:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 08:57:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 08:57:24 1.317.0: Pulling from edgex-devops/edgex-snyk-go 08:57:24 cbdbe7a5bc2a: Pulling fs layer 08:57:24 408f87550127: Pulling fs layer 08:57:24 fe522b08c979: Pulling fs layer 08:57:24 221eaa008020: Pulling fs layer 08:57:24 2a4607e5d6b9: Pulling fs layer 08:57:24 8f79b27c4fd2: Pulling fs layer 08:57:24 e5c8dbe1645b: Pulling fs layer 08:57:24 23e8b3b47431: Pulling fs layer 08:57:24 5c568d65a230: Pulling fs layer 08:57:24 8f79b27c4fd2: Waiting 08:57:24 e5c8dbe1645b: Waiting 08:57:24 221eaa008020: Waiting 08:57:24 23e8b3b47431: Waiting 08:57:24 5c568d65a230: Waiting 08:57:24 2a4607e5d6b9: Waiting 08:57:24 fe522b08c979: Download complete 08:57:24 408f87550127: Download complete 08:57:24 2a4607e5d6b9: Verifying Checksum 08:57:24 2a4607e5d6b9: Download complete 08:57:24 cbdbe7a5bc2a: Verifying Checksum 08:57:24 cbdbe7a5bc2a: Download complete 08:57:24 cbdbe7a5bc2a: Pull complete 08:57:25 408f87550127: Pull complete 08:57:25 8f79b27c4fd2: Verifying Checksum 08:57:25 8f79b27c4fd2: Download complete 08:57:25 fe522b08c979: Pull complete 08:57:26 e5c8dbe1645b: Verifying Checksum 08:57:26 e5c8dbe1645b: Download complete 08:57:28 23e8b3b47431: Verifying Checksum 08:57:28 23e8b3b47431: Download complete 08:57:28 5c568d65a230: Verifying Checksum 08:57:28 5c568d65a230: Download complete 08:57:29 221eaa008020: Verifying Checksum 08:57:29 221eaa008020: Download complete 08:57:34 221eaa008020: Pull complete 08:57:35 2a4607e5d6b9: Pull complete 08:57:35 8f79b27c4fd2: Pull complete 08:57:37 e5c8dbe1645b: Pull complete 08:57:39 23e8b3b47431: Pull complete 08:57:40 5c568d65a230: Pull complete 08:57:40 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 08:57:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 08:57:40 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 08:57:41 prd-centos7-docker-4c-2g-156 does not seem to be running inside a container 08:57:41 $ 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 08:57:42 $ docker top 843b07b2c4926ee2a029bd5de00beca8ee863b5646ccb545d03f4c2b05178893 -eo pid,comm [Pipeline] { [Pipeline] sh 08:57:42 + snyk monitor '--org=edgex-jenkins' 08:57:55 08:57:55 Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... 08:57:55 08:57:55 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/ef9d8e5f-2f9d-417e-bdfe-f98f6f0c1d35 08:57:55 08:57:55 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:57:55 08:57:55 08:57:55 Snyk CLI supports Node.js 8 and higher. 08:57:55 Node.js 8 reached End Of Life on December 31, 2019 and the Snyk CLI will stop supporting it in the near future. 08:57:55 Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. 08:57:55 08:57:55 The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. 08:57:55 The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. [Pipeline] } 08:57:55 $ docker stop --time=1 843b07b2c4926ee2a029bd5de00beca8ee863b5646ccb545d03f4c2b05178893 08:57:57 $ docker rm -f 843b07b2c4926ee2a029bd5de00beca8ee863b5646ccb545d03f4c2b05178893 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:57:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 08:57:58 08:57:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 08:57:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 08:57:59 latest: Pulling from edgex-devops/edgex-klar 08:57:59 e7c96db7181b: Pulling fs layer 08:57:59 1868ca2cb446: Pulling fs layer 08:57:59 136be5d0fe8e: Pulling fs layer 08:57:59 894bfe63afcb: Pulling fs layer 08:57:59 894bfe63afcb: Waiting 08:57:59 1868ca2cb446: Verifying Checksum 08:57:59 136be5d0fe8e: Download complete 08:57:59 e7c96db7181b: Verifying Checksum 08:57:59 e7c96db7181b: Download complete 08:57:59 894bfe63afcb: Verifying Checksum 08:57:59 894bfe63afcb: Download complete 08:57:59 e7c96db7181b: Pull complete 08:57:59 1868ca2cb446: Pull complete 08:57:59 136be5d0fe8e: Pull complete 08:57:59 894bfe63afcb: Pull complete 08:57:59 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 08:57:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 08:57:59 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 08:57:59 prd-centos7-docker-4c-2g-156 does not seem to be running inside a container 08:58:00 $ 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 08:58:01 $ docker top 16dddbe186fa9e7b9b8e58f95b6b5058eb7b63283b6fa1154b4db4ecfa2be66a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:01 + tee 08:58:01 + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go:986986d893843ca2c4c8974c29aa772854012406 [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 08:58:04 $ docker stop --time=1 16dddbe186fa9e7b9b8e58f95b6b5058eb7b63283b6fa1154b4db4ecfa2be66a 08:58:05 $ docker rm -f 16dddbe186fa9e7b9b8e58f95b6b5058eb7b63283b6fa1154b4db4ecfa2be66a [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 08:58:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 08:58:06 . [Pipeline] withDockerContainer 08:58:06 prd-centos7-docker-4c-2g-156 does not seem to be running inside a container 08:58:06 $ 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 08:58:07 $ docker top 1df630ca97a3890f38def434589946531cb23ca5a9d5bfbde97e6f462766055f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:07 + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go:986986d893843ca2c4c8974c29aa772854012406 08:58:07 + tee 08:58:07 clair timeout 1m0s 08:58:07 docker timeout: 1m0s 08:58:07 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 08:58:08 $ docker stop --time=1 1df630ca97a3890f38def434589946531cb23ca5a9d5bfbde97e6f462766055f 08:58:09 $ docker rm -f 1df630ca97a3890f38def434589946531cb23ca5a9d5bfbde97e6f462766055f [Pipeline] // withDockerContainer [Pipeline] sh 08:58:10 + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/clair-reports [Pipeline] echo 08:58:10 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 08:58:10 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 08:58:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 08:58:10 . [Pipeline] withDockerContainer 08:58:11 prd-centos7-docker-4c-2g-156 does not seem to be running inside a container 08:58:11 $ 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 08:58:11 $ docker top 3e86b032da3007491db1fc160bf71195d47da962c4d32680950c0c134d0ff3ac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:12 + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:986986d893843ca2c4c8974c29aa772854012406 08:58:12 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 08:58:15 $ docker stop --time=1 3e86b032da3007491db1fc160bf71195d47da962c4d32680950c0c134d0ff3ac 08:58:16 $ docker rm -f 3e86b032da3007491db1fc160bf71195d47da962c4d32680950c0c134d0ff3ac [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 08:58:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 08:58:17 . [Pipeline] withDockerContainer 08:58:17 prd-centos7-docker-4c-2g-156 does not seem to be running inside a container 08:58:17 $ 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 08:58:17 $ docker top 7408d96f23457501ef86da870b0f2139bf0d7e3e61ef9cdb9f8a5dda099ec9da -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:18 + tee 08:58:18 + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:986986d893843ca2c4c8974c29aa772854012406 08:58:18 clair timeout 1m0s 08:58:18 docker timeout: 1m0s 08:58:18 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 08:58:19 $ docker stop --time=1 7408d96f23457501ef86da870b0f2139bf0d7e3e61ef9cdb9f8a5dda099ec9da 08:58:20 $ docker rm -f 7408d96f23457501ef86da870b0f2139bf0d7e3e61ef9cdb9f8a5dda099ec9da [Pipeline] // withDockerContainer [Pipeline] sh 08:58:20 + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/clair-reports [Pipeline] echo 08:58:21 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 08:58:21 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 08:58:22 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:58:22 . [Pipeline] withDockerContainer 08:58:22 prd-centos7-docker-4c-2g-156 does not seem to be running inside a container 08:58:22 $ 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 08:58:23 $ docker top 5b2737fb4b9a7d4a81849002452e0a1a74c61d533c662692454a9a63a912124b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:58:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:58:23 [ssh-agent] Looking for ssh-agent implementation... 08:58:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:58:23 $ docker exec 5b2737fb4b9a7d4a81849002452e0a1a74c61d533c662692454a9a63a912124b ssh-agent 08:58:23 SSH_AUTH_SOCK=/tmp/ssh-T63EYnjCexPh/agent.11 08:58:23 SSH_AGENT_PID=16 08:58:23 Running ssh-add (command line suppressed) 08:58:24 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) 08:58:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:58:24 + git semver tag 08:58:24 # -> Open(): unable to determine branch for HEAD 08:58:24 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 08:58:24 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 08:58:24 # $SEMVER_REMOTE_NAME = origin 08:58:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:58:24 # $SEMVER_USER_NAME = edgex-jenkins 08:58:24 # $SEMVER_BRANCH = master 08:58:24 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 08:58:24 # 986986d893843ca2c4c8974c29aa772854012406 HEAD 08:58:24 # -> Force: false 08:58:24 # 67e4b7554fe4bdf6e93e3caa2bb09254f8bc3ee3 refs/tags/v1.2.3-dev.6 [Pipeline] } 08:58:24 $ docker exec --env ******** --env ******** 5b2737fb4b9a7d4a81849002452e0a1a74c61d533c662692454a9a63a912124b ssh-agent -k 08:58:24 unset SSH_AUTH_SOCK; 08:58:24 unset SSH_AGENT_PID; 08:58:24 echo Agent pid 16 killed; 08:58:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:58:25 + git semver [Pipeline] } 08:58:25 $ docker stop --time=1 5b2737fb4b9a7d4a81849002452e0a1a74c61d533c662692454a9a63a912124b 08:58:26 $ docker rm -f 5b2737fb4b9a7d4a81849002452e0a1a74c61d533c662692454a9a63a912124b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 08:58:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:58:27 08:58:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 08:58:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:58:27 0.23.1-centos7: Pulling from edgex-lftools 08:58:27 ab5ef0e58194: Pulling fs layer 08:58:27 9712f1f96733: Pulling fs layer 08:58:27 63f879dbbcfc: Pulling fs layer 08:58:27 0d9ebad4ef96: Pulling fs layer 08:58:27 e9a5061849ea: Pulling fs layer 08:58:27 d747dcd14b5f: Pulling fs layer 08:58:27 2de7ff778b66: Pulling fs layer 08:58:27 0d9ebad4ef96: Waiting 08:58:27 e9a5061849ea: Waiting 08:58:27 d747dcd14b5f: Waiting 08:58:27 2de7ff778b66: Waiting 08:58:27 9712f1f96733: Verifying Checksum 08:58:27 9712f1f96733: Download complete 08:58:32 63f879dbbcfc: Verifying Checksum 08:58:32 63f879dbbcfc: Download complete 08:58:32 e9a5061849ea: Verifying Checksum 08:58:32 e9a5061849ea: Download complete 08:58:32 d747dcd14b5f: Verifying Checksum 08:58:32 d747dcd14b5f: Download complete 08:58:32 0d9ebad4ef96: Verifying Checksum 08:58:32 0d9ebad4ef96: Download complete 08:58:33 2de7ff778b66: Verifying Checksum 08:58:33 2de7ff778b66: Download complete 08:58:33 ab5ef0e58194: Verifying Checksum 08:58:33 ab5ef0e58194: Download complete 08:58:37 ab5ef0e58194: Pull complete 08:58:37 9712f1f96733: Pull complete 08:58:40 63f879dbbcfc: Pull complete 08:58:47 0d9ebad4ef96: Pull complete 08:58:48 e9a5061849ea: Pull complete 08:58:48 d747dcd14b5f: Pull complete 08:58:52 2de7ff778b66: Pull complete 08:58:52 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:58:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:58:52 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 08:58:52 prd-centos7-docker-4c-2g-156 does not seem to be running inside a container 08:58:52 $ 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 08:58:55 $ docker top 68ee623384d34a996cc89751393888d8e35316b7eb49cd6c67b2b6450a707316 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:58:56 provisioning config files... 08:58:56 copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config944444084343985752tmp 08:58:56 copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config5454565624886632507tmp 08:58:56 copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7569539471785372087tmp [Pipeline] { [Pipeline] echo 08:58:56 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:58:56 ---> sigul-configuration.sh 08:58:56 gpg: directory `/root/.gnupg' created 08:58:56 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:58:56 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:58:56 gpg: keyring `/root/.gnupg/secring.gpg' created 08:58:56 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:58:56 gpg: CAST5 encrypted data 08:58:56 gpg: encrypted with 1 passphrase 08:58:56 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:58:57 + mkdir /home/jenkins 08:58:57 + mkdir /home/jenkins/sigul [Pipeline] sh 08:58:57 + 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 08:58:57 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:58:57 ---> sigul-install.sh 08:59:06 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 08:59:06 + git tag --list 08:59:06 v1.2.3-dev.6 [Pipeline] sh 08:59:06 + lftools sign git-tag v1.2.3-dev.6 08:59:07 Signing Git tag with Sigul... 08:59:07 Signing v1.2.3-dev.6 [Pipeline] echo 08:59:08 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:59:09 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:59:09 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:59:09 $ docker stop --time=1 68ee623384d34a996cc89751393888d8e35316b7eb49cd6c67b2b6450a707316 08:59:11 $ docker rm -f 68ee623384d34a996cc89751393888d8e35316b7eb49cd6c67b2b6450a707316 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 08:59:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:59:12 . [Pipeline] withDockerContainer 08:59:12 prd-centos7-docker-4c-2g-156 does not seem to be running inside a container 08:59:12 $ 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 08:59:13 $ docker top 1f01d39e9e7592b24ec3e68973da9b6231020989a2f59da264e52ffacfc31802 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:59:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:59:13 [ssh-agent] Looking for ssh-agent implementation... 08:59:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:59:13 $ docker exec 1f01d39e9e7592b24ec3e68973da9b6231020989a2f59da264e52ffacfc31802 ssh-agent 08:59:13 SSH_AUTH_SOCK=/tmp/ssh-xpphR3FVjyHN/agent.12 08:59:13 SSH_AGENT_PID=18 08:59:13 Running ssh-add (command line suppressed) 08:59:13 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) 08:59:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:59:14 + git semver bump pre 08:59:14 # -> Open(): unable to determine branch for HEAD 08:59:14 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 08:59:14 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 08:59:14 # $SEMVER_REMOTE_NAME = origin 08:59:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:59:14 # $SEMVER_USER_NAME = edgex-jenkins 08:59:14 # $SEMVER_BRANCH = master 08:59:14 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 08:59:14 1.2.3-dev.7 [Pipeline] } 08:59:14 $ docker exec --env ******** --env ******** 1f01d39e9e7592b24ec3e68973da9b6231020989a2f59da264e52ffacfc31802 ssh-agent -k 08:59:14 unset SSH_AUTH_SOCK; 08:59:14 unset SSH_AGENT_PID; 08:59:14 echo Agent pid 18 killed; 08:59:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:59:14 + git semver [Pipeline] } 08:59:14 $ docker stop --time=1 1f01d39e9e7592b24ec3e68973da9b6231020989a2f59da264e52ffacfc31802 08:59:16 $ docker rm -f 1f01d39e9e7592b24ec3e68973da9b6231020989a2f59da264e52ffacfc31802 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 08:59:16 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:59:16 . [Pipeline] withDockerContainer 08:59:16 prd-centos7-docker-4c-2g-156 does not seem to be running inside a container 08:59:17 $ 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 08:59:17 $ docker top 8c6934f3a0e547978ab3c3bebf7d63892f59161464f1f54e2f38e8c2a3fb9747 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:59:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:59:17 [ssh-agent] Looking for ssh-agent implementation... 08:59:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:59:18 $ docker exec 8c6934f3a0e547978ab3c3bebf7d63892f59161464f1f54e2f38e8c2a3fb9747 ssh-agent 08:59:18 SSH_AUTH_SOCK=/tmp/ssh-P1SWtm7RcSX0/agent.11 08:59:18 SSH_AGENT_PID=16 08:59:18 Running ssh-add (command line suppressed) 08:59:18 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) 08:59:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:59:18 + git semver push 08:59:18 # -> Open(): unable to determine branch for HEAD 08:59:18 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 08:59:18 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 08:59:18 # $SEMVER_REMOTE_NAME = origin 08:59:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:59:18 # $SEMVER_USER_NAME = edgex-jenkins 08:59:18 # $SEMVER_BRANCH = master 08:59:18 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 08:59:25 $ docker exec --env ******** --env ******** 8c6934f3a0e547978ab3c3bebf7d63892f59161464f1f54e2f38e8c2a3fb9747 ssh-agent -k 08:59:25 unset SSH_AUTH_SOCK; 08:59:25 unset SSH_AGENT_PID; 08:59:25 echo Agent pid 16 killed; 08:59:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:59:26 + git semver [Pipeline] } 08:59:26 $ docker stop --time=1 8c6934f3a0e547978ab3c3bebf7d63892f59161464f1f54e2f38e8c2a3fb9747 08:59:27 $ 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 08:59:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:59:30 ---> package-listing.sh 08:59:30 ++ facter osfamily 08:59:30 ++ tr '[:upper:]' '[:lower:]' 08:59:30 + OS_FAMILY=redhat 08:59:30 + workspace=/w/workspace/xfoundry_device-modbus-go_master 08:59:30 + START_PACKAGES=/tmp/packages_start.txt 08:59:30 + END_PACKAGES=/tmp/packages_end.txt 08:59:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:59:30 + PACKAGES=/tmp/packages_start.txt 08:59:30 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 08:59:30 + PACKAGES=/tmp/packages_end.txt 08:59:30 + case "${OS_FAMILY}" in 08:59:30 + rpm -qa 08:59:30 + sort 08:59:34 + '[' -f /tmp/packages_start.txt ']' 08:59:34 + '[' -f /tmp/packages_end.txt ']' 08:59:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:59:34 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 08:59:34 + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ 08:59:34 + 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 08:59:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:59:35 08:59:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:59:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:59:35 alpine: Pulling from edgex-lftools-log-publisher 08:59:35 df20fa9351a1: Pulling fs layer 08:59:35 36b3adc4ff6f: Pulling fs layer 08:59:35 8ad3a11d3b57: Pulling fs layer 08:59:35 46f8f816bc3b: Pulling fs layer 08:59:35 0dadc02b9964: Pulling fs layer 08:59:35 ce6a7cf60c04: Pulling fs layer 08:59:35 7a184a31f384: Pulling fs layer 08:59:35 0879bd2ef858: Pulling fs layer 08:59:35 0dadc02b9964: Waiting 08:59:35 ce6a7cf60c04: Waiting 08:59:35 7a184a31f384: Waiting 08:59:35 0879bd2ef858: Waiting 08:59:35 46f8f816bc3b: Waiting 08:59:35 36b3adc4ff6f: Verifying Checksum 08:59:35 36b3adc4ff6f: Download complete 08:59:35 46f8f816bc3b: Download complete 08:59:35 df20fa9351a1: Verifying Checksum 08:59:35 df20fa9351a1: Download complete 08:59:35 ce6a7cf60c04: Verifying Checksum 08:59:35 ce6a7cf60c04: Download complete 08:59:35 7a184a31f384: Verifying Checksum 08:59:35 7a184a31f384: Download complete 08:59:35 df20fa9351a1: Pull complete 08:59:35 8ad3a11d3b57: Verifying Checksum 08:59:35 8ad3a11d3b57: Download complete 08:59:35 0dadc02b9964: Verifying Checksum 08:59:35 0dadc02b9964: Download complete 08:59:36 36b3adc4ff6f: Pull complete 08:59:36 0879bd2ef858: Verifying Checksum 08:59:36 0879bd2ef858: Download complete 08:59:37 8ad3a11d3b57: Pull complete 08:59:37 46f8f816bc3b: Pull complete 08:59:37 0dadc02b9964: Pull complete 08:59:37 ce6a7cf60c04: Pull complete 08:59:37 7a184a31f384: Pull complete 08:59:40 0879bd2ef858: Pull complete 08:59:40 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 08:59:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:59:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:59:40 prd-centos7-docker-4c-2g-156 does not seem to be running inside a container 08:59:40 $ 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 08:59:43 $ docker top 58311de0daec377af4a8016e089ac42befb7c3b2824f22ef976a60a0bf01ebcf -eo pid,comm [Pipeline] { [Pipeline] sh 08:59:43 + mkdir -p /var/log/sa [Pipeline] sh 08:59:44 + ls /var/log/sa-host 08:59:44 + sadf -c /var/log/sa-host/sa05 08:59:44 file_magic: OK 08:59:44 HZ: Using current value: 100 08:59:44 file_header: OK 08:59:44 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 08:59:44 Statistics: 08:59:44 Hnuu...uuuununununu...Hnuu...uuuununununu... 08:59:44 File successfully converted to sysstat format version 12.2.1 08:59:44 + sadf -c /var/log/sa-host/sa17 08:59:44 file_magic: OK 08:59:44 HZ: Using current value: 100 08:59:44 file_header: OK 08:59:44 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 08:59:44 Statistics: 08:59:44 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:59:44 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:59:44 provisioning config files... 08:59:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config3734982189955990053tmp [Pipeline] { [Pipeline] echo 08:59:44 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:59:44 ---> create-netrc.sh [Pipeline] echo 08:59:44 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:59:45 ---> logs-deploy.sh 08:59:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/24 08:59:45 INFO: archiving workspace using pattern(s): 08:59:46 Archives upload complete. 08:59:46 INFO: archiving logs to Nexus 08:59:47 ---> uname -a: 08:59:47 Linux 58311de0daec 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 08:59:47 08:59:47 08:59:47 ---> lscpu: 08:59:47 Architecture: x86_64 08:59:47 CPU op-mode(s): 32-bit, 64-bit 08:59:47 Byte Order: Little Endian 08:59:47 Address sizes: 40 bits physical, 48 bits virtual 08:59:47 CPU(s): 4 08:59:47 On-line CPU(s) list: 0-3 08:59:47 Thread(s) per core: 1 08:59:47 Core(s) per socket: 1 08:59:47 Socket(s): 4 08:59:47 NUMA node(s): 1 08:59:47 Vendor ID: GenuineIntel 08:59:47 CPU family: 6 08:59:47 Model: 44 08:59:47 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 08:59:47 Stepping: 1 08:59:47 CPU MHz: 2933.436 08:59:47 BogoMIPS: 5866.87 08:59:47 Virtualization: VT-x 08:59:47 Hypervisor vendor: KVM 08:59:47 Virtualization type: full 08:59:47 L1d cache: 128 KiB 08:59:47 L1i cache: 128 KiB 08:59:47 L2 cache: 16 MiB 08:59:47 L3 cache: 64 MiB 08:59:47 NUMA node0 CPU(s): 0-3 08:59:47 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 08:59:47 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 08:59:47 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 08:59:47 Vulnerability Meltdown: Mitigation; PTI 08:59:47 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 08:59:47 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 08:59:47 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 08:59:47 Vulnerability Tsx async abort: Not affected 08:59:47 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 08:59:47 08:59:47 08:59:47 ---> nproc: 08:59:47 4 08:59:47 08:59:47 08:59:47 ---> df -h: 08:59:47 Filesystem Size Used Available Use% Mounted on 08:59:47 overlay 50.0G 8.2G 41.8G 16% / 08:59:47 tmpfs 64.0M 0 64.0M 0% /dev 08:59:47 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 08:59:47 shm 64.0M 0 64.0M 0% /dev/shm 08:59:47 /dev/vda1 50.0G 8.2G 41.8G 16% /etc/resolv.conf 08:59:47 /dev/vda1 50.0G 8.2G 41.8G 16% /etc/hostname 08:59:47 /dev/vda1 50.0G 8.2G 41.8G 16% /etc/hosts 08:59:47 /dev/vda1 50.0G 8.2G 41.8G 16% /var/log/sa-host 08:59:47 /dev/vda1 50.0G 8.2G 41.8G 16% /w/workspace/xfoundry_device-modbus-go_master 08:59:47 /dev/vda1 50.0G 8.2G 41.8G 16% /w/workspace/xfoundry_device-modbus-go_master@tmp 08:59:47 08:59:47 08:59:47 ---> free -m: 08:59:47 total used free shared buff/cache available 08:59:47 Mem: 1837 800 118 0 918 970 08:59:47 Swap: 1023 3 1020 08:59:47 08:59:47 08:59:47 ---> ip addr: 08:59:47 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 08:59:47 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 08:59:47 inet 127.0.0.1/8 scope host lo 08:59:47 valid_lft forever preferred_lft forever 08:59:47 24: eth0@if25: mtu 1458 qdisc noqueue state UP 08:59:47 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 08:59:47 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 08:59:47 valid_lft forever preferred_lft forever 08:59:47 08:59:47 08:59:47 ---> sar -b -r -n DEV: 08:59:47 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/17/20 _x86_64_ (4 CPU) 08:59:47 08:59:47 08:51:04 LINUX RESTART (4 CPU) 08:59:47 08:59:47 08:52:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 08:59:47 08:53:01 29.68 11.37 18.31 0.00 4466.52 2058.03 0.00 08:59:47 08:54:01 1.58 0.00 1.58 0.00 0.00 27.79 0.00 08:59:47 08:55:01 0.30 0.00 0.30 0.00 0.00 4.20 0.00 08:59:47 08:56:01 0.25 0.00 0.25 0.00 0.00 3.36 0.00 08:59:47 08:57:01 0.23 0.00 0.23 0.00 0.00 3.55 0.00 08:59:47 08:58:01 208.14 116.66 91.48 0.00 6836.75 31824.55 0.00 08:59:47 08:59:01 181.35 55.84 125.51 0.00 3608.65 30360.82 0.00 08:59:47 Average: 60.24 26.27 33.96 0.00 2130.75 9186.33 0.00 08:59:47 08:59:47 08:52:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 08:59:47 08:53:01 163420 0 594688 31.61 2620 1120828 1119636 38.21 426684 1132076 16 08:59:47 08:54:01 168552 0 589552 31.33 2620 1120832 1075248 36.70 426800 1128116 24 08:59:47 08:55:01 168152 0 589944 31.35 2620 1120840 1075320 36.70 427248 1128116 12 08:59:47 08:56:01 165940 0 592156 31.47 2620 1120840 1075372 36.70 436212 1121356 20 08:59:47 08:57:01 166756 0 591332 31.43 2620 1120848 1075216 36.70 438456 1118288 12 08:59:47 08:58:01 185260 0 653544 34.73 2620 1040132 1300616 44.39 542112 958684 56 08:59:47 08:59:01 67980 0 763520 40.58 2132 1047924 1273024 43.45 588952 948348 520 08:59:47 Average: 155151 0 624962 33.22 2550 1098892 1142062 38.98 469495 1076426 94 08:59:47 08:59:47 08:52:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 08:59:47 08:53:01 eth0 85.50 64.39 353.88 33.46 0.00 0.00 0.00 0.00 08:59:47 08:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:59:47 08:53:01 docker0 1.88 1.61 0.34 3.68 0.00 0.00 0.00 0.00 08:59:47 08:54:01 eth0 3.23 0.30 0.52 0.23 0.00 0.00 0.00 0.00 08:59:47 08:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:59:47 08:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:59:47 08:55:01 eth0 3.16 1.00 1.23 0.76 0.00 0.00 0.00 0.00 08:59:47 08:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:59:47 08:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:59:47 08:56:01 eth0 1.10 0.58 0.55 0.44 0.00 0.00 0.00 0.00 08:59:47 08:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:59:47 08:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:59:47 08:57:01 eth0 0.32 0.10 0.08 0.06 0.00 0.00 0.00 0.00 08:59:47 08:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:59:47 08:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:59:47 08:58:01 vethbc94aa1 0.27 0.23 0.04 0.12 0.00 0.00 0.00 0.00 08:59:47 08:58:01 eth0 455.66 411.50 4005.12 40.11 0.00 0.00 0.00 0.00 08:59:47 08:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:59:47 08:58:01 docker0 23.44 21.17 2.56 50.78 0.00 0.00 0.00 0.00 08:59:47 08:59:01 veth16494f9 2.05 1.41 0.15 0.23 0.00 0.00 0.00 0.00 08:59:47 08:59:01 eth0 496.14 440.40 3266.47 101.83 0.00 0.00 0.00 0.00 08:59:47 08:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:59:47 08:59:01 docker0 3.39 2.43 0.37 0.71 0.00 0.00 0.00 0.00 08:59:47 Average: veth16494f9 0.29 0.20 0.02 0.03 0.00 0.00 0.00 0.00 08:59:47 Average: eth0 149.35 131.23 1090.05 25.28 0.00 0.00 0.00 0.00 08:59:47 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:59:47 Average: docker0 4.10 3.60 0.47 7.88 0.00 0.00 0.00 0.00 08:59:47 08:59:47 08:59:47 ---> sar -P ALL: 08:59:47 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/17/20 _x86_64_ (4 CPU) 08:59:47 08:59:47 08:51:04 LINUX RESTART (4 CPU) 08:59:47 08:59:47 08:52:01 CPU %user %nice %system %iowait %steal %idle 08:59:47 08:53:01 all 2.99 0.00 1.72 0.65 0.14 94.50 08:59:47 08:53:01 0 2.84 0.00 1.75 0.52 0.15 94.74 08:59:47 08:53:01 1 3.09 0.00 1.66 0.92 0.13 94.19 08:59:47 08:53:01 2 2.61 0.00 1.89 0.89 0.17 94.44 08:59:47 08:53:01 3 3.41 0.00 1.59 0.27 0.12 94.61 08:59:47 08:54:01 all 0.15 0.00 0.05 0.00 0.11 99.70 08:59:47 08:54:01 0 0.05 0.00 0.07 0.00 0.12 99.77 08:59:47 08:54:01 1 0.17 0.00 0.03 0.00 0.13 99.67 08:59:47 08:54:01 2 0.35 0.00 0.05 0.00 0.10 99.50 08:59:47 08:54:01 3 0.03 0.00 0.03 0.00 0.08 99.85 08:59:47 08:55:01 all 0.17 0.00 0.04 0.00 0.05 99.74 08:59:47 08:55:01 0 0.05 0.00 0.02 0.00 0.05 99.88 08:59:47 08:55:01 1 0.07 0.00 0.03 0.00 0.07 99.83 08:59:47 08:55:01 2 0.52 0.00 0.05 0.00 0.05 99.38 08:59:47 08:55:01 3 0.05 0.00 0.05 0.00 0.05 99.85 08:59:47 08:56:01 all 0.15 0.00 0.03 0.00 0.00 99.81 08:59:47 08:56:01 0 0.07 0.00 0.02 0.00 0.00 99.92 08:59:47 08:56:01 1 0.05 0.00 0.07 0.00 0.00 99.88 08:59:47 08:56:01 2 0.47 0.00 0.03 0.00 0.00 99.50 08:59:47 08:56:01 3 0.03 0.00 0.02 0.00 0.02 99.93 08:59:47 08:57:01 all 0.15 0.00 0.05 0.00 0.00 99.80 08:59:47 08:57:01 0 0.03 0.00 0.03 0.00 0.00 99.93 08:59:47 08:57:01 1 0.03 0.00 0.12 0.00 0.02 99.83 08:59:47 08:57:01 2 0.50 0.00 0.02 0.00 0.00 99.48 08:59:47 08:57:01 3 0.02 0.00 0.03 0.00 0.00 99.95 08:59:47 08:58:01 all 8.05 0.00 5.09 1.71 0.20 84.95 08:59:47 08:58:01 0 7.00 0.00 4.92 2.00 0.24 85.84 08:59:47 08:58:01 1 8.38 0.00 4.96 1.14 0.20 85.32 08:59:47 08:58:01 2 8.55 0.00 5.02 3.07 0.17 83.18 08:59:47 08:58:01 3 8.24 0.00 5.48 0.65 0.17 85.46 08:59:47 08:59:01 all 9.78 0.00 7.74 2.51 0.58 79.39 08:59:47 08:59:01 0 9.64 0.00 8.09 2.47 0.54 79.26 08:59:47 08:59:01 1 9.36 0.00 7.57 2.73 0.53 79.81 08:59:47 08:59:01 2 9.90 0.00 8.10 2.32 0.57 79.12 08:59:47 08:59:01 3 10.23 0.00 7.20 2.50 0.69 79.39 08:59:47 Average: all 3.01 0.00 2.07 0.68 0.15 94.08 08:59:47 Average: 0 2.76 0.00 2.08 0.70 0.15 94.31 08:59:47 Average: 1 2.98 0.00 2.03 0.67 0.15 94.16 08:59:47 Average: 2 3.23 0.00 2.13 0.89 0.15 93.61 08:59:47 Average: 3 3.10 0.00 2.02 0.48 0.16 94.24 08:59:47 08:59:47 08:59:47