Pull request #237 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 494d726b2d047eda5dbb4685e4b607f7b0bd2540+90bd167c5e008ca72793a95020c1bd222277a38a (206732eaaf01c691d6630abf99a97e6bc7dbe365) 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4507’ is offline; ‘prd-centos7-docker-4c-2g-4509’ is offline; ‘prd-centos7-docker-4c-2g-4511’ is offline; ‘prd-centos7-docker-4c-2g-4515’ is offline; ‘prd-centos7-docker-4c-2g-4525’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4516’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4517’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4527 in /w/workspace/xfoundry_device-modbus-go_PR-237 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-237 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 90bd167c5e008ca72793a95020c1bd222277a38a into PR head commit 494d726b2d047eda5dbb4685e4b607f7b0bd2540 Merge succeeded, producing 494d726b2d047eda5dbb4685e4b607f7b0bd2540 Checking out Revision 494d726b2d047eda5dbb4685e4b607f7b0bd2540 (PR-237) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/237/head:refs/remotes/origin/PR-237 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 494d726b2d047eda5dbb4685e4b607f7b0bd2540 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 90bd167c5e008ca72793a95020c1bd222277a38a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 494d726b2d047eda5dbb4685e4b607f7b0bd2540 # timeout=10 Commit message: "Merge branch 'secure-bus' of https://github.com/lenny-intel/device-modbus-go into secure-bus" > git rev-list --no-walk 9a7b3a01cee23211e29c5095c5af6283bb315c45 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-11T17:23:09.374Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-11T17:23:09.468Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-11T17:23:09.496Z] ========================================================= [2021-05-11T17:23:09.496Z] EdgeX Global Pipelines Version Info [2021-05-11T17:23:09.496Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:23:11.080Z] ------------------- [2021-05-11T17:23:11.080Z] stable info: [2021-05-11T17:23:11.080Z] ------------------- [2021-05-11T17:23:11.080Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-11T17:23:11.080Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-11T17:23:11.080Z] Message: update stable to v1.0.192 [2021-05-11T17:23:12.026Z] ------------------- [2021-05-11T17:23:12.026Z] experimental info: [2021-05-11T17:23:12.026Z] ------------------- [2021-05-11T17:23:12.026Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-11T17:23:12.026Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-11T17:23:12.026Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-11T17:23:12.152Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-05-11T17:23:12.178Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-05-11T17:23:12.203Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-11T17:23:12.226Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-11T17:23:12.249Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-11T17:23:12.273Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-11T17:23:12.305Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-11T17:23:12.329Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-11T17:23:12.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-11T17:23:12.378Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-11T17:23:12.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-11T17:23:12.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2021-05-11T17:23:12.449Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-11T17:23:12.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-11T17:23:12.497Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-11T17:23:12.522Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-11T17:23:12.546Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T17:23:12.569Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T17:23:12.592Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-11T17:23:12.617Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-05-11T17:23:12.640Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-11T17:23:12.663Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-11T17:23:12.686Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-11T17:23:12.710Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-11T17:23:12.733Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-11T17:23:13.564Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-11T17:23:13.592Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-237 [Pipeline] echo [2021-05-11T17:23:13.619Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-237 [Pipeline] echo [2021-05-11T17:23:13.647Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-237 [Pipeline] echo [2021-05-11T17:23:13.676Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 494d726b2d047eda5dbb4685e4b607f7b0bd2540 [Pipeline] echo [2021-05-11T17:23:13.702Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 494d726 [Pipeline] echo [2021-05-11T17:23:13.730Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T17:23:13.813Z] provisioning config files... [2021-05-11T17:23:13.843Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-237@tmp/config3837892646518981056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:23:14.171Z] ---> docker-login.sh [2021-05-11T17:23:14.172Z] nexus3.edgexfoundry.org:10001 [2021-05-11T17:23:14.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:23:14.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:23:14.708Z] Configure a credential helper to remove this warning. See [2021-05-11T17:23:14.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:23:14.708Z] [2021-05-11T17:23:14.708Z] Login Succeeded [2021-05-11T17:23:14.708Z] nexus3.edgexfoundry.org:10002 [2021-05-11T17:23:14.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:23:14.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:23:14.708Z] Configure a credential helper to remove this warning. See [2021-05-11T17:23:14.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:23:14.708Z] [2021-05-11T17:23:14.708Z] Login Succeeded [2021-05-11T17:23:14.708Z] nexus3.edgexfoundry.org:10003 [2021-05-11T17:23:14.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:23:14.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:23:14.972Z] Configure a credential helper to remove this warning. See [2021-05-11T17:23:14.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:23:14.972Z] [2021-05-11T17:23:14.972Z] Login Succeeded [2021-05-11T17:23:14.972Z] nexus3.edgexfoundry.org:10004 [2021-05-11T17:23:14.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:23:15.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:23:15.235Z] Configure a credential helper to remove this warning. See [2021-05-11T17:23:15.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:23:15.235Z] [2021-05-11T17:23:15.235Z] Login Succeeded [2021-05-11T17:23:15.235Z] docker.io [2021-05-11T17:23:15.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:23:15.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:23:15.500Z] Configure a credential helper to remove this warning. See [2021-05-11T17:23:15.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:23:15.500Z] [2021-05-11T17:23:15.500Z] Login Succeeded [2021-05-11T17:23:15.500Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T17:23:15.511Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T17:23:15.963Z] + git log --format=format:%s -1 494d726b2d047eda5dbb4685e4b607f7b0bd2540 [Pipeline] echo [2021-05-11T17:23:16.044Z] GIT_COMMIT: 494d726b2d047eda5dbb4685e4b607f7b0bd2540, Commit Message: Merge branch 'secure-bus' of https://github.com/lenny-intel/device-modbus-go into secure-bus [Pipeline] echo [2021-05-11T17:23:16.057Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:23:16.652Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T17:23:16.652Z] [2021-05-11T17:23:16.652Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:23:16.971Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T17:23:16.971Z] latest: Pulling from edgex-devops/git-semver [2021-05-11T17:23:16.971Z] 31603596830f: Pulling fs layer [2021-05-11T17:23:16.971Z] 54011a49482f: Pulling fs layer [2021-05-11T17:23:16.972Z] a6820b24f6d8: Pulling fs layer [2021-05-11T17:23:16.972Z] f581987b2513: Pulling fs layer [2021-05-11T17:23:16.972Z] 54011a49482f: Verifying Checksum [2021-05-11T17:23:16.972Z] 54011a49482f: Download complete [2021-05-11T17:23:16.972Z] 31603596830f: Verifying Checksum [2021-05-11T17:23:16.972Z] 31603596830f: Download complete [2021-05-11T17:23:17.239Z] f581987b2513: Verifying Checksum [2021-05-11T17:23:17.239Z] f581987b2513: Download complete [2021-05-11T17:23:17.239Z] a6820b24f6d8: Verifying Checksum [2021-05-11T17:23:17.239Z] a6820b24f6d8: Download complete [2021-05-11T17:23:17.507Z] 31603596830f: Pull complete [2021-05-11T17:23:17.507Z] 54011a49482f: Pull complete [2021-05-11T17:23:18.459Z] a6820b24f6d8: Pull complete [2021-05-11T17:23:18.722Z] f581987b2513: Pull complete [2021-05-11T17:23:18.722Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-11T17:23:18.722Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T17:23:18.722Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-11T17:23:18.836Z] prd-centos7-docker-4c-2g-4527 does not seem to be running inside a container [2021-05-11T17:23:18.887Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-237 -v /w/workspace/xfoundry_device-modbus-go_PR-237:/w/workspace/xfoundry_device-modbus-go_PR-237:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-237@tmp:/w/workspace/xfoundry_device-modbus-go_PR-237@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-11T17:23:21.301Z] $ docker top 5fd507da514353c189347ae254554018bd923d9f5976bc0a75457ae8a16a4c6f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-11T17:23:21.457Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T17:23:21.457Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T17:23:21.683Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T17:23:21.687Z] $ docker exec 5fd507da514353c189347ae254554018bd923d9f5976bc0a75457ae8a16a4c6f ssh-agent [2021-05-11T17:23:21.880Z] SSH_AUTH_SOCK=/tmp/ssh-1OucYw8J1zXZ/agent.12 [2021-05-11T17:23:21.880Z] SSH_AGENT_PID=17 [2021-05-11T17:23:21.892Z] Running ssh-add (command line suppressed) [2021-05-11T17:23:22.016Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-237@tmp/private_key_1984189030368401808.key (/w/workspace/xfoundry_device-modbus-go_PR-237@tmp/private_key_1984189030368401808.key) [2021-05-11T17:23:22.069Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T17:23:22.376Z] + git tag --points-at HEAD [Pipeline] } [2021-05-11T17:23:22.396Z] $ docker exec --env ******** --env ******** 5fd507da514353c189347ae254554018bd923d9f5976bc0a75457ae8a16a4c6f ssh-agent -k [2021-05-11T17:23:22.522Z] unset SSH_AUTH_SOCK; [2021-05-11T17:23:22.522Z] unset SSH_AGENT_PID; [2021-05-11T17:23:22.522Z] echo Agent pid 17 killed; [2021-05-11T17:23:22.573Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-11T17:23:22.621Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T17:23:22.621Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T17:23:22.793Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T17:23:22.797Z] $ docker exec 5fd507da514353c189347ae254554018bd923d9f5976bc0a75457ae8a16a4c6f ssh-agent [2021-05-11T17:23:22.967Z] SSH_AUTH_SOCK=/tmp/ssh-bYShFp6H8rL4/agent.46 [2021-05-11T17:23:22.967Z] SSH_AGENT_PID=51 [2021-05-11T17:23:22.975Z] Running ssh-add (command line suppressed) [2021-05-11T17:23:23.095Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-237@tmp/private_key_2456853884663542708.key (/w/workspace/xfoundry_device-modbus-go_PR-237@tmp/private_key_2456853884663542708.key) [2021-05-11T17:23:23.151Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T17:23:23.461Z] + git semver init [2021-05-11T17:23:23.461Z] # -> Open(): unable to determine branch for HEAD [2021-05-11T17:23:23.461Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-237/.git [2021-05-11T17:23:23.461Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-237 [2021-05-11T17:23:23.461Z] # $SEMVER_REMOTE_NAME = origin [2021-05-11T17:23:23.461Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-11T17:23:23.461Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-11T17:23:23.461Z] # $SEMVER_BRANCH = PR-237 [2021-05-11T17:23:23.461Z] # $SEMVER_TEMP = /tmp/semver-100842492 [2021-05-11T17:23:23.461Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-05-11T17:23:24.036Z] # '/tmp/semver-100842492' -> '/w/workspace/xfoundry_device-modbus-go_PR-237/.semver' [2021-05-11T17:23:24.036Z] # -> Force: false [2021-05-11T17:23:24.036Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-237/.semver [Pipeline] } [2021-05-11T17:23:24.050Z] $ docker exec --env ******** --env ******** 5fd507da514353c189347ae254554018bd923d9f5976bc0a75457ae8a16a4c6f ssh-agent -k [2021-05-11T17:23:24.172Z] unset SSH_AUTH_SOCK; [2021-05-11T17:23:24.172Z] unset SSH_AGENT_PID; [2021-05-11T17:23:24.172Z] echo Agent pid 51 killed; [2021-05-11T17:23:24.227Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-11T17:23:24.562Z] + git semver [Pipeline] } [2021-05-11T17:23:24.579Z] $ docker stop --time=1 5fd507da514353c189347ae254554018bd923d9f5976bc0a75457ae8a16a4c6f [2021-05-11T17:23:25.966Z] $ docker rm -f 5fd507da514353c189347ae254554018bd923d9f5976bc0a75457ae8a16a4c6f [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T17:23:26.446Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-11T17:23:26.791Z] Stashed 1 file(s) [Pipeline] echo [2021-05-11T17:23:26.794Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-11T17:23:41.973Z] Still waiting to schedule task [2021-05-11T17:23:41.973Z] ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4507’ is offline; ‘prd-centos7-docker-4c-2g-4509’ is offline; ‘prd-centos7-docker-4c-2g-4511’ is offline; ‘prd-centos7-docker-4c-2g-4515’ is offline; ‘prd-centos7-docker-4c-2g-4521’ is offline; ‘prd-centos7-docker-4c-2g-4523’ is offline; ‘prd-centos7-docker-4c-2g-4528’ is offline; ‘prd-centos7-docker-4c-2g-4529’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4516’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4517’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-11T17:23:41.976Z] Still waiting to schedule task [2021-05-11T17:23:41.976Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-11T17:24:00.396Z] Running on prd-centos7-docker-4c-2g-4529 in /w/workspace/xfoundry_device-modbus-go_PR-237 [Pipeline] { [Pipeline] ws [2021-05-11T17:24:00.414Z] Running in /w/workspace/device-modbus-go/5 [Pipeline] { [Pipeline] checkout [2021-05-11T17:24:03.630Z] using credential edgex-jenkins-ssh [2021-05-11T17:24:03.660Z] Cloning the remote Git repository [2021-05-11T17:24:03.700Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-05-11T17:24:03.785Z] > git init /w/workspace/device-modbus-go/5 # timeout=10 [2021-05-11T17:24:03.848Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-11T17:24:03.849Z] > git --version # timeout=10 [2021-05-11T17:24:03.869Z] > git --version # 'git version 2.24.3' [2021-05-11T17:24:03.870Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:24:03.912Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T17:24:05.167Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-11T17:24:05.693Z] Merging remotes/origin/master commit 90bd167c5e008ca72793a95020c1bd222277a38a into PR head commit 494d726b2d047eda5dbb4685e4b607f7b0bd2540 [2021-05-11T17:24:05.813Z] Merge succeeded, producing 494d726b2d047eda5dbb4685e4b607f7b0bd2540 [2021-05-11T17:24:05.813Z] Checking out Revision 494d726b2d047eda5dbb4685e4b607f7b0bd2540 (PR-237) [2021-05-11T17:24:05.181Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T17:24:05.192Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-11T17:24:05.206Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-11T17:24:05.207Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:24:05.212Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/237/head:refs/remotes/origin/PR-237 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T17:24:05.705Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T17:24:05.725Z] > git checkout -f 494d726b2d047eda5dbb4685e4b607f7b0bd2540 # timeout=10 [2021-05-11T17:24:05.764Z] > git remote # timeout=10 [2021-05-11T17:24:05.776Z] > git config --get remote.origin.url # timeout=10 [2021-05-11T17:24:05.783Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:24:05.787Z] > git merge 90bd167c5e008ca72793a95020c1bd222277a38a # timeout=10 [2021-05-11T17:24:05.806Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-11T17:24:05.818Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T17:24:05.846Z] > git checkout -f 494d726b2d047eda5dbb4685e4b607f7b0bd2540 # timeout=10 [2021-05-11T17:24:09.569Z] Commit message: "Merge branch 'secure-bus' of https://github.com/lenny-intel/device-modbus-go into secure-bus" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T17:24:10.707Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-11T17:24:11.068Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-11T17:24:11.373Z] + sudo service docker restart [2021-05-11T17:24:11.374Z] + true [2021-05-11T17:24:11.374Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T17:24:12.814Z] provisioning config files... [2021-05-11T17:24:12.854Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/5@tmp/config4310457036470709926tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:24:13.192Z] ---> docker-login.sh [2021-05-11T17:24:13.193Z] nexus3.edgexfoundry.org:10001 [2021-05-11T17:24:13.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:24:13.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:24:13.723Z] Configure a credential helper to remove this warning. See [2021-05-11T17:24:13.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:24:13.723Z] [2021-05-11T17:24:13.723Z] Login Succeeded [2021-05-11T17:24:13.723Z] nexus3.edgexfoundry.org:10002 [2021-05-11T17:24:13.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:24:13.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:24:13.992Z] Configure a credential helper to remove this warning. See [2021-05-11T17:24:13.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:24:13.992Z] [2021-05-11T17:24:13.992Z] Login Succeeded [2021-05-11T17:24:13.992Z] nexus3.edgexfoundry.org:10003 [2021-05-11T17:24:13.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:24:13.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:24:13.992Z] Configure a credential helper to remove this warning. See [2021-05-11T17:24:13.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:24:13.992Z] [2021-05-11T17:24:13.992Z] Login Succeeded [2021-05-11T17:24:13.992Z] nexus3.edgexfoundry.org:10004 [2021-05-11T17:24:14.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:24:14.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:24:14.273Z] Configure a credential helper to remove this warning. See [2021-05-11T17:24:14.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:24:14.273Z] [2021-05-11T17:24:14.273Z] Login Succeeded [2021-05-11T17:24:14.273Z] docker.io [2021-05-11T17:24:14.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:24:14.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:24:14.811Z] Configure a credential helper to remove this warning. See [2021-05-11T17:24:14.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:24:14.811Z] [2021-05-11T17:24:14.811Z] Login Succeeded [2021-05-11T17:24:14.811Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T17:24:14.822Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-11T17:24:15.035Z] ========================================================= [2021-05-11T17:24:15.035Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-11T17:24:15.035Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:24:15.354Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-11T17:24:15.642Z] Sending build context to Docker daemon 630.8kB [2021-05-11T17:24:15.642Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-11T17:24:15.642Z] Step 2/8 : FROM ${BASE} [2021-05-11T17:24:15.642Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-11T17:24:15.642Z] 540db60ca938: Pulling fs layer [2021-05-11T17:24:15.642Z] adcc1eea9eea: Pulling fs layer [2021-05-11T17:24:15.642Z] 4c4ab2625f07: Pulling fs layer [2021-05-11T17:24:15.642Z] 0510c868ecb4: Pulling fs layer [2021-05-11T17:24:15.642Z] afea3b2eda06: Pulling fs layer [2021-05-11T17:24:15.642Z] 7809a108b3ef: Pulling fs layer [2021-05-11T17:24:15.642Z] f706445af74f: Pulling fs layer [2021-05-11T17:24:15.642Z] afea3b2eda06: Waiting [2021-05-11T17:24:15.642Z] 7809a108b3ef: Waiting [2021-05-11T17:24:15.642Z] f706445af74f: Waiting [2021-05-11T17:24:15.642Z] 0510c868ecb4: Waiting [2021-05-11T17:24:15.642Z] 4c4ab2625f07: Verifying Checksum [2021-05-11T17:24:15.642Z] 4c4ab2625f07: Download complete [2021-05-11T17:24:15.642Z] adcc1eea9eea: Download complete [2021-05-11T17:24:15.642Z] afea3b2eda06: Verifying Checksum [2021-05-11T17:24:15.642Z] afea3b2eda06: Download complete [2021-05-11T17:24:15.642Z] 540db60ca938: Verifying Checksum [2021-05-11T17:24:15.642Z] 540db60ca938: Download complete [2021-05-11T17:24:15.642Z] 7809a108b3ef: Verifying Checksum [2021-05-11T17:24:15.642Z] 7809a108b3ef: Download complete [2021-05-11T17:24:16.223Z] 540db60ca938: Pull complete [2021-05-11T17:24:16.223Z] adcc1eea9eea: Pull complete [2021-05-11T17:24:16.491Z] 4c4ab2625f07: Pull complete [2021-05-11T17:24:17.448Z] f706445af74f: Verifying Checksum [2021-05-11T17:24:17.448Z] f706445af74f: Download complete [2021-05-11T17:24:18.431Z] 0510c868ecb4: Verifying Checksum [2021-05-11T17:24:18.431Z] 0510c868ecb4: Download complete [2021-05-11T17:24:25.086Z] 0510c868ecb4: Pull complete [2021-05-11T17:24:25.086Z] afea3b2eda06: Pull complete [2021-05-11T17:24:25.086Z] 7809a108b3ef: Pull complete [2021-05-11T17:24:31.731Z] f706445af74f: Pull complete [2021-05-11T17:24:31.731Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-11T17:24:31.731Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-11T17:24:31.731Z] ---> b068be0155e3 [2021-05-11T17:24:31.731Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-11T17:24:32.001Z] ---> Running in ff89e082a064 [2021-05-11T17:24:32.272Z] Removing intermediate container ff89e082a064 [2021-05-11T17:24:32.272Z] ---> 75ba31a40bd4 [2021-05-11T17:24:32.272Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T17:24:32.272Z] ---> Running in b90e6d1d84b6 [2021-05-11T17:24:34.212Z] Removing intermediate container b90e6d1d84b6 [2021-05-11T17:24:34.212Z] ---> 7fb5792966f4 [2021-05-11T17:24:34.212Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-11T17:24:34.212Z] ---> Running in e65f5ec7b6bc [2021-05-11T17:24:34.803Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T17:24:35.752Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T17:24:36.026Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-11T17:24:36.026Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-11T17:24:36.296Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-11T17:24:36.296Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-11T17:24:36.563Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-11T17:24:36.563Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-11T17:24:36.563Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-11T17:24:36.827Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-11T17:24:37.091Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-11T17:24:37.091Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-11T17:24:37.091Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-11T17:24:37.356Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-11T17:24:37.356Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-11T17:24:37.631Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T17:24:37.631Z] OK: 156 MiB in 53 packages [2021-05-11T17:24:38.581Z] Removing intermediate container e65f5ec7b6bc [2021-05-11T17:24:38.582Z] ---> eac39c15b4df [2021-05-11T17:24:38.582Z] Step 6/8 : WORKDIR /device-modbus-go [2021-05-11T17:24:38.582Z] ---> Running in 4ddae19496e0 [2021-05-11T17:24:38.582Z] Removing intermediate container 4ddae19496e0 [2021-05-11T17:24:38.582Z] ---> 2c0201131960 [2021-05-11T17:24:38.582Z] Step 7/8 : COPY . . [2021-05-11T17:24:39.570Z] ---> b1317e92a79a [2021-05-11T17:24:39.570Z] Step 8/8 : RUN go mod download [2021-05-11T17:24:39.570Z] ---> Running in db6bd51d3574 [2021-05-11T17:25:06.272Z] Removing intermediate container db6bd51d3574 [2021-05-11T17:25:06.272Z] ---> bca60d15d91b [2021-05-11T17:25:06.272Z] Successfully built bca60d15d91b [2021-05-11T17:25:06.272Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:25:06.608Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T17:25:06.887Z] . [Pipeline] withDockerContainer [2021-05-11T17:25:07.058Z] prd-centos7-docker-4c-2g-4529 does not seem to be running inside a container [2021-05-11T17:25:07.150Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-11T17:25:08.325Z] $ docker top 46daa48dfbc3fad5c9316f2854e509df5de1c24d0e965a26601615d345852602 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T17:25:08.956Z] + go version [2021-05-11T17:25:09.235Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-11T17:25:09.256Z] $ docker stop --time=1 46daa48dfbc3fad5c9316f2854e509df5de1c24d0e965a26601615d345852602 [2021-05-11T17:25:10.711Z] $ docker rm -f 46daa48dfbc3fad5c9316f2854e509df5de1c24d0e965a26601615d345852602 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:25:11.264Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T17:25:11.264Z] . [Pipeline] withDockerContainer [2021-05-11T17:25:11.381Z] prd-centos7-docker-4c-2g-4529 does not seem to be running inside a container [2021-05-11T17:25:11.447Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-11T17:25:12.177Z] $ docker top b5f948bca73ccfec95b4983c7cb2c1ca8e0c003ff9a06a8b4b6558f88d9985f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T17:25:12.663Z] + go mod tidy [Pipeline] sh [2021-05-11T17:25:13.588Z] + make test [2021-05-11T17:25:13.588Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-11T17:25:14.578Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-05-11T17:25:37.009Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-05-11T17:25:37.009Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.017s coverage: 47.7% of statements [2021-05-11T17:25:37.275Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-11T17:25:47.452Z] gofmt -l . [2021-05-11T17:25:47.452Z] [ "`gofmt -l .`" = "" ] [2021-05-11T17:25:47.452Z] ./bin/test-attribution-txt.sh [2021-05-11T17:25:48.030Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-11T17:25:48.048Z] $ docker stop --time=1 b5f948bca73ccfec95b4983c7cb2c1ca8e0c003ff9a06a8b4b6558f88d9985f7 [2021-05-11T17:25:49.877Z] $ docker rm -f b5f948bca73ccfec95b4983c7cb2c1ca8e0c003ff9a06a8b4b6558f88d9985f7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T17:25:50.462Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-11T17:25:50.949Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-11T17:25:53.418Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-11T17:25:53.816Z] + ls -al . [2021-05-11T17:25:53.816Z] total 112 [2021-05-11T17:25:53.816Z] drwxrwxr-x. 9 jenkins jenkins 4096 May 11 17:25 . [2021-05-11T17:25:53.816Z] drwxrwxr-x. 4 jenkins jenkins 28 May 11 17:24 .. [2021-05-11T17:25:53.816Z] -rw-rw-r--. 1 jenkins jenkins 7707 May 11 17:24 Attribution.txt [2021-05-11T17:25:53.816Z] drwxrwxr-x. 2 jenkins jenkins 87 May 11 17:24 bin [2021-05-11T17:25:53.816Z] drwxrwxr-x. 3 jenkins jenkins 32 May 11 17:24 cmd [2021-05-11T17:25:53.816Z] -rw-r--r--. 1 jenkins jenkins 22385 May 11 17:25 coverage.out [2021-05-11T17:25:53.816Z] -rw-rw-r--. 1 jenkins jenkins 1457 May 11 17:24 Dockerfile [2021-05-11T17:25:53.816Z] -rw-rw-r--. 1 jenkins jenkins 995 May 11 17:24 Dockerfile.build [2021-05-11T17:25:53.816Z] -rw-rw-r--. 1 jenkins jenkins 140 May 11 17:24 .dockerignore [2021-05-11T17:25:53.816Z] drwxrwxr-x. 8 jenkins jenkins 179 May 11 17:24 .git [2021-05-11T17:25:53.816Z] drwxrwxr-x. 2 jenkins jenkins 103 May 11 17:24 .github [2021-05-11T17:25:53.816Z] -rw-rw-r--. 1 jenkins jenkins 338 May 11 17:24 .gitignore [2021-05-11T17:25:53.816Z] -rw-r--r--. 1 jenkins jenkins 413 May 11 17:25 go.mod [2021-05-11T17:25:53.816Z] -rw-r--r--. 1 jenkins jenkins 21879 May 11 17:25 go.sum [2021-05-11T17:25:53.816Z] drwxrwxr-x. 3 jenkins jenkins 20 May 11 17:24 internal [2021-05-11T17:25:53.816Z] -rw-rw-r--. 1 jenkins jenkins 679 May 11 17:24 Jenkinsfile [2021-05-11T17:25:53.816Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 11 17:24 LICENSE [2021-05-11T17:25:53.816Z] -rw-rw-r--. 1 jenkins jenkins 910 May 11 17:24 Makefile [2021-05-11T17:25:53.816Z] -rw-rw-r--. 1 jenkins jenkins 2897 May 11 17:24 README.md [2021-05-11T17:25:53.816Z] drwxrwxr-x. 2 jenkins jenkins 52 May 11 17:24 simulator [2021-05-11T17:25:53.816Z] drwxrwxr-x. 4 jenkins jenkins 71 May 11 17:24 snap [2021-05-11T17:25:53.816Z] -rw-rw-r--. 1 jenkins jenkins 5 May 11 17:23 VERSION [2021-05-11T17:25:53.816Z] -rw-rw-r--. 1 jenkins jenkins 229 May 11 17:24 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:25:54.150Z] + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=494d726b2d047eda5dbb4685e4b607f7b0bd2540 --label arch=amd64 --label version=0.0.0 . [2021-05-11T17:25:54.414Z] Sending build context to Docker daemon 653.8kB [2021-05-11T17:25:54.414Z] Step 1/21 : ARG BASE=golang:1.15-alpine3.12 [2021-05-11T17:25:54.414Z] Step 2/21 : FROM ${BASE} AS builder [2021-05-11T17:25:54.414Z] ---> bca60d15d91b [2021-05-11T17:25:54.414Z] Step 3/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T17:25:54.750Z] ---> Running in e3037f007f3a [2021-05-11T17:25:56.171Z] Removing intermediate container e3037f007f3a [2021-05-11T17:25:56.171Z] ---> 2571f20a8084 [2021-05-11T17:25:56.171Z] Step 4/21 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-11T17:25:56.171Z] ---> Running in 1dd7d90e16c8 [2021-05-11T17:25:56.752Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T17:25:58.167Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T17:26:00.117Z] OK: 156 MiB in 53 packages [2021-05-11T17:26:00.699Z] Removing intermediate container 1dd7d90e16c8 [2021-05-11T17:26:00.699Z] ---> b3fe7114d7d6 [2021-05-11T17:26:00.699Z] Step 5/21 : WORKDIR /device-modbus-go [2021-05-11T17:26:00.699Z] ---> Running in a06401d38dbe [2021-05-11T17:26:00.699Z] Removing intermediate container a06401d38dbe [2021-05-11T17:26:00.699Z] ---> eaa101073d76 [2021-05-11T17:26:00.699Z] Step 6/21 : COPY . . [2021-05-11T17:26:01.671Z] ---> fa2aa38bd876 [2021-05-11T17:26:01.671Z] Step 7/21 : RUN go mod download [2021-05-11T17:26:01.671Z] ---> Running in 32929f71cc6b [2021-05-11T17:26:03.638Z] Removing intermediate container 32929f71cc6b [2021-05-11T17:26:03.638Z] ---> bb101d748576 [2021-05-11T17:26:03.638Z] Step 8/21 : RUN make build [2021-05-11T17:26:03.638Z] ---> Running in b695e12457cf [2021-05-11T17:26:03.912Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2021-05-11T17:26:18.997Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-11T17:26:23.240Z] Removing intermediate container b695e12457cf [2021-05-11T17:26:23.240Z] ---> d2cccf621c4d [2021-05-11T17:26:23.240Z] Step 9/21 : FROM alpine:3.12 [2021-05-11T17:26:23.240Z] 3.12: Pulling from library/alpine [2021-05-11T17:26:23.240Z] 339de151aab4: Pulling fs layer [2021-05-11T17:26:23.518Z] 339de151aab4: Verifying Checksum [2021-05-11T17:26:23.518Z] 339de151aab4: Download complete [2021-05-11T17:26:23.782Z] 339de151aab4: Pull complete [2021-05-11T17:26:23.782Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-11T17:26:23.782Z] Status: Downloaded newer image for alpine:3.12 [2021-05-11T17:26:23.782Z] ---> 13621d1b12d4 [2021-05-11T17:26:23.782Z] Step 10/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-05-11T17:26:24.053Z] ---> Running in 833c8a410385 [2021-05-11T17:26:24.053Z] Removing intermediate container 833c8a410385 [2021-05-11T17:26:24.053Z] ---> 2cbad6da0003 [2021-05-11T17:26:24.053Z] Step 11/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T17:26:24.320Z] ---> Running in 2f0370954b68 [2021-05-11T17:26:25.274Z] Removing intermediate container 2f0370954b68 [2021-05-11T17:26:25.274Z] ---> d896e08ae3ee [2021-05-11T17:26:25.274Z] Step 12/21 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-11T17:26:25.538Z] ---> Running in e04e2f04e7a8 [2021-05-11T17:26:26.162Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-11T17:26:26.735Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-11T17:26:26.998Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-11T17:26:27.274Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-11T17:26:27.274Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-11T17:26:27.274Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-11T17:26:28.237Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-11T17:26:28.237Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-11T17:26:28.266Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4533 in /w/workspace/xfoundry_device-modbus-go_PR-237 [Pipeline] { [Pipeline] ws [2021-05-11T17:26:28.287Z] Running in /w/workspace/device-modbus-go/5 [Pipeline] { [Pipeline] checkout [2021-05-11T17:26:28.500Z] Executing busybox-1.31.1-r20.trigger [2021-05-11T17:26:28.500Z] OK: 8 MiB in 20 packages [2021-05-11T17:26:29.075Z] Removing intermediate container e04e2f04e7a8 [2021-05-11T17:26:29.075Z] ---> 11138e51f041 [2021-05-11T17:26:29.075Z] Step 13/21 : COPY --from=builder /device-modbus-go/cmd / [2021-05-11T17:26:29.654Z] ---> 077986a0271c [2021-05-11T17:26:29.654Z] Step 14/21 : COPY --from=builder /device-modbus-go/LICENSE / [2021-05-11T17:26:29.921Z] ---> 3a8e4176fd09 [2021-05-11T17:26:29.921Z] Step 15/21 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-05-11T17:26:30.191Z] ---> 83fb33fcebe8 [2021-05-11T17:26:30.191Z] Step 16/21 : EXPOSE 49991 [2021-05-11T17:26:30.191Z] ---> Running in 335a130a19d8 [2021-05-11T17:26:30.459Z] Removing intermediate container 335a130a19d8 [2021-05-11T17:26:30.459Z] ---> c361643bd5c5 [2021-05-11T17:26:30.459Z] Step 17/21 : ENTRYPOINT ["/device-modbus"] [2021-05-11T17:26:30.459Z] ---> Running in d7a24140c25d [2021-05-11T17:26:30.723Z] Removing intermediate container d7a24140c25d [2021-05-11T17:26:30.723Z] ---> f18fa1580c90 [2021-05-11T17:26:30.723Z] Step 18/21 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-11T17:26:30.723Z] ---> Running in 326d107bb371 [2021-05-11T17:26:30.994Z] Removing intermediate container 326d107bb371 [2021-05-11T17:26:30.994Z] ---> 129d24629f9a [2021-05-11T17:26:30.994Z] Step 19/21 : LABEL arch=amd64 [2021-05-11T17:26:30.994Z] ---> Running in fc04aa5c6570 [2021-05-11T17:26:31.262Z] Removing intermediate container fc04aa5c6570 [2021-05-11T17:26:31.262Z] ---> 7ce4931a9daa [2021-05-11T17:26:31.262Z] Step 20/21 : LABEL git_sha=494d726b2d047eda5dbb4685e4b607f7b0bd2540 [2021-05-11T17:26:31.262Z] ---> Running in d83b6ff1b904 [2021-05-11T17:26:31.527Z] Removing intermediate container d83b6ff1b904 [2021-05-11T17:26:31.527Z] ---> 513d939fa5fe [2021-05-11T17:26:31.527Z] Step 21/21 : LABEL version=0.0.0 [2021-05-11T17:26:31.527Z] ---> Running in 7fdcdbcb58d6 [2021-05-11T17:26:31.804Z] Removing intermediate container 7fdcdbcb58d6 [2021-05-11T17:26:31.804Z] ---> 8a8a1e997ca7 [2021-05-11T17:26:31.804Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-11T17:26:31.804Z] Successfully built 8a8a1e997ca7 [2021-05-11T17:26:31.804Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] node [2021-05-11T17:26:34.568Z] using credential edgex-jenkins-ssh [2021-05-11T17:26:34.599Z] Cloning the remote Git repository [2021-05-11T17:26:34.661Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-05-11T17:26:34.779Z] > git init /w/workspace/device-modbus-go/5 # timeout=10 [2021-05-11T17:26:34.847Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-11T17:26:34.848Z] > git --version # timeout=10 [2021-05-11T17:26:34.869Z] > git --version # 'git version 2.17.1' [2021-05-11T17:26:34.871Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:26:34.939Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T17:26:35.702Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-11T17:26:35.718Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T17:26:35.748Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-11T17:26:35.787Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-11T17:26:35.788Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:26:35.799Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/237/head:refs/remotes/origin/PR-237 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T17:26:36.374Z] Merging remotes/origin/master commit 90bd167c5e008ca72793a95020c1bd222277a38a into PR head commit 494d726b2d047eda5dbb4685e4b607f7b0bd2540 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-11T17:26:36.527Z] Failed in branch arm64 [2021-05-11T17:26:36.399Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T17:26:36.413Z] > git checkout -f 494d726b2d047eda5dbb4685e4b607f7b0bd2540 # timeout=10 [2021-05-11T17:26:47.012Z] Still waiting to schedule task [2021-05-11T17:26:47.013Z] All nodes of label ‘ubuntu18.04-docker-8c-8g’ are offline [2021-05-11T17:27:40.548Z] Running on prd-ubuntu18.04-docker-8c-8g-4538 in /w/workspace/xfoundry_device-modbus-go_PR-237 [Pipeline] { [Pipeline] ws [2021-05-11T17:27:40.577Z] Running in /w/workspace/device-modbus-go/5 [Pipeline] { [Pipeline] checkout [2021-05-11T17:27:42.896Z] using credential edgex-jenkins-ssh [2021-05-11T17:27:42.931Z] Cloning the remote Git repository [2021-05-11T17:27:42.952Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-05-11T17:27:43.018Z] > git init /w/workspace/device-modbus-go/5 # timeout=10 [2021-05-11T17:27:43.044Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-11T17:27:43.044Z] > git --version # timeout=10 [2021-05-11T17:27:43.054Z] > git --version # 'git version 2.17.1' [2021-05-11T17:27:43.054Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:27:43.078Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T17:27:43.671Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-11T17:27:43.681Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T17:27:43.688Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-11T17:27:43.698Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-11T17:27:43.698Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:27:43.701Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/237/head:refs/remotes/origin/PR-237 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T17:27:44.179Z] Merging remotes/origin/master commit 90bd167c5e008ca72793a95020c1bd222277a38a into PR head commit 494d726b2d047eda5dbb4685e4b607f7b0bd2540 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:27:44.667Z] ---> job-cost.sh [2021-05-11T17:27:44.667Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-sshe [2021-05-11T17:27:44.190Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T17:27:44.194Z] > git checkout -f 494d726b2d047eda5dbb4685e4b607f7b0bd2540 # timeout=10 [2021-05-11T17:28:02.882Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-11T17:28:29.561Z] lf-activate-venv(): INFO: Adding /tmp/venv-sshe/bin to PATH [2021-05-11T17:28:29.561Z] INFO: No Stack... [2021-05-11T17:28:29.561Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T17:28:30.138Z] INFO: Archiving Costs [Pipeline] sh [2021-05-11T17:28:30.459Z] + cut -d, -f6 [2021-05-11T17:28:30.459Z] + cat /w/workspace/device-modbus-go/5/archives/cost.csv [Pipeline] lock [2021-05-11T17:28:30.561Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-237-5-stack-cost] [2021-05-11T17:28:30.570Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-237-5-stack-cost] did not exist. Created. [2021-05-11T17:28:30.570Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-237-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T17:28:30.916Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-11T17:28:31.072Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T17:28:31.125Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-237-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-11T17:28:31.284Z] Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:28:32.203Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:28:32.781Z] ---> package-listing.sh [2021-05-11T17:28:32.781Z] ++ facter osfamily [2021-05-11T17:28:32.781Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-11T17:28:32.781Z] + OS_FAMILY=redhat [2021-05-11T17:28:32.781Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-237 [2021-05-11T17:28:32.781Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-11T17:28:32.781Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-11T17:28:32.781Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-11T17:28:32.781Z] + PACKAGES=/tmp/packages_start.txt [2021-05-11T17:28:32.781Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-237 ']' [2021-05-11T17:28:32.781Z] + PACKAGES=/tmp/packages_end.txt [2021-05-11T17:28:32.781Z] + case "${OS_FAMILY}" in [2021-05-11T17:28:32.781Z] + rpm -qa [2021-05-11T17:28:32.781Z] + sort [2021-05-11T17:28:38.122Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-11T17:28:38.122Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-11T17:28:38.122Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-11T17:28:38.122Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-237 ']' [2021-05-11T17:28:38.122Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-237/archives/ [2021-05-11T17:28:38.122Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-237/archives/ [Pipeline] echo [2021-05-11T17:28:38.136Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-237/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-11T17:28:38.433Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:28:38.772Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T17:28:38.772Z] [2021-05-11T17:28:38.772Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:28:39.263Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T17:28:39.263Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-11T17:28:39.263Z] df20fa9351a1: Pulling fs layer [2021-05-11T17:28:39.263Z] 36b3adc4ff6f: Pulling fs layer [2021-05-11T17:28:39.263Z] 8ad3a11d3b57: Pulling fs layer [2021-05-11T17:28:39.263Z] 46f8f816bc3b: Pulling fs layer [2021-05-11T17:28:39.263Z] 93b61091891f: Pulling fs layer [2021-05-11T17:28:39.263Z] 93b9cdb0e59b: Pulling fs layer [2021-05-11T17:28:39.263Z] 5e14af77c1be: Pulling fs layer [2021-05-11T17:28:39.263Z] 01666e4c0597: Pulling fs layer [2021-05-11T17:28:39.263Z] aa168da1d23b: Pulling fs layer [2021-05-11T17:28:39.263Z] 46f8f816bc3b: Waiting [2021-05-11T17:28:39.263Z] 93b61091891f: Waiting [2021-05-11T17:28:39.263Z] 93b9cdb0e59b: Waiting [2021-05-11T17:28:39.263Z] 5e14af77c1be: Waiting [2021-05-11T17:28:39.263Z] 01666e4c0597: Waiting [2021-05-11T17:28:39.263Z] 36b3adc4ff6f: Verifying Checksum [2021-05-11T17:28:39.263Z] 36b3adc4ff6f: Download complete [2021-05-11T17:28:39.263Z] 46f8f816bc3b: Download complete [2021-05-11T17:28:39.263Z] df20fa9351a1: Verifying Checksum [2021-05-11T17:28:39.263Z] df20fa9351a1: Download complete [2021-05-11T17:28:39.263Z] 93b9cdb0e59b: Verifying Checksum [2021-05-11T17:28:39.263Z] 93b9cdb0e59b: Download complete [2021-05-11T17:28:39.263Z] 5e14af77c1be: Verifying Checksum [2021-05-11T17:28:39.263Z] 5e14af77c1be: Download complete [2021-05-11T17:28:39.263Z] 01666e4c0597: Download complete [2021-05-11T17:28:39.263Z] 93b61091891f: Verifying Checksum [2021-05-11T17:28:39.263Z] 93b61091891f: Download complete [2021-05-11T17:28:39.561Z] 8ad3a11d3b57: Verifying Checksum [2021-05-11T17:28:39.561Z] 8ad3a11d3b57: Download complete [2021-05-11T17:28:39.854Z] df20fa9351a1: Pull complete [2021-05-11T17:28:40.137Z] 36b3adc4ff6f: Pull complete [2021-05-11T17:28:41.113Z] 8ad3a11d3b57: Pull complete [2021-05-11T17:28:41.376Z] 46f8f816bc3b: Pull complete [2021-05-11T17:28:41.376Z] aa168da1d23b: Verifying Checksum [2021-05-11T17:28:41.376Z] aa168da1d23b: Download complete [2021-05-11T17:28:41.640Z] 93b61091891f: Pull complete [2021-05-11T17:28:41.905Z] 93b9cdb0e59b: Pull complete [2021-05-11T17:28:41.905Z] 5e14af77c1be: Pull complete [2021-05-11T17:28:42.169Z] 01666e4c0597: Pull complete [2021-05-11T17:28:48.814Z] aa168da1d23b: Pull complete [2021-05-11T17:28:48.814Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-11T17:28:48.814Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T17:28:48.814Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-11T17:28:49.038Z] prd-centos7-docker-4c-2g-4527 does not seem to be running inside a container [2021-05-11T17:28:49.089Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-237/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-237 -v /w/workspace/xfoundry_device-modbus-go_PR-237:/w/workspace/xfoundry_device-modbus-go_PR-237:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-237@tmp:/w/workspace/xfoundry_device-modbus-go_PR-237@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-11T17:28:56.263Z] $ docker top baba77c96a0f2655e1992be85c31d523602a17e37538f96a85a603e3b9130b36 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T17:28:56.713Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-11T17:28:57.017Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-11T17:28:57.325Z] + ls /var/log/sa-host [2021-05-11T17:28:57.325Z] + sadf -c /var/log/sa-host/sa11 [2021-05-11T17:28:57.325Z] file_magic: OK [2021-05-11T17:28:57.325Z] HZ: Using current value: 100 [2021-05-11T17:28:57.325Z] file_header: OK [2021-05-11T17:28:57.325Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-11T17:28:57.325Z] Statistics: [2021-05-11T17:28:57.325Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-11T17:28:57.325Z] File successfully converted to sysstat format version 12.2.1 [2021-05-11T17:28:57.325Z] + sadf -c /var/log/sa-host/sa23 [2021-05-11T17:28:57.325Z] file_magic: OK [2021-05-11T17:28:57.325Z] HZ: Using current value: 100 [2021-05-11T17:28:57.325Z] file_header: OK [2021-05-11T17:28:57.325Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-11T17:28:57.325Z] Statistics: [2021-05-11T17:28:57.325Z] Hnuu...uuuununununu... [2021-05-11T17:28:57.325Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-11T17:28:57.616Z] provisioning config files... [2021-05-11T17:28:57.637Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-237@tmp/config5293886732073864153tmp [Pipeline] { [Pipeline] echo [2021-05-11T17:28:57.660Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:28:57.971Z] ---> create-netrc.sh [Pipeline] } [2021-05-11T17:28:57.986Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-11T17:28:58.024Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:28:58.328Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-11T17:28:58.340Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:28:58.644Z] ---> sudo-logs.sh [2021-05-11T17:28:58.644Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-11T17:28:58.726Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:28:59.037Z] ---> job-cost.sh [2021-05-11T17:28:59.037Z] lf-activate-venv: SKIPPING [2021-05-11T17:28:59.037Z] DEBUG: total: 0.029999999329447746 [2021-05-11T17:28:59.037Z] INFO: Retrieving Stack Cost... [2021-05-11T17:29:00.438Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T17:29:00.702Z] INFO: Archiving Costs [Pipeline] echo [2021-05-11T17:29:00.733Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:29:01.044Z] ---> logs-deploy.sh [2021-05-11T17:29:01.044Z] lf-activate-venv: SKIPPING [2021-05-11T17:29:01.044Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-237/5 [2021-05-11T17:29:01.044Z] INFO: archiving workspace using pattern(s): [2021-05-11T17:29:02.978Z] Archives upload complete. [2021-05-11T17:29:02.978Z] INFO: archiving logs to Nexus