Started by upstream project "edgexfoundry/cd-management/release" build number 47 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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.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 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-24603’ Running on prd-centos7-docker-4c-2g-24607 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Checking out Revision 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 (master) > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 # timeout=10 Commit message: "Merge pull request #215 from iain-anderson/commit-lint" > git rev-list --no-walk 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-02T20:32:25.574Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-02T20:32:25.848Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-02T20:32:25.946Z] ========================================================= [2021-02-02T20:32:25.946Z] EdgeX Global Pipelines Version Info [2021-02-02T20:32:25.946Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-02T20:32:28.579Z] ------------------- [2021-02-02T20:32:28.579Z] stable info: [2021-02-02T20:32:28.579Z] ------------------- [2021-02-02T20:32:28.579Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-02T20:32:28.579Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-02T20:32:28.579Z] Message: update stable to v1.0.179 [2021-02-02T20:32:29.601Z] ------------------- [2021-02-02T20:32:29.601Z] experimental info: [2021-02-02T20:32:29.601Z] ------------------- [2021-02-02T20:32:29.601Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-02T20:32:29.601Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-02T20:32:29.601Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-02T20:32:30.021Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-02-02T20:32:30.150Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-02-02T20:32:30.303Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-02T20:32:30.437Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-02T20:32:30.612Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-02T20:32:30.726Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-02T20:32:30.837Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-02T20:32:30.921Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-02T20:32:31.027Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-02-02T20:32:31.130Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-02T20:32:31.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-02T20:32:31.333Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo [2021-02-02T20:32:31.441Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-02T20:32:31.632Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-02T20:32:32.105Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-02T20:32:32.243Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-02-02T20:32:32.378Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-02T20:32:32.464Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-02T20:32:32.583Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-02T20:32:32.675Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-02-02T20:32:32.771Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-02-02T20:32:32.901Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-02-02T20:32:33.084Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-02T20:32:33.254Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-02T20:32:33.342Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-02T20:32:33.439Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-02T20:32:33.528Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-02T20:32:33.620Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-02-02T20:32:33.715Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-02-02T20:32:33.808Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-02-02T20:32:33.891Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [Pipeline] echo [2021-02-02T20:32:33.973Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9f3888b [Pipeline] echo [2021-02-02T20:32:34.062Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-02T20:32:34.241Z] provisioning config files... [2021-02-02T20:32:34.294Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config3953603360168300980tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-02T20:32:34.791Z] ---> docker-login.sh [2021-02-02T20:32:34.791Z] nexus3.edgexfoundry.org:10001 [2021-02-02T20:32:35.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T20:32:35.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T20:32:35.854Z] Configure a credential helper to remove this warning. See [2021-02-02T20:32:35.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T20:32:35.854Z] [2021-02-02T20:32:35.854Z] Login Succeeded [2021-02-02T20:32:35.854Z] nexus3.edgexfoundry.org:10002 [2021-02-02T20:32:36.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T20:32:36.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T20:32:36.452Z] Configure a credential helper to remove this warning. See [2021-02-02T20:32:36.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T20:32:36.452Z] [2021-02-02T20:32:36.452Z] Login Succeeded [2021-02-02T20:32:36.452Z] nexus3.edgexfoundry.org:10003 [2021-02-02T20:32:36.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T20:32:36.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T20:32:36.729Z] Configure a credential helper to remove this warning. See [2021-02-02T20:32:36.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T20:32:36.729Z] [2021-02-02T20:32:36.729Z] Login Succeeded [2021-02-02T20:32:37.030Z] nexus3.edgexfoundry.org:10004 [2021-02-02T20:32:37.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T20:32:37.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T20:32:37.307Z] Configure a credential helper to remove this warning. See [2021-02-02T20:32:37.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T20:32:37.307Z] [2021-02-02T20:32:37.307Z] Login Succeeded [2021-02-02T20:32:37.307Z] docker.io [2021-02-02T20:32:37.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T20:32:37.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T20:32:37.906Z] Configure a credential helper to remove this warning. See [2021-02-02T20:32:37.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T20:32:37.906Z] [2021-02-02T20:32:37.906Z] Login Succeeded [2021-02-02T20:32:37.906Z] ---> docker-login.sh ends [Pipeline] } [2021-02-02T20:32:37.931Z] 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-02-02T20:32:38.848Z] + git log --format=format:%s -1 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [Pipeline] echo [2021-02-02T20:32:38.985Z] GIT_COMMIT: 9f3888b97fc6b215bf6207a034605e4e0e7d1a95, Commit Message: Merge pull request #215 from iain-anderson/commit-lint [Pipeline] echo [2021-02-02T20:32:39.065Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:32:39.729Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-02T20:32:39.729Z] [2021-02-02T20:32:39.729Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:32:40.130Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-02T20:32:40.130Z] latest: Pulling from edgex-devops/git-semver [2021-02-02T20:32:40.130Z] 31603596830f: Pulling fs layer [2021-02-02T20:32:40.130Z] 2a8b12db71e7: Pulling fs layer [2021-02-02T20:32:40.130Z] 6ca5941a6612: Pulling fs layer [2021-02-02T20:32:40.130Z] ecc8261a40a4: Pulling fs layer [2021-02-02T20:32:40.130Z] ecc8261a40a4: Waiting [2021-02-02T20:32:40.130Z] 2a8b12db71e7: Verifying Checksum [2021-02-02T20:32:40.130Z] 2a8b12db71e7: Download complete [2021-02-02T20:32:40.402Z] 31603596830f: Verifying Checksum [2021-02-02T20:32:40.403Z] 31603596830f: Download complete [2021-02-02T20:32:40.678Z] ecc8261a40a4: Verifying Checksum [2021-02-02T20:32:40.678Z] ecc8261a40a4: Download complete [2021-02-02T20:32:40.678Z] 6ca5941a6612: Verifying Checksum [2021-02-02T20:32:40.678Z] 6ca5941a6612: Download complete [2021-02-02T20:32:40.963Z] 31603596830f: Pull complete [2021-02-02T20:32:41.276Z] 2a8b12db71e7: Pull complete [2021-02-02T20:32:42.725Z] 6ca5941a6612: Pull complete [2021-02-02T20:32:43.330Z] ecc8261a40a4: Pull complete [2021-02-02T20:32:43.330Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-02T20:32:43.330Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-02T20:32:43.330Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-02T20:32:43.547Z] prd-centos7-docker-4c-2g-24607 does not seem to be running inside a container [2021-02-02T20:32:43.692Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-02T20:32:47.104Z] $ docker top 3b7405c5c7b1fe13252fcee9a8a3f497efbe3202c15b849adff7c6d2f35ae331 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-02T20:32:47.642Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-02T20:32:47.642Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-02T20:32:48.274Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-02T20:32:48.281Z] $ docker exec 3b7405c5c7b1fe13252fcee9a8a3f497efbe3202c15b849adff7c6d2f35ae331 ssh-agent [2021-02-02T20:32:48.706Z] SSH_AUTH_SOCK=/tmp/ssh-gwcV6Av5zclx/agent.11 [2021-02-02T20:32:48.706Z] SSH_AGENT_PID=16 [2021-02-02T20:32:48.731Z] Running ssh-add (command line suppressed) [2021-02-02T20:32:48.976Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4995366917131482170.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4995366917131482170.key) [2021-02-02T20:32:49.076Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-02T20:32:49.466Z] + git tag --points-at HEAD [Pipeline] } [2021-02-02T20:32:49.512Z] $ docker exec --env ******** --env ******** 3b7405c5c7b1fe13252fcee9a8a3f497efbe3202c15b849adff7c6d2f35ae331 ssh-agent -k [2021-02-02T20:32:49.810Z] unset SSH_AUTH_SOCK; [2021-02-02T20:32:49.815Z] unset SSH_AGENT_PID; [2021-02-02T20:32:49.816Z] echo Agent pid 16 killed; [2021-02-02T20:32:49.981Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2021-02-02T20:32:50.112Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v1.3.1|v1.3.1-dev.8' [Pipeline] sshagent [2021-02-02T20:32:50.248Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-02T20:32:50.248Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-02T20:32:50.559Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-02T20:32:50.565Z] $ docker exec 3b7405c5c7b1fe13252fcee9a8a3f497efbe3202c15b849adff7c6d2f35ae331 ssh-agent [2021-02-02T20:32:50.824Z] SSH_AUTH_SOCK=/tmp/ssh-v5Ta9I7dc04T/agent.45 [2021-02-02T20:32:50.824Z] SSH_AGENT_PID=50 [2021-02-02T20:32:50.831Z] Running ssh-add (command line suppressed) [2021-02-02T20:32:51.037Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5059854637098920014.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5059854637098920014.key) [2021-02-02T20:32:51.157Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-02T20:32:51.529Z] + git semver init [2021-02-02T20:32:51.529Z] # -> Open(): unable to determine branch for HEAD [2021-02-02T20:32:51.529Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-02-02T20:32:51.529Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-02-02T20:32:51.529Z] # $SEMVER_REMOTE_NAME = origin [2021-02-02T20:32:51.529Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-02T20:32:51.529Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-02T20:32:51.529Z] # $SEMVER_BRANCH = master [2021-02-02T20:32:51.529Z] # $SEMVER_TEMP = /tmp/semver-282660883 [2021-02-02T20:32:51.529Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-02-02T20:32:52.143Z] # '/tmp/semver-282660883' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' [2021-02-02T20:32:52.143Z] # -> Force: false [2021-02-02T20:32:52.143Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-02-02T20:32:52.168Z] $ docker exec --env ******** --env ******** 3b7405c5c7b1fe13252fcee9a8a3f497efbe3202c15b849adff7c6d2f35ae331 ssh-agent -k [2021-02-02T20:32:52.497Z] unset SSH_AUTH_SOCK; [2021-02-02T20:32:52.497Z] unset SSH_AGENT_PID; [2021-02-02T20:32:52.497Z] echo Agent pid 50 killed; [2021-02-02T20:32:52.605Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-02T20:32:53.109Z] + git semver [Pipeline] } [2021-02-02T20:32:53.167Z] $ docker stop --time=1 3b7405c5c7b1fe13252fcee9a8a3f497efbe3202c15b849adff7c6d2f35ae331 [2021-02-02T20:32:54.985Z] $ docker rm -f 3b7405c5c7b1fe13252fcee9a8a3f497efbe3202c15b849adff7c6d2f35ae331 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-02T20:32:55.590Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-02T20:32:56.455Z] Stashed 1 file(s) [Pipeline] echo [2021-02-02T20:32:56.457Z] [edgeXSemver]: initialized semver on version 1.3.1 [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-02-02T20:33:11.948Z] Still waiting to schedule task [2021-02-02T20:33:11.948Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-02-02T20:33:11.950Z] Still waiting to schedule task [2021-02-02T20:33:11.950Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-24613’ is offline [2021-02-02T20:34:14.717Z] Running on prd-centos7-docker-4c-2g-24617 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-02-02T20:34:14.768Z] Running in /w/workspace/device-modbus-go/37 [Pipeline] { [Pipeline] checkout [2021-02-02T20:34:17.758Z] using credential edgex-jenkins-ssh [2021-02-02T20:34:17.809Z] Cloning the remote Git repository [2021-02-02T20:34:17.836Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-02-02T20:34:17.912Z] > git init /w/workspace/device-modbus-go/37 # timeout=10 [2021-02-02T20:34:17.976Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-02-02T20:34:17.977Z] > git --version # timeout=10 [2021-02-02T20:34:17.984Z] > git --version # 'git version 2.24.3' [2021-02-02T20:34:17.984Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T20:34:18.023Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-02T20:34:19.076Z] Checking out Revision 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 (master) [2021-02-02T20:34:18.653Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-02-02T20:34:18.669Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-02T20:34:18.684Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-02-02T20:34:18.700Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-02-02T20:34:18.700Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T20:34:18.705Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-02T20:34:19.089Z] > git config core.sparsecheckout # timeout=10 [2021-02-02T20:34:19.094Z] > git checkout -f 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 # timeout=10 [2021-02-02T20:34:22.946Z] Commit message: "Merge pull request #215 from iain-anderson/commit-lint" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-02T20:34:24.248Z] + git checkout 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [2021-02-02T20:34:24.249Z] HEAD is now at 9f3888b Merge pull request #215 from iain-anderson/commit-lint [Pipeline] sh [2021-02-02T20:34:24.576Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-02T20:34:24.876Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-02T20:34:25.181Z] + sudo service docker restart [2021-02-02T20:34:25.181Z] + true [2021-02-02T20:34:25.181Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-02T20:34:26.640Z] provisioning config files... [2021-02-02T20:34:26.667Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/37@tmp/config6664447956734025217tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-02T20:34:27.026Z] ---> docker-login.sh [2021-02-02T20:34:27.026Z] nexus3.edgexfoundry.org:10001 [2021-02-02T20:34:27.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T20:34:27.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T20:34:27.555Z] Configure a credential helper to remove this warning. See [2021-02-02T20:34:27.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T20:34:27.555Z] [2021-02-02T20:34:27.555Z] Login Succeeded [2021-02-02T20:34:27.555Z] nexus3.edgexfoundry.org:10002 [2021-02-02T20:34:27.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T20:34:27.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T20:34:27.555Z] Configure a credential helper to remove this warning. See [2021-02-02T20:34:27.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T20:34:27.555Z] [2021-02-02T20:34:27.555Z] Login Succeeded [2021-02-02T20:34:27.555Z] nexus3.edgexfoundry.org:10003 [2021-02-02T20:34:27.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T20:34:27.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T20:34:27.830Z] Configure a credential helper to remove this warning. See [2021-02-02T20:34:27.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T20:34:27.830Z] [2021-02-02T20:34:27.830Z] Login Succeeded [2021-02-02T20:34:27.830Z] nexus3.edgexfoundry.org:10004 [2021-02-02T20:34:28.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T20:34:28.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T20:34:28.096Z] Configure a credential helper to remove this warning. See [2021-02-02T20:34:28.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T20:34:28.096Z] [2021-02-02T20:34:28.096Z] Login Succeeded [2021-02-02T20:34:28.096Z] docker.io [2021-02-02T20:34:28.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T20:34:28.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T20:34:28.361Z] Configure a credential helper to remove this warning. See [2021-02-02T20:34:28.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T20:34:28.361Z] [2021-02-02T20:34:28.361Z] Login Succeeded [2021-02-02T20:34:28.361Z] ---> docker-login.sh ends [Pipeline] } [2021-02-02T20:34:28.370Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-02T20:34:28.711Z] ========================================================= [2021-02-02T20:34:28.711Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-02T20:34:28.711Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:34:29.068Z] + 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 . [2021-02-02T20:34:29.068Z] Sending build context to Docker daemon 532kB [2021-02-02T20:34:29.068Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-02T20:34:29.068Z] Step 2/8 : FROM ${BASE} [2021-02-02T20:34:29.331Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-02T20:34:29.331Z] 188c0c94c7c5: Pulling fs layer [2021-02-02T20:34:29.331Z] 0ef7d3d256c8: Pulling fs layer [2021-02-02T20:34:29.331Z] de9db76c5a1d: Pulling fs layer [2021-02-02T20:34:29.331Z] bca2f99d35d6: Pulling fs layer [2021-02-02T20:34:29.331Z] 93359f2a8cfa: Pulling fs layer [2021-02-02T20:34:29.331Z] 7c6f9722023f: Pulling fs layer [2021-02-02T20:34:29.331Z] a35cf1a2eb13: Pulling fs layer [2021-02-02T20:34:29.331Z] 93359f2a8cfa: Waiting [2021-02-02T20:34:29.331Z] 7c6f9722023f: Waiting [2021-02-02T20:34:29.331Z] a35cf1a2eb13: Waiting [2021-02-02T20:34:29.331Z] bca2f99d35d6: Waiting [2021-02-02T20:34:29.331Z] de9db76c5a1d: Verifying Checksum [2021-02-02T20:34:29.331Z] de9db76c5a1d: Download complete [2021-02-02T20:34:29.331Z] 0ef7d3d256c8: Verifying Checksum [2021-02-02T20:34:29.331Z] 0ef7d3d256c8: Download complete [2021-02-02T20:34:29.331Z] 93359f2a8cfa: Verifying Checksum [2021-02-02T20:34:29.331Z] 93359f2a8cfa: Download complete [2021-02-02T20:34:29.331Z] 7c6f9722023f: Verifying Checksum [2021-02-02T20:34:29.331Z] 7c6f9722023f: Download complete [2021-02-02T20:34:29.331Z] 188c0c94c7c5: Download complete [2021-02-02T20:34:29.598Z] 188c0c94c7c5: Pull complete [2021-02-02T20:34:29.860Z] 0ef7d3d256c8: Pull complete [2021-02-02T20:34:29.860Z] de9db76c5a1d: Pull complete [2021-02-02T20:34:31.265Z] a35cf1a2eb13: Verifying Checksum [2021-02-02T20:34:31.265Z] a35cf1a2eb13: Download complete [2021-02-02T20:34:32.221Z] bca2f99d35d6: Verifying Checksum [2021-02-02T20:34:32.221Z] bca2f99d35d6: Download complete [2021-02-02T20:34:38.875Z] bca2f99d35d6: Pull complete [2021-02-02T20:34:38.875Z] 93359f2a8cfa: Pull complete [2021-02-02T20:34:38.875Z] 7c6f9722023f: Pull complete [2021-02-02T20:34:45.530Z] a35cf1a2eb13: Pull complete [2021-02-02T20:34:45.530Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-02T20:34:45.530Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-02T20:34:45.530Z] ---> a62c8e92a672 [2021-02-02T20:34:45.530Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-02-02T20:34:45.530Z] ---> Running in 690ba5e68cc3 [2021-02-02T20:34:45.799Z] Removing intermediate container 690ba5e68cc3 [2021-02-02T20:34:45.799Z] ---> 154524da2223 [2021-02-02T20:34:45.799Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-02T20:34:45.799Z] ---> Running in 4e01052e573b [2021-02-02T20:34:46.787Z] Removing intermediate container 4e01052e573b [2021-02-02T20:34:46.787Z] ---> 9c56b23a9578 [2021-02-02T20:34:46.787Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-02-02T20:34:46.787Z] ---> Running in f4e33a411331 [2021-02-02T20:34:48.216Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-02T20:34:48.792Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-02T20:34:49.368Z] (1/14) Installing libmagic (5.38-r0) [2021-02-02T20:34:49.368Z] (2/14) Installing file (5.38-r0) [2021-02-02T20:34:49.633Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-02-02T20:34:49.633Z] (4/14) Installing g++ (9.3.0-r2) [2021-02-02T20:35:07.856Z] (5/14) Installing fortify-headers (1.1-r0) [2021-02-02T20:35:07.856Z] (6/14) Installing patch (2.7.6-r6) [2021-02-02T20:35:07.856Z] (7/14) Installing build-base (0.5-r2) [2021-02-02T20:35:07.856Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-02-02T20:35:07.856Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-02-02T20:35:07.856Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-02-02T20:35:09.250Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-02-02T20:35:09.250Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-02-02T20:35:09.250Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-02-02T20:35:09.829Z] (14/14) Installing openssh (8.3_p1-r1) [2021-02-02T20:35:10.093Z] Executing busybox-1.31.1-r19.trigger [2021-02-02T20:35:10.093Z] OK: 237 MiB in 53 packages [2021-02-02T20:35:14.401Z] Removing intermediate container f4e33a411331 [2021-02-02T20:35:14.401Z] ---> f9b21d1b5593 [2021-02-02T20:35:14.401Z] Step 6/8 : WORKDIR /device-modbus-go [2021-02-02T20:35:14.401Z] ---> Running in c3cdeae083c3 [2021-02-02T20:35:14.401Z] Removing intermediate container c3cdeae083c3 [2021-02-02T20:35:14.401Z] ---> bb7be2cfa637 [2021-02-02T20:35:14.401Z] Step 7/8 : COPY . . [2021-02-02T20:35:15.356Z] ---> 29d71d2bb536 [2021-02-02T20:35:15.356Z] Step 8/8 : RUN go mod download [2021-02-02T20:35:15.356Z] ---> Running in 344c3136fd08 [2021-02-02T20:35:37.520Z] Removing intermediate container 344c3136fd08 [2021-02-02T20:35:37.520Z] ---> bb681d4046ed [2021-02-02T20:35:37.520Z] Successfully built bb681d4046ed [2021-02-02T20:35:37.520Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:35:37.856Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-02T20:35:37.857Z] . [Pipeline] withDockerContainer [2021-02-02T20:35:37.987Z] prd-centos7-docker-4c-2g-24617 does not seem to be running inside a container [2021-02-02T20:35:38.047Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/37 -v /w/workspace/device-modbus-go/37:/w/workspace/device-modbus-go/37:rw,z -v /w/workspace/device-modbus-go/37@tmp:/w/workspace/device-modbus-go/37@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 ******** ci-base-image-x86_64 cat [2021-02-02T20:35:38.934Z] $ docker top f76a4fb2b0154b9bfb546e287b6ff0ecc053c493dcbbed4014252baf113e7bc5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-02T20:35:39.506Z] + go version [2021-02-02T20:35:39.506Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-02T20:35:39.522Z] $ docker stop --time=1 f76a4fb2b0154b9bfb546e287b6ff0ecc053c493dcbbed4014252baf113e7bc5 [2021-02-02T20:35:40.878Z] $ docker rm -f f76a4fb2b0154b9bfb546e287b6ff0ecc053c493dcbbed4014252baf113e7bc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:35:41.751Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-02T20:35:41.751Z] . [Pipeline] withDockerContainer [2021-02-02T20:35:41.851Z] prd-centos7-docker-4c-2g-24617 does not seem to be running inside a container [2021-02-02T20:35:41.906Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/37 -v /w/workspace/device-modbus-go/37:/w/workspace/device-modbus-go/37:rw,z -v /w/workspace/device-modbus-go/37@tmp:/w/workspace/device-modbus-go/37@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 ******** ci-base-image-x86_64 cat [2021-02-02T20:35:42.503Z] $ docker top 479f43b96ace96aef5afb94ce5c766ce4b12359a2546e96be96bc408354b396a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-02T20:35:43.842Z] + make test [2021-02-02T20:35:43.842Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-02-02T20:35:45.246Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-02-02T20:35:54.914Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-24624 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-02-02T20:35:54.969Z] Running in /w/workspace/device-modbus-go/37 [Pipeline] { [Pipeline] checkout [2021-02-02T20:35:57.610Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-02-02T20:35:57.610Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.265s coverage: 50.3% of statements [2021-02-02T20:35:57.610Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-02-02T20:35:59.041Z] gofmt -l . [2021-02-02T20:35:59.041Z] [ "`gofmt -l .`" = "" ] [2021-02-02T20:35:59.041Z] ./bin/test-attribution-txt.sh [2021-02-02T20:35:59.652Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-02T20:35:59.973Z] $ docker stop --time=1 479f43b96ace96aef5afb94ce5c766ce4b12359a2546e96be96bc408354b396a [2021-02-02T20:36:00.394Z] using credential edgex-jenkins-ssh [2021-02-02T20:36:00.471Z] Cloning the remote Git repository [2021-02-02T20:36:00.555Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-02-02T20:36:00.684Z] > git init /w/workspace/device-modbus-go/37 # timeout=10 [2021-02-02T20:36:00.793Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-02-02T20:36:00.795Z] > git --version # timeout=10 [2021-02-02T20:36:00.818Z] > git --version # 'git version 2.17.1' [2021-02-02T20:36:00.819Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T20:36:00.869Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-02T20:36:02.404Z] $ docker rm -f 479f43b96ace96aef5afb94ce5c766ce4b12359a2546e96be96bc408354b396a [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-02T20:36:03.040Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-02T20:36:03.452Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-02-02T20:36:02.588Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-02-02T20:36:02.610Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-02T20:36:02.637Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-02-02T20:36:02.679Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-02-02T20:36:02.680Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T20:36:02.690Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [Pipeline] sh [2021-02-02T20:36:04.798Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-02T20:36:04.936Z] Checking out Revision 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 (master) [2021-02-02T20:36:05.111Z] + ls -al . [2021-02-02T20:36:05.111Z] total 104 [2021-02-02T20:36:05.111Z] drwxrwxr-x. 9 jenkins jenkins 4096 Feb 2 20:35 . [2021-02-02T20:36:05.111Z] drwxrwxr-x. 4 jenkins jenkins 30 Feb 2 20:34 .. [2021-02-02T20:36:05.111Z] -rw-rw-r--. 1 jenkins jenkins 5589 Feb 2 20:34 Attribution.txt [2021-02-02T20:36:05.111Z] drwxrwxr-x. 2 jenkins jenkins 87 Feb 2 20:34 bin [2021-02-02T20:36:05.111Z] drwxrwxr-x. 3 jenkins jenkins 32 Feb 2 20:34 cmd [2021-02-02T20:36:05.111Z] -rw-r--r--. 1 jenkins jenkins 22362 Feb 2 20:35 coverage.out [2021-02-02T20:36:05.111Z] -rw-rw-r--. 1 jenkins jenkins 1434 Feb 2 20:34 Dockerfile [2021-02-02T20:36:05.111Z] -rw-rw-r--. 1 jenkins jenkins 958 Feb 2 20:34 Dockerfile.build [2021-02-02T20:36:05.111Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 2 20:34 .dockerignore [2021-02-02T20:36:05.111Z] drwxrwxr-x. 8 jenkins jenkins 162 Feb 2 20:34 .git [2021-02-02T20:36:05.111Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 2 20:34 .github [2021-02-02T20:36:05.111Z] -rw-rw-r--. 1 jenkins jenkins 338 Feb 2 20:34 .gitignore [2021-02-02T20:36:05.111Z] -rw-r--r--. 1 jenkins jenkins 517 Feb 2 20:35 go.mod [2021-02-02T20:36:05.111Z] -rw-r--r--. 1 jenkins jenkins 14838 Feb 2 20:35 go.sum [2021-02-02T20:36:05.111Z] drwxrwxr-x. 3 jenkins jenkins 20 Feb 2 20:34 internal [2021-02-02T20:36:05.111Z] -rw-rw-r--. 1 jenkins jenkins 679 Feb 2 20:34 Jenkinsfile [2021-02-02T20:36:05.111Z] -rw-rw-r--. 1 jenkins jenkins 11340 Feb 2 20:34 LICENSE [2021-02-02T20:36:05.111Z] -rw-rw-r--. 1 jenkins jenkins 880 Feb 2 20:34 Makefile [2021-02-02T20:36:05.111Z] -rw-rw-r--. 1 jenkins jenkins 591 Feb 2 20:34 README.md [2021-02-02T20:36:05.111Z] drwxrwxr-x. 2 jenkins jenkins 52 Feb 2 20:34 simulator [2021-02-02T20:36:05.111Z] drwxrwxr-x. 4 jenkins jenkins 71 Feb 2 20:34 snap [2021-02-02T20:36:05.111Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 2 20:32 VERSION [2021-02-02T20:36:05.111Z] -rw-rw-r--. 1 jenkins jenkins 229 Feb 2 20:34 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:36:04.962Z] > git config core.sparsecheckout # timeout=10 [2021-02-02T20:36:04.977Z] > git checkout -f 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 # timeout=10 [2021-02-02T20:36:05.421Z] + 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=9f3888b97fc6b215bf6207a034605e4e0e7d1a95 --label arch=amd64 --label version=1.3.1 . [2021-02-02T20:36:05.421Z] Sending build context to Docker daemon 563.2kB [2021-02-02T20:36:05.685Z] Step 1/20 : ARG BASE=golang:1.15-alpine3.12 [2021-02-02T20:36:05.685Z] Step 2/20 : FROM ${BASE} AS builder [2021-02-02T20:36:05.685Z] ---> bb681d4046ed [2021-02-02T20:36:05.685Z] Step 3/20 : ARG MAKE='make build' [2021-02-02T20:36:05.685Z] ---> Running in 2bff198c195d [2021-02-02T20:36:05.949Z] Removing intermediate container 2bff198c195d [2021-02-02T20:36:05.949Z] ---> ce29d2dfb8ef [2021-02-02T20:36:05.949Z] Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-02T20:36:05.949Z] ---> Running in 12159a879435 [2021-02-02T20:36:06.903Z] Removing intermediate container 12159a879435 [2021-02-02T20:36:06.903Z] ---> 9c4b8d75d693 [2021-02-02T20:36:06.903Z] Step 5/20 : RUN apk add --update --no-cache make git openssh build-base [2021-02-02T20:36:06.903Z] ---> Running in 6d5c6c24adc4 [2021-02-02T20:36:07.488Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-02T20:36:08.442Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-02T20:36:09.398Z] OK: 237 MiB in 53 packages [2021-02-02T20:36:09.518Z] Commit message: "Merge pull request #215 from iain-anderson/commit-lint" [2021-02-02T20:36:09.663Z] Removing intermediate container 6d5c6c24adc4 [2021-02-02T20:36:09.663Z] ---> 660e5dddeba6 [2021-02-02T20:36:09.663Z] Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2021-02-02T20:36:09.927Z] ---> Running in d0e1634be1c9 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2021-02-02T20:36:10.189Z] Removing intermediate container d0e1634be1c9 [2021-02-02T20:36:10.189Z] ---> 6b103436ec28 [2021-02-02T20:36:10.189Z] Step 7/20 : COPY . . [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-02T20:36:10.770Z] ---> efa531a82485 [2021-02-02T20:36:10.770Z] Step 8/20 : RUN ${MAKE} [2021-02-02T20:36:10.770Z] ---> Running in 44c4b816d94d [2021-02-02T20:36:11.201Z] + git checkout 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [2021-02-02T20:36:11.201Z] HEAD is now at 9f3888b Merge pull request #215 from iain-anderson/commit-lint [Pipeline] sh [2021-02-02T20:36:11.359Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.1" -o cmd/device-modbus ./cmd [2021-02-02T20:36:11.601Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-02T20:36:11.951Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-02T20:36:12.333Z] + sudo service docker restart [2021-02-02T20:36:12.333Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-02T20:36:15.072Z] provisioning config files... [2021-02-02T20:36:15.116Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/37@tmp/config7162353388874187729tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-02T20:36:15.578Z] ---> docker-login.sh [2021-02-02T20:36:15.578Z] nexus3.edgexfoundry.org:10001 [2021-02-02T20:36:16.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T20:36:16.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T20:36:16.896Z] Configure a credential helper to remove this warning. See [2021-02-02T20:36:16.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T20:36:16.896Z] [2021-02-02T20:36:16.896Z] Login Succeeded [2021-02-02T20:36:16.896Z] nexus3.edgexfoundry.org:10002 [2021-02-02T20:36:17.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T20:36:17.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T20:36:17.451Z] Configure a credential helper to remove this warning. See [2021-02-02T20:36:17.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T20:36:17.451Z] [2021-02-02T20:36:17.451Z] Login Succeeded [2021-02-02T20:36:17.451Z] nexus3.edgexfoundry.org:10003 [2021-02-02T20:36:17.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T20:36:18.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T20:36:18.003Z] Configure a credential helper to remove this warning. See [2021-02-02T20:36:18.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T20:36:18.003Z] [2021-02-02T20:36:18.003Z] Login Succeeded [2021-02-02T20:36:18.003Z] nexus3.edgexfoundry.org:10004 [2021-02-02T20:36:18.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T20:36:18.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T20:36:18.547Z] Configure a credential helper to remove this warning. See [2021-02-02T20:36:18.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T20:36:18.547Z] [2021-02-02T20:36:18.547Z] Login Succeeded [2021-02-02T20:36:18.547Z] docker.io [2021-02-02T20:36:18.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T20:36:19.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T20:36:19.092Z] Configure a credential helper to remove this warning. See [2021-02-02T20:36:19.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T20:36:19.092Z] [2021-02-02T20:36:19.092Z] Login Succeeded [2021-02-02T20:36:19.092Z] ---> docker-login.sh ends [Pipeline] } [2021-02-02T20:36:19.110Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-02T20:36:19.588Z] ========================================================= [2021-02-02T20:36:19.588Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-02T20:36:19.588Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:36:19.666Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-02-02T20:36:19.978Z] + 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 . [2021-02-02T20:36:20.253Z] Sending build context to Docker daemon 530.9kB [2021-02-02T20:36:20.253Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-02T20:36:20.253Z] Step 2/8 : FROM ${BASE} [2021-02-02T20:36:20.533Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-02T20:36:20.533Z] 5f621e34cdf4: Pulling fs layer [2021-02-02T20:36:20.533Z] a4357932f1b6: Pulling fs layer [2021-02-02T20:36:20.533Z] 18c013af1878: Pulling fs layer [2021-02-02T20:36:20.533Z] 00ac8860ef70: Pulling fs layer [2021-02-02T20:36:20.533Z] 00ac8860ef70: Waiting [2021-02-02T20:36:20.533Z] 63d7cb157983: Pulling fs layer [2021-02-02T20:36:20.533Z] b116817d02f9: Pulling fs layer [2021-02-02T20:36:20.533Z] 745a02a5169b: Pulling fs layer [2021-02-02T20:36:20.533Z] 63d7cb157983: Waiting [2021-02-02T20:36:20.533Z] b116817d02f9: Waiting [2021-02-02T20:36:20.533Z] 745a02a5169b: Waiting [2021-02-02T20:36:20.533Z] 18c013af1878: Verifying Checksum [2021-02-02T20:36:20.533Z] 18c013af1878: Download complete [2021-02-02T20:36:20.533Z] a4357932f1b6: Download complete [2021-02-02T20:36:20.533Z] 63d7cb157983: Verifying Checksum [2021-02-02T20:36:20.533Z] 63d7cb157983: Download complete [2021-02-02T20:36:21.134Z] b116817d02f9: Verifying Checksum [2021-02-02T20:36:21.134Z] b116817d02f9: Download complete [2021-02-02T20:36:21.134Z] 5f621e34cdf4: Verifying Checksum [2021-02-02T20:36:21.134Z] 5f621e34cdf4: Download complete [2021-02-02T20:36:21.761Z] 5f621e34cdf4: Pull complete [2021-02-02T20:36:22.371Z] a4357932f1b6: Pull complete [2021-02-02T20:36:22.653Z] 18c013af1878: Pull complete [2021-02-02T20:36:22.938Z] 745a02a5169b: Verifying Checksum [2021-02-02T20:36:22.938Z] 745a02a5169b: Download complete [2021-02-02T20:36:23.936Z] Removing intermediate container 44c4b816d94d [2021-02-02T20:36:23.936Z] ---> 88379c13159a [2021-02-02T20:36:23.936Z] Step 9/20 : FROM scratch [2021-02-02T20:36:23.936Z] ---> [2021-02-02T20:36:23.936Z] Step 10/20 : ENV APP_PORT=49991 [2021-02-02T20:36:23.936Z] ---> Running in da5fc0850656 [2021-02-02T20:36:23.936Z] Removing intermediate container da5fc0850656 [2021-02-02T20:36:23.936Z] ---> 6a9fa7462264 [2021-02-02T20:36:23.936Z] Step 11/20 : EXPOSE $APP_PORT [2021-02-02T20:36:23.936Z] ---> Running in e95d001816c5 [2021-02-02T20:36:23.936Z] Removing intermediate container e95d001816c5 [2021-02-02T20:36:23.936Z] ---> fdcc6c7f12b1 [2021-02-02T20:36:23.936Z] Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2021-02-02T20:36:23.936Z] ---> bff4641da88d [2021-02-02T20:36:23.936Z] Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2021-02-02T20:36:24.210Z] ---> 4e9f6e29e0ed [2021-02-02T20:36:24.210Z] Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2021-02-02T20:36:24.477Z] ---> d16c64b23fff [2021-02-02T20:36:24.477Z] Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2021-02-02T20:36:24.477Z] ---> Running in 5dcd8da63fab [2021-02-02T20:36:24.738Z] Removing intermediate container 5dcd8da63fab [2021-02-02T20:36:24.738Z] ---> 457e1bf69c34 [2021-02-02T20:36:24.738Z] Step 16/20 : ENTRYPOINT ["/device-modbus"] [2021-02-02T20:36:24.738Z] ---> Running in 12b6d275a565 [2021-02-02T20:36:24.927Z] 00ac8860ef70: Verifying Checksum [2021-02-02T20:36:24.927Z] 00ac8860ef70: Download complete [2021-02-02T20:36:25.002Z] Removing intermediate container 12b6d275a565 [2021-02-02T20:36:25.002Z] ---> e4505587f306 [2021-02-02T20:36:25.002Z] Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-02T20:36:25.002Z] ---> Running in 2686b9049ec9 [2021-02-02T20:36:25.267Z] Removing intermediate container 2686b9049ec9 [2021-02-02T20:36:25.267Z] ---> a0f63c50b281 [2021-02-02T20:36:25.267Z] Step 18/20 : LABEL arch=amd64 [2021-02-02T20:36:25.267Z] ---> Running in 00bf21806743 [2021-02-02T20:36:25.267Z] Removing intermediate container 00bf21806743 [2021-02-02T20:36:25.267Z] ---> 9a746323224d [2021-02-02T20:36:25.267Z] Step 19/20 : LABEL git_sha=9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [2021-02-02T20:36:25.531Z] ---> Running in e5c9e956906f [2021-02-02T20:36:25.531Z] Removing intermediate container e5c9e956906f [2021-02-02T20:36:25.531Z] ---> fb3546fd40ce [2021-02-02T20:36:25.531Z] Step 20/20 : LABEL version=1.3.1 [2021-02-02T20:36:25.531Z] ---> Running in 1eba91ae935a [2021-02-02T20:36:25.793Z] Removing intermediate container 1eba91ae935a [2021-02-02T20:36:25.793Z] ---> b069bf92a141 [2021-02-02T20:36:25.793Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-02T20:36:25.793Z] Successfully built b069bf92a141 [2021-02-02T20:36:25.793Z] Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-02T20:36:26.164Z] provisioning config files... [2021-02-02T20:36:26.202Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/37@tmp/config3788483361911484722tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-02T20:36:26.578Z] ---> docker-login.sh [2021-02-02T20:36:26.578Z] nexus3.edgexfoundry.org:10001 [2021-02-02T20:36:26.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T20:36:26.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T20:36:26.840Z] Configure a credential helper to remove this warning. See [2021-02-02T20:36:26.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T20:36:26.840Z] [2021-02-02T20:36:26.840Z] Login Succeeded [2021-02-02T20:36:26.840Z] nexus3.edgexfoundry.org:10002 [2021-02-02T20:36:26.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T20:36:27.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T20:36:27.103Z] Configure a credential helper to remove this warning. See [2021-02-02T20:36:27.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T20:36:27.103Z] [2021-02-02T20:36:27.103Z] Login Succeeded [2021-02-02T20:36:27.103Z] nexus3.edgexfoundry.org:10003 [2021-02-02T20:36:27.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T20:36:27.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T20:36:27.103Z] Configure a credential helper to remove this warning. See [2021-02-02T20:36:27.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T20:36:27.103Z] [2021-02-02T20:36:27.103Z] Login Succeeded [2021-02-02T20:36:27.103Z] nexus3.edgexfoundry.org:10004 [2021-02-02T20:36:27.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T20:36:27.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T20:36:27.367Z] Configure a credential helper to remove this warning. See [2021-02-02T20:36:27.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T20:36:27.367Z] [2021-02-02T20:36:27.367Z] Login Succeeded [2021-02-02T20:36:27.367Z] docker.io [2021-02-02T20:36:27.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T20:36:27.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T20:36:27.631Z] Configure a credential helper to remove this warning. See [2021-02-02T20:36:27.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T20:36:27.631Z] [2021-02-02T20:36:27.631Z] Login Succeeded [2021-02-02T20:36:27.631Z] ---> docker-login.sh ends [Pipeline] } [2021-02-02T20:36:27.646Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-02-02T20:36:27.895Z] [edgeXDocker.push] Tagging docker image docker-device-modbus-go with the following tags: [2021-02-02T20:36:27.895Z] 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [2021-02-02T20:36:27.895Z] latest [2021-02-02T20:36:27.895Z] 1.3.1 [2021-02-02T20:36:27.895Z] 9f3888b97fc6b215bf6207a034605e4e0e7d1a95-1.3.1 [2021-02-02T20:36:27.895Z] master [2021-02-02T20:36:27.895Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:36:28.468Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:36:28.772Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [2021-02-02T20:36:28.772Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-02-02T20:36:28.772Z] f700fde42625: Preparing [2021-02-02T20:36:28.772Z] c469da5f1310: Preparing [2021-02-02T20:36:28.772Z] 5880af5c5eb6: Preparing [2021-02-02T20:36:28.772Z] c469da5f1310: Pushed [2021-02-02T20:36:28.772Z] f700fde42625: Pushed [2021-02-02T20:36:29.725Z] 5880af5c5eb6: Pushed [2021-02-02T20:36:29.988Z] 9f3888b97fc6b215bf6207a034605e4e0e7d1a95: digest: sha256:94d6c2c6c16e2e2bb601a4789b8cd75c0a00bfa793b2255fbb483102c1ab7380 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:36:30.303Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:36:30.621Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [2021-02-02T20:36:30.621Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-02-02T20:36:30.621Z] f700fde42625: Preparing [2021-02-02T20:36:30.621Z] c469da5f1310: Preparing [2021-02-02T20:36:30.621Z] 5880af5c5eb6: Preparing [2021-02-02T20:36:30.621Z] 5880af5c5eb6: Layer already exists [2021-02-02T20:36:30.621Z] c469da5f1310: Layer already exists [2021-02-02T20:36:30.621Z] f700fde42625: Layer already exists [2021-02-02T20:36:30.621Z] latest: digest: sha256:94d6c2c6c16e2e2bb601a4789b8cd75c0a00bfa793b2255fbb483102c1ab7380 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:36:30.934Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.1 [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:36:31.246Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.1 [2021-02-02T20:36:31.246Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-02-02T20:36:31.246Z] f700fde42625: Preparing [2021-02-02T20:36:31.246Z] c469da5f1310: Preparing [2021-02-02T20:36:31.246Z] 5880af5c5eb6: Preparing [2021-02-02T20:36:31.246Z] c469da5f1310: Layer already exists [2021-02-02T20:36:31.246Z] f700fde42625: Layer already exists [2021-02-02T20:36:31.246Z] 5880af5c5eb6: Layer already exists [2021-02-02T20:36:31.246Z] 1.3.1: digest: sha256:94d6c2c6c16e2e2bb601a4789b8cd75c0a00bfa793b2255fbb483102c1ab7380 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:36:31.568Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:9f3888b97fc6b215bf6207a034605e4e0e7d1a95-1.3.1 [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:36:31.878Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:9f3888b97fc6b215bf6207a034605e4e0e7d1a95-1.3.1 [2021-02-02T20:36:31.878Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-02-02T20:36:31.878Z] f700fde42625: Preparing [2021-02-02T20:36:31.878Z] c469da5f1310: Preparing [2021-02-02T20:36:31.878Z] 5880af5c5eb6: Preparing [2021-02-02T20:36:31.878Z] 5880af5c5eb6: Layer already exists [2021-02-02T20:36:31.878Z] f700fde42625: Layer already exists [2021-02-02T20:36:31.878Z] c469da5f1310: Layer already exists [2021-02-02T20:36:31.878Z] 9f3888b97fc6b215bf6207a034605e4e0e7d1a95-1.3.1: digest: sha256:94d6c2c6c16e2e2bb601a4789b8cd75c0a00bfa793b2255fbb483102c1ab7380 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:36:32.186Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:36:32.484Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [2021-02-02T20:36:32.484Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-02-02T20:36:32.485Z] f700fde42625: Preparing [2021-02-02T20:36:32.485Z] c469da5f1310: Preparing [2021-02-02T20:36:32.485Z] 5880af5c5eb6: Preparing [2021-02-02T20:36:32.485Z] c469da5f1310: Layer already exists [2021-02-02T20:36:32.485Z] f700fde42625: Layer already exists [2021-02-02T20:36:32.485Z] 5880af5c5eb6: Layer already exists [2021-02-02T20:36:32.485Z] master: digest: sha256:94d6c2c6c16e2e2bb601a4789b8cd75c0a00bfa793b2255fbb483102c1ab7380 size: 944 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-02-02T20:36:32.748Z] ===================================================== [Pipeline] echo [2021-02-02T20:36:32.804Z] taggedImages: [2021-02-02T20:36:32.804Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [2021-02-02T20:36:32.804Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [2021-02-02T20:36:32.804Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.1 [2021-02-02T20:36:32.804Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:9f3888b97fc6b215bf6207a034605e4e0e7d1a95-1.3.1 [2021-02-02T20:36:32.804Z] - 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] } [2021-02-02T20:36:35.109Z] 00ac8860ef70: Pull complete [2021-02-02T20:36:35.109Z] 63d7cb157983: Pull complete [2021-02-02T20:36:35.384Z] b116817d02f9: Pull complete [2021-02-02T20:36:38.772Z] 745a02a5169b: Pull complete [2021-02-02T20:36:38.772Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-02T20:36:38.772Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-02T20:36:38.772Z] ---> b7e6874047d6 [2021-02-02T20:36:38.772Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-02-02T20:36:42.181Z] ---> Running in fd521a460bf6 [2021-02-02T20:36:42.181Z] Removing intermediate container fd521a460bf6 [2021-02-02T20:36:42.181Z] ---> 185578956ddb [2021-02-02T20:36:42.181Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-02T20:36:42.181Z] ---> Running in 16ce303ccd9d [2021-02-02T20:36:44.832Z] Removing intermediate container 16ce303ccd9d [2021-02-02T20:36:44.832Z] ---> 78283c119484 [2021-02-02T20:36:44.832Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-02-02T20:36:44.832Z] ---> Running in 504c06aec66e [2021-02-02T20:36:45.821Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-02T20:36:48.438Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-02T20:36:51.824Z] (1/14) Installing libmagic (5.38-r0) [2021-02-02T20:36:52.097Z] (2/14) Installing file (5.38-r0) [2021-02-02T20:36:52.097Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-02-02T20:36:52.369Z] (4/14) Installing g++ (9.3.0-r2) [2021-02-02T20:37:14.514Z] (5/14) Installing fortify-headers (1.1-r0) [2021-02-02T20:37:14.514Z] (6/14) Installing patch (2.7.6-r6) [2021-02-02T20:37:14.514Z] (7/14) Installing build-base (0.5-r2) [2021-02-02T20:37:14.514Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-02-02T20:37:14.514Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-02-02T20:37:14.514Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-02-02T20:37:15.489Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-02-02T20:37:15.489Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-02-02T20:37:15.489Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-02-02T20:37:15.760Z] (14/14) Installing openssh (8.3_p1-r1) [2021-02-02T20:37:16.032Z] Executing busybox-1.31.1-r19.trigger [2021-02-02T20:37:16.303Z] OK: 221 MiB in 53 packages [2021-02-02T20:37:20.613Z] Removing intermediate container 504c06aec66e [2021-02-02T20:37:20.613Z] ---> c0e86d3e3596 [2021-02-02T20:37:20.613Z] Step 6/8 : WORKDIR /device-modbus-go [2021-02-02T20:37:20.613Z] ---> Running in d7c88ea32ee2 [2021-02-02T20:37:20.887Z] Removing intermediate container d7c88ea32ee2 [2021-02-02T20:37:20.887Z] ---> 64735bddee87 [2021-02-02T20:37:20.887Z] Step 7/8 : COPY . . [2021-02-02T20:37:21.863Z] ---> 72df5fd29a60 [2021-02-02T20:37:21.864Z] Step 8/8 : RUN go mod download [2021-02-02T20:37:21.864Z] ---> Running in 454c19d098df [2021-02-02T20:37:44.032Z] Removing intermediate container 454c19d098df [2021-02-02T20:37:44.032Z] ---> 82f26439319e [2021-02-02T20:37:44.032Z] Successfully built 82f26439319e [2021-02-02T20:37:44.032Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:37:44.378Z] + docker inspect -f . ci-base-image-arm64 [2021-02-02T20:37:44.378Z] . [Pipeline] withDockerContainer [2021-02-02T20:37:44.609Z] prd-ubuntu18.04-docker-arm64-4c-16g-24624 does not seem to be running inside a container [2021-02-02T20:37:44.687Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/37 -v /w/workspace/device-modbus-go/37:/w/workspace/device-modbus-go/37:rw,z -v /w/workspace/device-modbus-go/37@tmp:/w/workspace/device-modbus-go/37@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 ******** ci-base-image-arm64 cat [2021-02-02T20:37:46.026Z] $ docker top c73900971609d39fcddeab8082b85821056bb9572fb4dfc677a8022d6b5456d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-02T20:37:47.002Z] + go version [2021-02-02T20:37:47.002Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-02T20:37:47.021Z] $ docker stop --time=1 c73900971609d39fcddeab8082b85821056bb9572fb4dfc677a8022d6b5456d5 [2021-02-02T20:37:48.903Z] $ docker rm -f c73900971609d39fcddeab8082b85821056bb9572fb4dfc677a8022d6b5456d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:37:49.913Z] + docker inspect -f . ci-base-image-arm64 [2021-02-02T20:37:49.913Z] . [Pipeline] withDockerContainer [2021-02-02T20:37:50.188Z] prd-ubuntu18.04-docker-arm64-4c-16g-24624 does not seem to be running inside a container [2021-02-02T20:37:50.277Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/37 -v /w/workspace/device-modbus-go/37:/w/workspace/device-modbus-go/37:rw,z -v /w/workspace/device-modbus-go/37@tmp:/w/workspace/device-modbus-go/37@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 ******** ci-base-image-arm64 cat [2021-02-02T20:37:51.697Z] $ docker top 71d2f72701d3e30a30c8c14ce028cbb7216ba3b61c83b4f428cfa1095d9cce48 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-02T20:37:52.680Z] + make test [2021-02-02T20:37:52.680Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-02-02T20:37:53.665Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-02-02T20:38:26.053Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-02-02T20:38:26.647Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.353s coverage: 50.3% of statements [2021-02-02T20:38:26.921Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-02-02T20:38:35.205Z] gofmt -l . [2021-02-02T20:38:35.205Z] [ "`gofmt -l .`" = "" ] [2021-02-02T20:38:35.205Z] ./bin/test-attribution-txt.sh [2021-02-02T20:38:35.205Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-02T20:38:35.498Z] $ docker stop --time=1 71d2f72701d3e30a30c8c14ce028cbb7216ba3b61c83b4f428cfa1095d9cce48 [2021-02-02T20:38:37.815Z] $ docker rm -f 71d2f72701d3e30a30c8c14ce028cbb7216ba3b61c83b4f428cfa1095d9cce48 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-02T20:38:38.717Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-02T20:38:38.780Z] Warning: overwriting stash ‘coverage-report’ [2021-02-02T20:38:39.913Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-02T20:38:40.755Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-02T20:38:41.144Z] + ls -al . [2021-02-02T20:38:41.144Z] total 136 [2021-02-02T20:38:41.144Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 2 20:38 . [2021-02-02T20:38:41.144Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 20:36 .. [2021-02-02T20:38:41.144Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 2 20:36 .dockerignore [2021-02-02T20:38:41.144Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 20:36 .git [2021-02-02T20:38:41.144Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 20:36 .github [2021-02-02T20:38:41.144Z] -rw-rw-r-- 1 jenkins jenkins 338 Feb 2 20:36 .gitignore [2021-02-02T20:38:41.144Z] -rw-rw-r-- 1 jenkins jenkins 5589 Feb 2 20:36 Attribution.txt [2021-02-02T20:38:41.144Z] -rw-rw-r-- 1 jenkins jenkins 1434 Feb 2 20:36 Dockerfile [2021-02-02T20:38:41.144Z] -rw-rw-r-- 1 jenkins jenkins 958 Feb 2 20:36 Dockerfile.build [2021-02-02T20:38:41.144Z] -rw-rw-r-- 1 jenkins jenkins 679 Feb 2 20:36 Jenkinsfile [2021-02-02T20:38:41.144Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 2 20:36 LICENSE [2021-02-02T20:38:41.144Z] -rw-rw-r-- 1 jenkins jenkins 880 Feb 2 20:36 Makefile [2021-02-02T20:38:41.144Z] -rw-rw-r-- 1 jenkins jenkins 591 Feb 2 20:36 README.md [2021-02-02T20:38:41.144Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 2 20:32 VERSION [2021-02-02T20:38:41.144Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 20:36 bin [2021-02-02T20:38:41.144Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 20:36 cmd [2021-02-02T20:38:41.144Z] -rw-r--r-- 1 jenkins jenkins 22362 Feb 2 20:38 coverage.out [2021-02-02T20:38:41.144Z] -rw-r--r-- 1 jenkins jenkins 517 Feb 2 20:38 go.mod [2021-02-02T20:38:41.144Z] -rw-r--r-- 1 jenkins jenkins 14838 Feb 2 20:38 go.sum [2021-02-02T20:38:41.144Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 20:36 internal [2021-02-02T20:38:41.144Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 20:36 simulator [2021-02-02T20:38:41.144Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 20:36 snap [2021-02-02T20:38:41.144Z] -rw-rw-r-- 1 jenkins jenkins 229 Feb 2 20:36 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:38:41.524Z] + 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=9f3888b97fc6b215bf6207a034605e4e0e7d1a95 --label arch=arm64 --label version=1.3.1 . [2021-02-02T20:38:41.809Z] Sending build context to Docker daemon 562.2kB [2021-02-02T20:38:41.809Z] Step 1/20 : ARG BASE=golang:1.15-alpine3.12 [2021-02-02T20:38:41.809Z] Step 2/20 : FROM ${BASE} AS builder [2021-02-02T20:38:41.809Z] ---> 82f26439319e [2021-02-02T20:38:41.809Z] Step 3/20 : ARG MAKE='make build' [2021-02-02T20:38:42.111Z] ---> Running in ec9791feb93b [2021-02-02T20:38:42.726Z] Removing intermediate container ec9791feb93b [2021-02-02T20:38:42.726Z] ---> c22e9567109c [2021-02-02T20:38:42.726Z] Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-02T20:38:42.726Z] ---> Running in 7fb575968861 [2021-02-02T20:38:44.708Z] Removing intermediate container 7fb575968861 [2021-02-02T20:38:44.708Z] ---> e48e3e98fed7 [2021-02-02T20:38:44.708Z] Step 5/20 : RUN apk add --update --no-cache make git openssh build-base [2021-02-02T20:38:44.983Z] ---> Running in fd7ea69062ec [2021-02-02T20:38:45.960Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-02T20:38:46.934Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-02T20:38:47.915Z] OK: 221 MiB in 53 packages [2021-02-02T20:38:48.902Z] Removing intermediate container fd7ea69062ec [2021-02-02T20:38:48.902Z] ---> 32d826cebfae [2021-02-02T20:38:48.902Z] Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2021-02-02T20:38:49.181Z] ---> Running in 1587f0f5dc41 [2021-02-02T20:38:49.787Z] Removing intermediate container 1587f0f5dc41 [2021-02-02T20:38:49.787Z] ---> 81e579889ab9 [2021-02-02T20:38:49.787Z] Step 7/20 : COPY . . [2021-02-02T20:38:50.772Z] ---> bcdd73a40202 [2021-02-02T20:38:50.772Z] Step 8/20 : RUN ${MAKE} [2021-02-02T20:38:50.772Z] ---> Running in 7ef569148ffc [2021-02-02T20:38:51.773Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.1" -o cmd/device-modbus ./cmd [2021-02-02T20:39:18.649Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-02-02T20:39:25.353Z] Removing intermediate container 7ef569148ffc [2021-02-02T20:39:25.353Z] ---> edd39f7607e4 [2021-02-02T20:39:25.353Z] Step 9/20 : FROM scratch [2021-02-02T20:39:25.353Z] ---> [2021-02-02T20:39:25.354Z] Step 10/20 : ENV APP_PORT=49991 [2021-02-02T20:39:25.354Z] ---> Running in b7cda94cf3c6 [2021-02-02T20:39:25.625Z] Removing intermediate container b7cda94cf3c6 [2021-02-02T20:39:25.625Z] ---> 2a25b3039abf [2021-02-02T20:39:25.625Z] Step 11/20 : EXPOSE $APP_PORT [2021-02-02T20:39:25.625Z] ---> Running in 0881e10fd91e [2021-02-02T20:39:26.217Z] Removing intermediate container 0881e10fd91e [2021-02-02T20:39:26.217Z] ---> 90aedc701fad [2021-02-02T20:39:26.217Z] Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2021-02-02T20:39:27.201Z] ---> 1d84721f1c87 [2021-02-02T20:39:27.201Z] Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2021-02-02T20:39:27.795Z] ---> 7971dce0ac86 [2021-02-02T20:39:27.795Z] Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2021-02-02T20:39:28.406Z] ---> 026bc094e925 [2021-02-02T20:39:28.406Z] Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2021-02-02T20:39:28.406Z] ---> Running in 95bfd7236c56 [2021-02-02T20:39:29.000Z] Removing intermediate container 95bfd7236c56 [2021-02-02T20:39:29.000Z] ---> a93fa09f92e0 [2021-02-02T20:39:29.000Z] Step 16/20 : ENTRYPOINT ["/device-modbus"] [2021-02-02T20:39:29.000Z] ---> Running in 22e9116b8886 [2021-02-02T20:39:29.276Z] Removing intermediate container 22e9116b8886 [2021-02-02T20:39:29.276Z] ---> e927478acec5 [2021-02-02T20:39:29.276Z] Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-02T20:39:29.549Z] ---> Running in 5e75f051b36f [2021-02-02T20:39:30.144Z] Removing intermediate container 5e75f051b36f [2021-02-02T20:39:30.144Z] ---> 8883ceb3b0f1 [2021-02-02T20:39:30.144Z] Step 18/20 : LABEL arch=arm64 [2021-02-02T20:39:30.144Z] ---> Running in 76c78133d6e0 [2021-02-02T20:39:30.740Z] Removing intermediate container 76c78133d6e0 [2021-02-02T20:39:30.740Z] ---> b2f37466bbd0 [2021-02-02T20:39:30.740Z] Step 19/20 : LABEL git_sha=9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [2021-02-02T20:39:30.740Z] ---> Running in b865d384796b [2021-02-02T20:39:31.014Z] Removing intermediate container b865d384796b [2021-02-02T20:39:31.014Z] ---> 8f10690bd3bc [2021-02-02T20:39:31.014Z] Step 20/20 : LABEL version=1.3.1 [2021-02-02T20:39:31.286Z] ---> Running in f3f04a333a41 [2021-02-02T20:39:31.881Z] Removing intermediate container f3f04a333a41 [2021-02-02T20:39:31.881Z] ---> b1671f6e2276 [2021-02-02T20:39:31.881Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-02T20:39:31.881Z] Successfully built b1671f6e2276 [2021-02-02T20:39:31.881Z] Successfully tagged docker-device-modbus-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-02T20:39:32.347Z] provisioning config files... [2021-02-02T20:39:32.381Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/37@tmp/config2077378689604876803tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-02T20:39:32.764Z] ---> docker-login.sh [2021-02-02T20:39:32.764Z] nexus3.edgexfoundry.org:10001 [2021-02-02T20:39:33.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T20:39:33.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T20:39:33.036Z] Configure a credential helper to remove this warning. See [2021-02-02T20:39:33.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T20:39:33.036Z] [2021-02-02T20:39:33.036Z] Login Succeeded [2021-02-02T20:39:33.036Z] nexus3.edgexfoundry.org:10002 [2021-02-02T20:39:33.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T20:39:33.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T20:39:33.629Z] Configure a credential helper to remove this warning. See [2021-02-02T20:39:33.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T20:39:33.629Z] [2021-02-02T20:39:33.629Z] Login Succeeded [2021-02-02T20:39:33.629Z] nexus3.edgexfoundry.org:10003 [2021-02-02T20:39:34.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T20:39:34.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T20:39:34.223Z] Configure a credential helper to remove this warning. See [2021-02-02T20:39:34.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T20:39:34.223Z] [2021-02-02T20:39:34.223Z] Login Succeeded [2021-02-02T20:39:34.223Z] nexus3.edgexfoundry.org:10004 [2021-02-02T20:39:34.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T20:39:34.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T20:39:34.819Z] Configure a credential helper to remove this warning. See [2021-02-02T20:39:34.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T20:39:34.819Z] [2021-02-02T20:39:34.819Z] Login Succeeded [2021-02-02T20:39:34.819Z] docker.io [2021-02-02T20:39:35.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T20:39:35.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T20:39:35.688Z] Configure a credential helper to remove this warning. See [2021-02-02T20:39:35.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T20:39:35.688Z] [2021-02-02T20:39:35.688Z] Login Succeeded [2021-02-02T20:39:35.688Z] ---> docker-login.sh ends [Pipeline] } [2021-02-02T20:39:35.704Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-02-02T20:39:35.899Z] [edgeXDocker.push] Tagging docker image docker-device-modbus-go-arm64 with the following tags: [2021-02-02T20:39:35.899Z] 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [2021-02-02T20:39:35.899Z] latest [2021-02-02T20:39:35.899Z] 1.3.1 [2021-02-02T20:39:35.899Z] 9f3888b97fc6b215bf6207a034605e4e0e7d1a95-1.3.1 [2021-02-02T20:39:35.899Z] master [2021-02-02T20:39:35.899Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:39:36.480Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:39:36.825Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [2021-02-02T20:39:36.825Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-02-02T20:39:36.825Z] 1ad8e236ac17: Preparing [2021-02-02T20:39:36.825Z] 65e30f4fce2f: Preparing [2021-02-02T20:39:36.825Z] a6f8ab0449ab: Preparing [2021-02-02T20:39:37.100Z] 65e30f4fce2f: Pushed [2021-02-02T20:39:37.100Z] 1ad8e236ac17: Pushed [2021-02-02T20:39:39.709Z] a6f8ab0449ab: Pushed [2021-02-02T20:39:39.709Z] 9f3888b97fc6b215bf6207a034605e4e0e7d1a95: digest: sha256:5318999954a5d6cec864594e9ff96337e67e63399371ad7bfc3abd40d95a8021 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:39:40.056Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:39:40.393Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [2021-02-02T20:39:40.393Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-02-02T20:39:40.393Z] 1ad8e236ac17: Preparing [2021-02-02T20:39:40.393Z] 65e30f4fce2f: Preparing [2021-02-02T20:39:40.393Z] a6f8ab0449ab: Preparing [2021-02-02T20:39:40.393Z] 1ad8e236ac17: Layer already exists [2021-02-02T20:39:40.393Z] 65e30f4fce2f: Layer already exists [2021-02-02T20:39:40.393Z] a6f8ab0449ab: Layer already exists [2021-02-02T20:39:40.664Z] latest: digest: sha256:5318999954a5d6cec864594e9ff96337e67e63399371ad7bfc3abd40d95a8021 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:39:41.014Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.1 [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:39:41.361Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.1 [2021-02-02T20:39:41.361Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-02-02T20:39:41.361Z] 1ad8e236ac17: Preparing [2021-02-02T20:39:41.361Z] 65e30f4fce2f: Preparing [2021-02-02T20:39:41.361Z] a6f8ab0449ab: Preparing [2021-02-02T20:39:41.361Z] 65e30f4fce2f: Layer already exists [2021-02-02T20:39:41.361Z] a6f8ab0449ab: Layer already exists [2021-02-02T20:39:41.361Z] 1ad8e236ac17: Layer already exists [2021-02-02T20:39:41.635Z] 1.3.1: digest: sha256:5318999954a5d6cec864594e9ff96337e67e63399371ad7bfc3abd40d95a8021 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:39:41.981Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:9f3888b97fc6b215bf6207a034605e4e0e7d1a95-1.3.1 [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:39:42.323Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:9f3888b97fc6b215bf6207a034605e4e0e7d1a95-1.3.1 [2021-02-02T20:39:42.323Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-02-02T20:39:42.323Z] 1ad8e236ac17: Preparing [2021-02-02T20:39:42.323Z] 65e30f4fce2f: Preparing [2021-02-02T20:39:42.323Z] a6f8ab0449ab: Preparing [2021-02-02T20:39:42.323Z] a6f8ab0449ab: Layer already exists [2021-02-02T20:39:42.323Z] 1ad8e236ac17: Layer already exists [2021-02-02T20:39:42.323Z] 65e30f4fce2f: Layer already exists [2021-02-02T20:39:42.595Z] 9f3888b97fc6b215bf6207a034605e4e0e7d1a95-1.3.1: digest: sha256:5318999954a5d6cec864594e9ff96337e67e63399371ad7bfc3abd40d95a8021 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:39:42.944Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:39:43.286Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [2021-02-02T20:39:43.286Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-02-02T20:39:43.287Z] 1ad8e236ac17: Preparing [2021-02-02T20:39:43.287Z] 65e30f4fce2f: Preparing [2021-02-02T20:39:43.287Z] a6f8ab0449ab: Preparing [2021-02-02T20:39:43.287Z] 65e30f4fce2f: Layer already exists [2021-02-02T20:39:43.287Z] 1ad8e236ac17: Layer already exists [2021-02-02T20:39:43.287Z] a6f8ab0449ab: Layer already exists [2021-02-02T20:39:43.559Z] master: digest: sha256:5318999954a5d6cec864594e9ff96337e67e63399371ad7bfc3abd40d95a8021 size: 944 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-02-02T20:39:43.753Z] ===================================================== [Pipeline] echo [2021-02-02T20:39:43.807Z] taggedImages: [2021-02-02T20:39:43.807Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [2021-02-02T20:39:43.807Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [2021-02-02T20:39:43.807Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.1 [2021-02-02T20:39:43.807Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:9f3888b97fc6b215bf6207a034605e4e0e7d1a95-1.3.1 [2021-02-02T20:39:43.807Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] } [Pipeline] // script [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) [Pipeline] unstash [Pipeline] wrap [2021-02-02T20:39:45.011Z] provisioning config files... [2021-02-02T20:39:45.025Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7180411134301950030tmp [Pipeline] { [Pipeline] sh [2021-02-02T20:39:45.535Z] + set +x [2021-02-02T20:39:45.535Z] + curl -s https://codecov.io/bash [2021-02-02T20:39:45.535Z] + bash -s -- [2021-02-02T20:39:45.813Z] [2021-02-02T20:39:45.813Z] _____ _ [2021-02-02T20:39:45.813Z] / ____| | | [2021-02-02T20:39:45.813Z] | | ___ __| | ___ ___ _____ __ [2021-02-02T20:39:45.813Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-02T20:39:45.813Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-02T20:39:45.813Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-02T20:39:45.813Z] Bash-20210129-7c25fce [2021-02-02T20:39:45.813Z] [2021-02-02T20:39:45.813Z] [2021-02-02T20:39:45.813Z] ==> git version 2.24.3 found [2021-02-02T20:39:45.813Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-02-02T20:39:45.813Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-02T20:39:45.813Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-02T20:39:45.813Z] ==> Jenkins CI detected. [2021-02-02T20:39:45.813Z] project root: . [2021-02-02T20:39:45.813Z] --> token set from env [2021-02-02T20:39:45.813Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-02T20:39:45.813Z] ==> Running gcov in . (disable via -X gcov) [2021-02-02T20:39:45.813Z] ==> Python coveragepy not found [2021-02-02T20:39:45.813Z] ==> Searching for coverage reports in: [2021-02-02T20:39:45.813Z] + . [2021-02-02T20:39:46.101Z] -> Found 1 reports [2021-02-02T20:39:46.102Z] ==> Detecting git/mercurial file structure [2021-02-02T20:39:46.102Z] ==> Reading reports [2021-02-02T20:39:46.102Z] + ./coverage.out bytes=22362 [2021-02-02T20:39:46.102Z] ==> Appending adjustments [2021-02-02T20:39:46.102Z] https://docs.codecov.io/docs/fixing-reports [2021-02-02T20:39:46.102Z] + Found adjustments [2021-02-02T20:39:46.102Z] ==> Gzipping contents [2021-02-02T20:39:46.368Z] 8.0K /tmp/codecov.GS712K.gz [2021-02-02T20:39:46.368Z] ==> Uploading reports [2021-02-02T20:39:46.368Z] url: https://codecov.io [2021-02-02T20:39:46.368Z] query: branch=master&commit=9f3888b97fc6b215bf6207a034605e4e0e7d1a95&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F37%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-02-02T20:39:46.368Z] -> Pinging Codecov [2021-02-02T20:39:46.368Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=master&commit=9f3888b97fc6b215bf6207a034605e4e0e7d1a95&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F37%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-02-02T20:39:46.640Z] -> Uploading to [2021-02-02T20:39:46.640Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-02/55DBCA73C666E3227836607328DD7E49/9f3888b97fc6b215bf6207a034605e4e0e7d1a95/f165b682-e67d-479c-9049-7cf6d4d661d9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210202T203946Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8b177ce072ada5e39c98d3a61c1287416756f8f8267631e65a210b738552b909 [2021-02-02T20:39:46.640Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-02T20:39:46.640Z] Dload Upload Total Spent Left Speed [2021-02-02T20:39:47.229Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4230 0 0 100 4230 0 8624 --:--:-- --:--:-- --:--:-- 8632 [2021-02-02T20:39:47.229Z] -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [Pipeline] } [2021-02-02T20:39:47.240Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-02-02T20:39:47.655Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-02-02T20:39:47.710Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:39:48.082Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-02T20:39:48.350Z] [2021-02-02T20:39:48.350Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:39:48.731Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-02T20:39:48.731Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-02-02T20:39:48.731Z] 188c0c94c7c5: Pulling fs layer [2021-02-02T20:39:48.731Z] 0ef7d3d256c8: Pulling fs layer [2021-02-02T20:39:48.731Z] de9db76c5a1d: Pulling fs layer [2021-02-02T20:39:48.731Z] 0eba1c9be4d2: Pulling fs layer [2021-02-02T20:39:48.731Z] 0d57e429df01: Pulling fs layer [2021-02-02T20:39:48.731Z] 4e4be7b47b0d: Pulling fs layer [2021-02-02T20:39:48.731Z] e1f770b5df2f: Pulling fs layer [2021-02-02T20:39:48.731Z] 85a0685a4137: Pulling fs layer [2021-02-02T20:39:48.731Z] 0d57e429df01: Waiting [2021-02-02T20:39:48.731Z] 4e4be7b47b0d: Waiting [2021-02-02T20:39:48.731Z] e1f770b5df2f: Waiting [2021-02-02T20:39:48.731Z] 85a0685a4137: Waiting [2021-02-02T20:39:48.731Z] 0eba1c9be4d2: Waiting [2021-02-02T20:39:48.731Z] de9db76c5a1d: Verifying Checksum [2021-02-02T20:39:48.731Z] de9db76c5a1d: Download complete [2021-02-02T20:39:48.997Z] 0ef7d3d256c8: Verifying Checksum [2021-02-02T20:39:48.997Z] 0ef7d3d256c8: Download complete [2021-02-02T20:39:48.997Z] 0d57e429df01: Verifying Checksum [2021-02-02T20:39:48.997Z] 0d57e429df01: Download complete [2021-02-02T20:39:48.997Z] 4e4be7b47b0d: Verifying Checksum [2021-02-02T20:39:48.997Z] 4e4be7b47b0d: Download complete [2021-02-02T20:39:49.269Z] 188c0c94c7c5: Download complete [2021-02-02T20:39:49.891Z] 188c0c94c7c5: Pull complete [2021-02-02T20:39:50.204Z] 0ef7d3d256c8: Pull complete [2021-02-02T20:39:50.498Z] de9db76c5a1d: Pull complete [2021-02-02T20:39:50.498Z] e1f770b5df2f: Verifying Checksum [2021-02-02T20:39:50.498Z] e1f770b5df2f: Download complete [2021-02-02T20:39:56.072Z] 0eba1c9be4d2: Verifying Checksum [2021-02-02T20:39:56.072Z] 0eba1c9be4d2: Download complete [2021-02-02T20:39:56.353Z] 85a0685a4137: Verifying Checksum [2021-02-02T20:39:56.353Z] 85a0685a4137: Download complete [2021-02-02T20:40:06.599Z] 0eba1c9be4d2: Pull complete [2021-02-02T20:40:06.599Z] 0d57e429df01: Pull complete [2021-02-02T20:40:06.599Z] 4e4be7b47b0d: Pull complete [2021-02-02T20:40:08.028Z] e1f770b5df2f: Pull complete [2021-02-02T20:40:18.391Z] 85a0685a4137: Pull complete [2021-02-02T20:40:18.391Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-02-02T20:40:18.391Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-02T20:40:18.391Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-02-02T20:40:18.699Z] prd-centos7-docker-4c-2g-24607 does not seem to be running inside a container [2021-02-02T20:40:18.822Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-02-02T20:40:20.183Z] $ docker top 5678ce6edab5533853fa493ccd9b6c48511c52de62f17403dbb630789c7ac837 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-02-02T20:40:20.533Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-02-02T20:40:20.861Z] + set -o pipefail [2021-02-02T20:40:20.861Z] + snyk monitor '--org=edgex-jenkins' [2021-02-02T20:40:33.270Z] [2021-02-02T20:40:33.270Z] Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... [2021-02-02T20:40:33.270Z] [2021-02-02T20:40:33.270Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/a61108d7-dfe3-4bbf-a0fd-41e17546db64 [2021-02-02T20:40:33.270Z] [2021-02-02T20:40:33.270Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-02-02T20:40:33.270Z] [2021-02-02T20:40:33.270Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-02-02T20:40:33.270Z] [2021-02-02T20:40:33.270Z] [Pipeline] } [2021-02-02T20:40:33.292Z] $ docker stop --time=1 5678ce6edab5533853fa493ccd9b6c48511c52de62f17403dbb630789c7ac837 [2021-02-02T20:40:35.827Z] $ docker rm -f 5678ce6edab5533853fa493ccd9b6c48511c52de62f17403dbb630789c7ac837 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-02-02T20:40:38.156Z] + git log --format=format:%s -1 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:40:38.539Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-02T20:40:38.539Z] . [Pipeline] withDockerContainer [2021-02-02T20:40:38.763Z] prd-centos7-docker-4c-2g-24607 does not seem to be running inside a container [2021-02-02T20:40:38.852Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-02T20:40:40.057Z] $ docker top 6f1f0b10b7328461c4e84f44cbe3871d69b8379024c0731a29c3b83f46060984 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-02T20:40:40.403Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v1.3.1|v1.3.1-dev.8' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-02T20:40:41.158Z] + git semver [Pipeline] } [2021-02-02T20:40:41.185Z] $ docker stop --time=1 6f1f0b10b7328461c4e84f44cbe3871d69b8379024c0731a29c3b83f46060984 [2021-02-02T20:40:43.165Z] $ docker rm -f 6f1f0b10b7328461c4e84f44cbe3871d69b8379024c0731a29c3b83f46060984 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:40:43.895Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-02T20:40:44.215Z] [2021-02-02T20:40:44.215Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:40:44.729Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-02T20:40:45.027Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-02-02T20:40:45.027Z] ab5ef0e58194: Pulling fs layer [2021-02-02T20:40:45.027Z] 9712f1f96733: Pulling fs layer [2021-02-02T20:40:45.027Z] 63f879dbbcfc: Pulling fs layer [2021-02-02T20:40:45.027Z] 0d9ebad4ef96: Pulling fs layer [2021-02-02T20:40:45.027Z] e9a5061849ea: Pulling fs layer [2021-02-02T20:40:45.027Z] d747dcd14b5f: Pulling fs layer [2021-02-02T20:40:45.027Z] 2de7ff778b66: Pulling fs layer [2021-02-02T20:40:45.027Z] e9a5061849ea: Waiting [2021-02-02T20:40:45.027Z] 0d9ebad4ef96: Waiting [2021-02-02T20:40:45.027Z] d747dcd14b5f: Waiting [2021-02-02T20:40:45.027Z] 2de7ff778b66: Waiting [2021-02-02T20:40:45.027Z] 9712f1f96733: Download complete [2021-02-02T20:40:47.727Z] 63f879dbbcfc: Verifying Checksum [2021-02-02T20:40:47.727Z] 63f879dbbcfc: Download complete [2021-02-02T20:40:48.034Z] e9a5061849ea: Verifying Checksum [2021-02-02T20:40:48.034Z] e9a5061849ea: Download complete [2021-02-02T20:40:48.034Z] d747dcd14b5f: Verifying Checksum [2021-02-02T20:40:48.034Z] d747dcd14b5f: Download complete [2021-02-02T20:40:49.505Z] 2de7ff778b66: Verifying Checksum [2021-02-02T20:40:49.505Z] 2de7ff778b66: Download complete [2021-02-02T20:40:49.505Z] 0d9ebad4ef96: Verifying Checksum [2021-02-02T20:40:49.505Z] 0d9ebad4ef96: Download complete [2021-02-02T20:40:50.112Z] ab5ef0e58194: Verifying Checksum [2021-02-02T20:40:50.112Z] ab5ef0e58194: Download complete [2021-02-02T20:41:00.263Z] ab5ef0e58194: Pull complete [2021-02-02T20:41:00.263Z] 9712f1f96733: Pull complete [2021-02-02T20:41:02.959Z] 63f879dbbcfc: Pull complete [2021-02-02T20:41:15.575Z] 0d9ebad4ef96: Pull complete [2021-02-02T20:41:16.564Z] e9a5061849ea: Pull complete [2021-02-02T20:41:16.564Z] d747dcd14b5f: Pull complete [2021-02-02T20:41:20.981Z] 2de7ff778b66: Pull complete [2021-02-02T20:41:20.981Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-02-02T20:41:20.981Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-02T20:41:20.981Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-02-02T20:41:21.371Z] prd-centos7-docker-4c-2g-24607 does not seem to be running inside a container [2021-02-02T20:41:21.487Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-02-02T20:41:24.570Z] $ docker top 0adaebe5c04da8231e6536b90a082c0547745a2712020649d3e486ee24250db2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-02-02T20:41:24.952Z] provisioning config files... [2021-02-02T20:41:24.978Z] copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config3462221298890890837tmp [2021-02-02T20:41:25.031Z] copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config6316167016503415678tmp [2021-02-02T20:41:25.065Z] copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config614414596040016582tmp [Pipeline] { [Pipeline] echo [2021-02-02T20:41:25.135Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T20:41:25.462Z] ---> sigul-configuration.sh [2021-02-02T20:41:25.734Z] gpg: directory `/root/.gnupg' created [2021-02-02T20:41:25.734Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-02-02T20:41:25.734Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-02-02T20:41:25.734Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-02-02T20:41:25.734Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-02-02T20:41:25.734Z] gpg: CAST5 encrypted data [2021-02-02T20:41:25.734Z] gpg: encrypted with 1 passphrase [2021-02-02T20:41:25.734Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-02-02T20:41:26.417Z] + mkdir /home/jenkins [2021-02-02T20:41:26.417Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-02-02T20:41:26.738Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-02-02T20:41:26.751Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T20:41:27.072Z] ---> sigul-install.sh [2021-02-02T20:41:37.224Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-02-02T20:41:37.894Z] + git tag --list [2021-02-02T20:41:37.894Z] 0.7.1 [2021-02-02T20:41:37.894Z] v1.0.0 [2021-02-02T20:41:37.894Z] v1.1.0 [2021-02-02T20:41:37.894Z] v1.1.1 [2021-02-02T20:41:37.894Z] v1.2.2 [2021-02-02T20:41:37.894Z] v1.3.0 [2021-02-02T20:41:37.894Z] v1.3.1 [2021-02-02T20:41:37.894Z] v1.3.1-dev.1 [2021-02-02T20:41:37.894Z] v1.3.1-dev.2 [2021-02-02T20:41:37.894Z] v1.3.1-dev.3 [2021-02-02T20:41:37.894Z] v1.3.1-dev.4 [2021-02-02T20:41:37.894Z] v1.3.1-dev.5 [2021-02-02T20:41:37.894Z] v1.3.1-dev.6 [2021-02-02T20:41:37.894Z] v1.3.1-dev.7 [2021-02-02T20:41:37.894Z] v1.3.1-dev.8 [Pipeline] sh [2021-02-02T20:41:38.248Z] + lftools sign git-tag v1.3.1 [2021-02-02T20:41:40.265Z] Signing Git tag with Sigul... [2021-02-02T20:41:40.265Z] Signing v1.3.1 [Pipeline] echo [2021-02-02T20:41:41.692Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T20:41:42.033Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-02-02T20:41:42.049Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-02-02T20:41:42.162Z] $ docker stop --time=1 0adaebe5c04da8231e6536b90a082c0547745a2712020649d3e486ee24250db2 [2021-02-02T20:41:44.661Z] $ docker rm -f 0adaebe5c04da8231e6536b90a082c0547745a2712020649d3e486ee24250db2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:41:45.733Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-02T20:41:45.733Z] . [Pipeline] withDockerContainer [2021-02-02T20:41:46.012Z] prd-centos7-docker-4c-2g-24607 does not seem to be running inside a container [2021-02-02T20:41:46.168Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-02T20:41:47.315Z] $ docker top d0fa08ae1e602f8a7557fdd077dd05a6b689490b1b6c14b584031720e3cf0f41 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-02T20:41:47.678Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v1.3.1|v1.3.1-dev.8' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-02T20:41:48.099Z] + git semver [Pipeline] } [2021-02-02T20:41:48.399Z] $ docker stop --time=1 d0fa08ae1e602f8a7557fdd077dd05a6b689490b1b6c14b584031720e3cf0f41 [2021-02-02T20:41:50.120Z] $ docker rm -f d0fa08ae1e602f8a7557fdd077dd05a6b689490b1b6c14b584031720e3cf0f41 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:41:50.804Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-02T20:41:50.804Z] . [Pipeline] withDockerContainer [2021-02-02T20:41:51.021Z] prd-centos7-docker-4c-2g-24607 does not seem to be running inside a container [2021-02-02T20:41:51.148Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-02T20:41:52.578Z] $ docker top b7a4eb41d8d325335679b69550673092b94d48fe91907aa007f04bbcc9a32e17 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-02T20:41:53.155Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v1.3.1|v1.3.1-dev.8' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-02T20:41:53.563Z] + git semver [Pipeline] } [2021-02-02T20:41:53.588Z] $ docker stop --time=1 b7a4eb41d8d325335679b69550673092b94d48fe91907aa007f04bbcc9a32e17 [2021-02-02T20:41:55.299Z] $ docker rm -f b7a4eb41d8d325335679b69550673092b94d48fe91907aa007f04bbcc9a32e17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-02-02T20:41:57.197Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T20:41:58.142Z] ---> package-listing.sh [2021-02-02T20:41:58.142Z] ++ facter osfamily [2021-02-02T20:41:58.142Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-02T20:41:58.413Z] + OS_FAMILY=redhat [2021-02-02T20:41:58.413Z] + workspace=/w/workspace/xfoundry_device-modbus-go_master [2021-02-02T20:41:58.413Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-02T20:41:58.413Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-02T20:41:58.413Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-02T20:41:58.413Z] + PACKAGES=/tmp/packages_start.txt [2021-02-02T20:41:58.413Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-02-02T20:41:58.413Z] + PACKAGES=/tmp/packages_end.txt [2021-02-02T20:41:58.413Z] + case "${OS_FAMILY}" in [2021-02-02T20:41:58.413Z] + rpm -qa [2021-02-02T20:41:58.413Z] + sort [2021-02-02T20:42:05.097Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-02T20:42:05.097Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-02T20:42:05.097Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-02T20:42:05.097Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-02-02T20:42:05.097Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ [2021-02-02T20:42:05.097Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_master/archives/ [Pipeline] echo [2021-02-02T20:42:05.120Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-02T20:42:05.433Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:42:06.163Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-02T20:42:06.436Z] [2021-02-02T20:42:06.436Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-02T20:42:06.839Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-02T20:42:07.130Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-02T20:42:07.130Z] df20fa9351a1: Pulling fs layer [2021-02-02T20:42:07.130Z] 36b3adc4ff6f: Pulling fs layer [2021-02-02T20:42:07.130Z] 8ad3a11d3b57: Pulling fs layer [2021-02-02T20:42:07.130Z] 46f8f816bc3b: Pulling fs layer [2021-02-02T20:42:07.130Z] 93b61091891f: Pulling fs layer [2021-02-02T20:42:07.130Z] 93b9cdb0e59b: Pulling fs layer [2021-02-02T20:42:07.130Z] 5e14af77c1be: Pulling fs layer [2021-02-02T20:42:07.130Z] 01666e4c0597: Pulling fs layer [2021-02-02T20:42:07.130Z] aa168da1d23b: Pulling fs layer [2021-02-02T20:42:07.130Z] 93b9cdb0e59b: Waiting [2021-02-02T20:42:07.130Z] 5e14af77c1be: Waiting [2021-02-02T20:42:07.130Z] 01666e4c0597: Waiting [2021-02-02T20:42:07.130Z] aa168da1d23b: Waiting [2021-02-02T20:42:07.130Z] 46f8f816bc3b: Waiting [2021-02-02T20:42:07.130Z] 93b61091891f: Waiting [2021-02-02T20:42:07.130Z] 36b3adc4ff6f: Download complete [2021-02-02T20:42:07.130Z] 46f8f816bc3b: Verifying Checksum [2021-02-02T20:42:07.130Z] 46f8f816bc3b: Download complete [2021-02-02T20:42:07.130Z] df20fa9351a1: Verifying Checksum [2021-02-02T20:42:07.130Z] df20fa9351a1: Download complete [2021-02-02T20:42:07.130Z] 93b9cdb0e59b: Verifying Checksum [2021-02-02T20:42:07.130Z] 93b9cdb0e59b: Download complete [2021-02-02T20:42:07.130Z] 5e14af77c1be: Verifying Checksum [2021-02-02T20:42:07.130Z] 5e14af77c1be: Download complete [2021-02-02T20:42:07.422Z] 01666e4c0597: Download complete [2021-02-02T20:42:07.422Z] 93b61091891f: Verifying Checksum [2021-02-02T20:42:07.422Z] 93b61091891f: Download complete [2021-02-02T20:42:08.285Z] 8ad3a11d3b57: Verifying Checksum [2021-02-02T20:42:08.285Z] 8ad3a11d3b57: Download complete [2021-02-02T20:42:08.285Z] df20fa9351a1: Pull complete [2021-02-02T20:42:09.094Z] 36b3adc4ff6f: Pull complete [2021-02-02T20:42:11.165Z] 8ad3a11d3b57: Pull complete [2021-02-02T20:42:11.165Z] 46f8f816bc3b: Pull complete [2021-02-02T20:42:11.792Z] 93b61091891f: Pull complete [2021-02-02T20:42:12.115Z] aa168da1d23b: Verifying Checksum [2021-02-02T20:42:12.115Z] aa168da1d23b: Download complete [2021-02-02T20:42:12.115Z] 93b9cdb0e59b: Pull complete [2021-02-02T20:42:12.405Z] 5e14af77c1be: Pull complete [2021-02-02T20:42:12.698Z] 01666e4c0597: Pull complete [2021-02-02T20:42:27.854Z] aa168da1d23b: Pull complete [2021-02-02T20:42:27.854Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-02T20:42:27.854Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-02T20:42:27.854Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-02T20:42:28.007Z] prd-centos7-docker-4c-2g-24607 does not seem to be running inside a container [2021-02-02T20:42:28.070Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-02T20:42:31.038Z] $ docker top 792f884354431c9c34fc68a10dc5111966d1056c5ff7e0a6125df02cffb2a1ed -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-02T20:42:32.069Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-02T20:42:32.419Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-02T20:42:32.760Z] + ls /var/log/sa-host [2021-02-02T20:42:32.760Z] + sadf -c /var/log/sa-host/sa02 [2021-02-02T20:42:32.760Z] file_magic: OK [2021-02-02T20:42:32.760Z] HZ: Using current value: 100 [2021-02-02T20:42:32.760Z] file_header: OK [2021-02-02T20:42:32.760Z] 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-02-02T20:42:32.760Z] Statistics: [2021-02-02T20:42:32.760Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-02T20:42:32.760Z] File successfully converted to sysstat format version 12.2.1 [2021-02-02T20:42:32.760Z] + sadf -c /var/log/sa-host/sa23 [2021-02-02T20:42:32.760Z] file_magic: OK [2021-02-02T20:42:32.760Z] HZ: Using current value: 100 [2021-02-02T20:42:32.760Z] file_header: OK [2021-02-02T20:42:32.760Z] 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-02-02T20:42:32.760Z] Statistics: [2021-02-02T20:42:32.760Z] Hnuu...uuuununununu... [2021-02-02T20:42:32.760Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-02T20:42:32.962Z] provisioning config files... [2021-02-02T20:42:32.981Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2699597983936662900tmp [Pipeline] { [Pipeline] echo [2021-02-02T20:42:33.051Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T20:42:33.711Z] ---> create-netrc.sh [Pipeline] } [2021-02-02T20:42:33.737Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-02T20:42:33.832Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T20:42:34.173Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-02T20:42:34.205Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T20:42:34.551Z] ---> sudo-logs.sh [2021-02-02T20:42:34.551Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-02T20:42:34.841Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T20:42:35.237Z] ---> job-cost.sh [2021-02-02T20:42:35.520Z] lf-activate-venv: SKIPPING [2021-02-02T20:42:35.520Z] INFO: No Stack... [2021-02-02T20:42:36.108Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-02T20:42:36.710Z] INFO: Archiving Costs [Pipeline] echo [2021-02-02T20:42:36.732Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T20:42:37.084Z] ---> logs-deploy.sh [2021-02-02T20:42:37.084Z] lf-activate-venv: SKIPPING [2021-02-02T20:42:37.084Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/37 [2021-02-02T20:42:37.085Z] INFO: archiving workspace using pattern(s): [2021-02-02T20:42:39.736Z] Archives upload complete. [2021-02-02T20:42:39.736Z] INFO: archiving logs to Nexus