Pull request #188 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 84e23a9a16023d01cd9b6050c108f14720065c2e+645745cc2ab9199d577c2f6eedd0068fe13701dd (daf5c4a90ed258e727e63907e486098b0f1abbd8) Running in Durability level: MAX_SURVIVABILITY 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-188/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4d45bb06fbd349d05c83df7b0a7176550fae40e6 # timeout=10 Commit message: "Merge pull request #295 from ernestojeda/always-docker-auth" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-188/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-12218 in /w/workspace/xfoundry_device-modbus-go_PR-188 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-188 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --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 > 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 --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/188/head:refs/remotes/origin/PR-188 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 645745cc2ab9199d577c2f6eedd0068fe13701dd into PR head commit 84e23a9a16023d01cd9b6050c108f14720065c2e Merge succeeded, producing 84e23a9a16023d01cd9b6050c108f14720065c2e Checking out Revision 84e23a9a16023d01cd9b6050c108f14720065c2e (PR-188) > git config core.sparsecheckout # timeout=10 > git checkout -f 84e23a9a16023d01cd9b6050c108f14720065c2e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 645745cc2ab9199d577c2f6eedd0068fe13701dd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 84e23a9a16023d01cd9b6050c108f14720065c2e # timeout=10 Commit message: "Bump github.com/edgexfoundry/device-sdk-go from 1.2.4-dev.34 to 1.3.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-16T06:27:36.087Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-16T06:27:36.412Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-16T06:27:36.699Z] ========================================================= [2020-11-16T06:27:36.699Z] EdgeX Global Pipelines Version Info [2020-11-16T06:27:36.699Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:27:38.626Z] ------------------- [2020-11-16T06:27:38.626Z] stable info: [2020-11-16T06:27:38.626Z] ------------------- [2020-11-16T06:27:38.626Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-16T06:27:38.626Z] Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [2020-11-16T06:27:38.626Z] Message: update stable to v1.0.162 [2020-11-16T06:27:39.201Z] ------------------- [2020-11-16T06:27:39.201Z] experimental info: [2020-11-16T06:27:39.201Z] ------------------- [2020-11-16T06:27:39.201Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-16T06:27:39.201Z] Commit SHA: 6f2ee81cce8ce978e0d8ebd6865d4103bdd6920b [2020-11-16T06:27:39.201Z] Message: update experimental to v1.0.164 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-16T06:27:39.752Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2020-11-16T06:27:39.877Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2020-11-16T06:27:40.035Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-16T06:27:40.166Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-16T06:27:40.307Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-16T06:27:40.440Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-16T06:27:40.590Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-16T06:27:40.714Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-16T06:27:40.844Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-16T06:27:41.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-16T06:27:41.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-16T06:27:41.308Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo [2020-11-16T06:27:41.440Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-16T06:27:41.583Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-16T06:27:41.744Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-16T06:27:41.898Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-11-16T06:27:42.020Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-16T06:27:42.165Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-16T06:27:42.286Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-16T06:27:42.530Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-11-16T06:27:42.652Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-11-16T06:27:42.774Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-11-16T06:27:42.901Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-16T06:27:43.019Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-16T06:27:43.136Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-16T06:27:43.258Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-11-16T06:27:43.381Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-188 [Pipeline] echo [2020-11-16T06:27:43.512Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-188 [Pipeline] echo [2020-11-16T06:27:43.640Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-188 [Pipeline] echo [2020-11-16T06:27:43.785Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 84e23a9a16023d01cd9b6050c108f14720065c2e [Pipeline] echo [2020-11-16T06:27:44.020Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 84e23a9 [Pipeline] echo [2020-11-16T06:27:44.155Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-16T06:27:44.426Z] provisioning config files... [2020-11-16T06:27:44.496Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-188@tmp/config8015588862117745251tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:27:44.910Z] ---> docker-login.sh [2020-11-16T06:27:44.910Z] nexus3.edgexfoundry.org:10001 [2020-11-16T06:27:45.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:27:45.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:27:45.449Z] Configure a credential helper to remove this warning. See [2020-11-16T06:27:45.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:27:45.449Z] [2020-11-16T06:27:45.449Z] Login Succeeded [2020-11-16T06:27:45.449Z] nexus3.edgexfoundry.org:10002 [2020-11-16T06:27:45.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:27:45.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:27:45.449Z] Configure a credential helper to remove this warning. See [2020-11-16T06:27:45.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:27:45.449Z] [2020-11-16T06:27:45.449Z] Login Succeeded [2020-11-16T06:27:45.712Z] nexus3.edgexfoundry.org:10003 [2020-11-16T06:27:45.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:27:45.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:27:45.712Z] Configure a credential helper to remove this warning. See [2020-11-16T06:27:45.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:27:45.712Z] [2020-11-16T06:27:45.712Z] Login Succeeded [2020-11-16T06:27:45.712Z] nexus3.edgexfoundry.org:10004 [2020-11-16T06:27:45.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:27:45.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:27:45.980Z] Configure a credential helper to remove this warning. See [2020-11-16T06:27:45.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:27:45.980Z] [2020-11-16T06:27:45.980Z] Login Succeeded [2020-11-16T06:27:45.980Z] docker.io [2020-11-16T06:27:46.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:27:46.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:27:46.512Z] Configure a credential helper to remove this warning. See [2020-11-16T06:27:46.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:27:46.512Z] [2020-11-16T06:27:46.512Z] Login Succeeded [2020-11-16T06:27:46.512Z] ---> docker-login.sh ends [Pipeline] } [2020-11-16T06:27:46.536Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-16T06:27:47.468Z] + git log --format=format:%s -1 84e23a9a16023d01cd9b6050c108f14720065c2e [Pipeline] echo [2020-11-16T06:27:47.553Z] GIT_COMMIT: 84e23a9a16023d01cd9b6050c108f14720065c2e, Commit Message: Bump github.com/edgexfoundry/device-sdk-go from 1.2.4-dev.34 to 1.3.0 [Pipeline] echo [2020-11-16T06:27:47.627Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:27:48.250Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T06:27:48.250Z] [2020-11-16T06:27:48.250Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:27:48.631Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T06:27:48.631Z] latest: Pulling from edgex-devops/git-semver [2020-11-16T06:27:48.631Z] 31603596830f: Pulling fs layer [2020-11-16T06:27:48.631Z] 2a8b12db71e7: Pulling fs layer [2020-11-16T06:27:48.631Z] 6ca5941a6612: Pulling fs layer [2020-11-16T06:27:48.631Z] ecc8261a40a4: Pulling fs layer [2020-11-16T06:27:48.631Z] ecc8261a40a4: Waiting [2020-11-16T06:27:48.631Z] 2a8b12db71e7: Verifying Checksum [2020-11-16T06:27:48.631Z] 2a8b12db71e7: Download complete [2020-11-16T06:27:48.906Z] 31603596830f: Verifying Checksum [2020-11-16T06:27:48.906Z] 31603596830f: Download complete [2020-11-16T06:27:48.906Z] ecc8261a40a4: Verifying Checksum [2020-11-16T06:27:48.906Z] ecc8261a40a4: Download complete [2020-11-16T06:27:48.906Z] 6ca5941a6612: Verifying Checksum [2020-11-16T06:27:48.906Z] 6ca5941a6612: Download complete [2020-11-16T06:27:49.170Z] 31603596830f: Pull complete [2020-11-16T06:27:49.170Z] 2a8b12db71e7: Pull complete [2020-11-16T06:27:50.119Z] 6ca5941a6612: Pull complete [2020-11-16T06:27:50.382Z] ecc8261a40a4: Pull complete [2020-11-16T06:27:50.382Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-16T06:27:50.382Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T06:27:50.382Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-16T06:27:50.509Z] prd-centos7-docker-4c-2g-12218 does not seem to be running inside a container [2020-11-16T06:27:50.561Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-188 -v /w/workspace/xfoundry_device-modbus-go_PR-188:/w/workspace/xfoundry_device-modbus-go_PR-188:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-188@tmp:/w/workspace/xfoundry_device-modbus-go_PR-188@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-16T06:27:52.753Z] $ docker top 9124736f142d40edd46cf8b1a13f648d7510655dc20bf63772e7130ef6d5d9eb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-16T06:27:53.216Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-16T06:27:53.216Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-16T06:27:53.434Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-16T06:27:53.439Z] $ docker exec 9124736f142d40edd46cf8b1a13f648d7510655dc20bf63772e7130ef6d5d9eb ssh-agent [2020-11-16T06:27:53.595Z] SSH_AUTH_SOCK=/tmp/ssh-X60CtrQ0WyJp/agent.13 [2020-11-16T06:27:53.595Z] SSH_AGENT_PID=18 [2020-11-16T06:27:53.607Z] Running ssh-add (command line suppressed) [2020-11-16T06:27:53.737Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-188@tmp/private_key_8382647963346961437.key (/w/workspace/xfoundry_device-modbus-go_PR-188@tmp/private_key_8382647963346961437.key) [2020-11-16T06:27:53.792Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-16T06:27:54.238Z] + git tag --points-at HEAD [Pipeline] } [2020-11-16T06:27:54.266Z] $ docker exec --env ******** --env ******** 9124736f142d40edd46cf8b1a13f648d7510655dc20bf63772e7130ef6d5d9eb ssh-agent -k [2020-11-16T06:27:54.380Z] unset SSH_AUTH_SOCK; [2020-11-16T06:27:54.380Z] unset SSH_AGENT_PID; [2020-11-16T06:27:54.380Z] echo Agent pid 18 killed; [2020-11-16T06:27:54.422Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-16T06:27:54.608Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-16T06:27:54.608Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-16T06:27:54.782Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-16T06:27:54.788Z] $ docker exec 9124736f142d40edd46cf8b1a13f648d7510655dc20bf63772e7130ef6d5d9eb ssh-agent [2020-11-16T06:27:54.960Z] SSH_AUTH_SOCK=/tmp/ssh-SO64sLsRa6xs/agent.47 [2020-11-16T06:27:54.960Z] SSH_AGENT_PID=52 [2020-11-16T06:27:54.967Z] Running ssh-add (command line suppressed) [2020-11-16T06:27:55.089Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-188@tmp/private_key_1947738506933648751.key (/w/workspace/xfoundry_device-modbus-go_PR-188@tmp/private_key_1947738506933648751.key) [2020-11-16T06:27:55.137Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-16T06:27:55.507Z] + git semver init [2020-11-16T06:27:55.507Z] # -> Open(): unable to determine branch for HEAD [2020-11-16T06:27:55.507Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-188/.git [2020-11-16T06:27:55.507Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-188 [2020-11-16T06:27:55.507Z] # $SEMVER_REMOTE_NAME = origin [2020-11-16T06:27:55.507Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-16T06:27:55.507Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-16T06:27:55.507Z] # $SEMVER_BRANCH = PR-188 [2020-11-16T06:27:55.507Z] # $SEMVER_TEMP = /tmp/semver-202298469 [2020-11-16T06:27:55.508Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-11-16T06:27:56.088Z] # '/tmp/semver-202298469' -> '/w/workspace/xfoundry_device-modbus-go_PR-188/.semver' [2020-11-16T06:27:56.088Z] # -> Force: false [2020-11-16T06:27:56.088Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-188/.semver [Pipeline] } [2020-11-16T06:27:56.113Z] $ docker exec --env ******** --env ******** 9124736f142d40edd46cf8b1a13f648d7510655dc20bf63772e7130ef6d5d9eb ssh-agent -k [2020-11-16T06:27:56.240Z] unset SSH_AUTH_SOCK; [2020-11-16T06:27:56.242Z] unset SSH_AGENT_PID; [2020-11-16T06:27:56.242Z] echo Agent pid 52 killed; [2020-11-16T06:27:56.292Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-16T06:27:56.964Z] + git semver [Pipeline] } [2020-11-16T06:27:57.003Z] $ docker stop --time=1 9124736f142d40edd46cf8b1a13f648d7510655dc20bf63772e7130ef6d5d9eb [2020-11-16T06:27:58.373Z] $ docker rm -f 9124736f142d40edd46cf8b1a13f648d7510655dc20bf63772e7130ef6d5d9eb [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-16T06:27:58.948Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-16T06:27:59.706Z] Stashed 1 file(s) [Pipeline] echo [2020-11-16T06:27:59.728Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-11-16T06:28:15.703Z] Still waiting to schedule task [2020-11-16T06:28:15.704Z] ‘prd-centos7-docker-4c-2g-12213’ is offline; ‘prd-centos7-docker-4c-2g-12215’ is offline; ‘prd-centos7-docker-4c-2g-12221’ is offline; ‘prd-centos7-docker-8c-8g-12216’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-10024’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-11550’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-11-16T06:28:15.727Z] Still waiting to schedule task [2020-11-16T06:28:15.727Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-11-16T06:29:35.805Z] Running on prd-centos7-docker-4c-2g-12223 in /w/workspace/xfoundry_device-modbus-go_PR-188 [Pipeline] { [Pipeline] ws [2020-11-16T06:29:35.903Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2020-11-16T06:29:42.976Z] using credential edgex-jenkins-ssh [2020-11-16T06:29:43.044Z] Cloning the remote Git repository [2020-11-16T06:29:43.105Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-11-16T06:29:43.220Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2020-11-16T06:29:43.371Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-11-16T06:29:43.371Z] > git --version # timeout=10 [2020-11-16T06:29:43.392Z] > git --version # 'git version 2.16.5' [2020-11-16T06:29:43.393Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T06:29:43.471Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T06:29:44.048Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-11-16T06:29:44.063Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T06:29:44.082Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-11-16T06:29:44.100Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-11-16T06:29:44.100Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T06:29:44.107Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/188/head:refs/remotes/origin/PR-188 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-16T06:29:44.513Z] Merging remotes/origin/master commit 645745cc2ab9199d577c2f6eedd0068fe13701dd into PR head commit 84e23a9a16023d01cd9b6050c108f14720065c2e [2020-11-16T06:29:44.657Z] Merge succeeded, producing 84e23a9a16023d01cd9b6050c108f14720065c2e [2020-11-16T06:29:44.658Z] Checking out Revision 84e23a9a16023d01cd9b6050c108f14720065c2e (PR-188) [2020-11-16T06:29:44.527Z] > git config core.sparsecheckout # timeout=10 [2020-11-16T06:29:44.538Z] > git checkout -f 84e23a9a16023d01cd9b6050c108f14720065c2e # timeout=10 [2020-11-16T06:29:44.583Z] > git remote # timeout=10 [2020-11-16T06:29:44.601Z] > git config --get remote.origin.url # timeout=10 [2020-11-16T06:29:44.621Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T06:29:44.626Z] > git merge 645745cc2ab9199d577c2f6eedd0068fe13701dd # timeout=10 [2020-11-16T06:29:44.641Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-16T06:29:44.665Z] > git config core.sparsecheckout # timeout=10 [2020-11-16T06:29:44.676Z] > git checkout -f 84e23a9a16023d01cd9b6050c108f14720065c2e # timeout=10 [2020-11-16T06:29:48.785Z] Commit message: "Bump github.com/edgexfoundry/device-sdk-go from 1.2.4-dev.34 to 1.3.0" [2020-11-16T06:29:48.835Z] > git --version # timeout=10 [2020-11-16T06:29:48.851Z] > git --version # 'git version 2.16.5' [2020-11-16T06:29:48.893Z] fatal: bad object 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-16T06:29:50.697Z] provisioning config files... [2020-11-16T06:29:50.739Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config2409458715616531163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:29:51.892Z] ---> docker-login.sh [2020-11-16T06:29:51.892Z] nexus3.edgexfoundry.org:10001 [2020-11-16T06:29:52.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:29:52.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:29:52.478Z] Configure a credential helper to remove this warning. See [2020-11-16T06:29:52.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:29:52.478Z] [2020-11-16T06:29:52.478Z] Login Succeeded [2020-11-16T06:29:52.478Z] nexus3.edgexfoundry.org:10002 [2020-11-16T06:29:52.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:29:52.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:29:52.816Z] Configure a credential helper to remove this warning. See [2020-11-16T06:29:52.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:29:52.816Z] [2020-11-16T06:29:52.816Z] Login Succeeded [2020-11-16T06:29:52.816Z] nexus3.edgexfoundry.org:10003 [2020-11-16T06:29:53.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:29:53.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:29:53.517Z] Configure a credential helper to remove this warning. See [2020-11-16T06:29:53.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:29:53.517Z] [2020-11-16T06:29:53.517Z] Login Succeeded [2020-11-16T06:29:53.517Z] nexus3.edgexfoundry.org:10004 [2020-11-16T06:29:53.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:29:53.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:29:53.857Z] Configure a credential helper to remove this warning. See [2020-11-16T06:29:53.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:29:53.857Z] [2020-11-16T06:29:53.857Z] Login Succeeded [2020-11-16T06:29:54.124Z] docker.io [2020-11-16T06:29:54.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:29:54.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:29:54.667Z] Configure a credential helper to remove this warning. See [2020-11-16T06:29:54.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:29:54.667Z] [2020-11-16T06:29:54.667Z] Login Succeeded [2020-11-16T06:29:54.667Z] ---> docker-login.sh ends [Pipeline] } [2020-11-16T06:29:54.740Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-16T06:29:55.406Z] ========================================================= [2020-11-16T06:29:55.406Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-16T06:29:55.406Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:29:55.841Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-11-16T06:29:56.130Z] Sending build context to Docker daemon 506.9kB [2020-11-16T06:29:56.130Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-16T06:29:56.130Z] Step 2/8 : FROM ${BASE} [2020-11-16T06:29:56.130Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-16T06:29:56.130Z] df20fa9351a1: Pulling fs layer [2020-11-16T06:29:56.130Z] ed8968b2872e: Pulling fs layer [2020-11-16T06:29:56.130Z] a92cc7c5fd73: Pulling fs layer [2020-11-16T06:29:56.130Z] e871e8e8d7a9: Pulling fs layer [2020-11-16T06:29:56.130Z] e73272ec9a57: Pulling fs layer [2020-11-16T06:29:56.130Z] 1e910a182e73: Pulling fs layer [2020-11-16T06:29:56.130Z] 4e634b169226: Pulling fs layer [2020-11-16T06:29:56.130Z] e73272ec9a57: Waiting [2020-11-16T06:29:56.130Z] 1e910a182e73: Waiting [2020-11-16T06:29:56.130Z] e871e8e8d7a9: Waiting [2020-11-16T06:29:56.130Z] 4e634b169226: Waiting [2020-11-16T06:29:56.401Z] a92cc7c5fd73: Verifying Checksum [2020-11-16T06:29:56.401Z] a92cc7c5fd73: Download complete [2020-11-16T06:29:56.401Z] ed8968b2872e: Verifying Checksum [2020-11-16T06:29:56.401Z] ed8968b2872e: Download complete [2020-11-16T06:29:56.679Z] e73272ec9a57: Verifying Checksum [2020-11-16T06:29:56.679Z] e73272ec9a57: Download complete [2020-11-16T06:29:56.963Z] 1e910a182e73: Verifying Checksum [2020-11-16T06:29:56.963Z] 1e910a182e73: Download complete [2020-11-16T06:29:56.963Z] df20fa9351a1: Verifying Checksum [2020-11-16T06:29:56.963Z] df20fa9351a1: Download complete [2020-11-16T06:29:57.580Z] df20fa9351a1: Pull complete [2020-11-16T06:29:57.580Z] ed8968b2872e: Pull complete [2020-11-16T06:29:57.861Z] a92cc7c5fd73: Pull complete [2020-11-16T06:30:00.540Z] 4e634b169226: Verifying Checksum [2020-11-16T06:30:00.540Z] 4e634b169226: Download complete [2020-11-16T06:30:02.657Z] e871e8e8d7a9: Verifying Checksum [2020-11-16T06:30:02.657Z] e871e8e8d7a9: Download complete [2020-11-16T06:30:13.101Z] e871e8e8d7a9: Pull complete [2020-11-16T06:30:13.102Z] e73272ec9a57: Pull complete [2020-11-16T06:30:13.102Z] 1e910a182e73: Pull complete [2020-11-16T06:30:21.403Z] 4e634b169226: Pull complete [2020-11-16T06:30:21.403Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-16T06:30:21.403Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-16T06:30:21.403Z] ---> f7629b54cfaa [2020-11-16T06:30:21.403Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-11-16T06:30:21.403Z] ---> Running in 882ae52a4f8b [2020-11-16T06:30:21.670Z] Removing intermediate container 882ae52a4f8b [2020-11-16T06:30:21.670Z] ---> 7b5f4339d1c3 [2020-11-16T06:30:21.670Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-16T06:30:21.670Z] ---> Running in 2271e66fd6ac [2020-11-16T06:30:23.636Z] Removing intermediate container 2271e66fd6ac [2020-11-16T06:30:23.636Z] ---> 9946539c1797 [2020-11-16T06:30:23.636Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-11-16T06:30:23.636Z] ---> Running in edf8e53f435d [2020-11-16T06:30:24.230Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-16T06:30:24.827Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-16T06:30:25.804Z] (1/14) Installing libmagic (5.38-r0) [2020-11-16T06:30:25.804Z] (2/14) Installing file (5.38-r0) [2020-11-16T06:30:25.804Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-11-16T06:30:26.079Z] (4/14) Installing g++ (9.3.0-r2) [2020-11-16T06:30:29.487Z] (5/14) Installing fortify-headers (1.1-r0) [2020-11-16T06:30:29.789Z] (6/14) Installing patch (2.7.6-r6) [2020-11-16T06:30:29.789Z] (7/14) Installing build-base (0.5-r2) [2020-11-16T06:30:29.789Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-11-16T06:30:29.789Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-11-16T06:30:30.060Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-11-16T06:30:30.328Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-11-16T06:30:30.328Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-11-16T06:30:30.328Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-11-16T06:30:30.606Z] (14/14) Installing openssh (8.3_p1-r0) [2020-11-16T06:30:30.606Z] Executing busybox-1.31.1-r16.trigger [2020-11-16T06:30:30.606Z] OK: 237 MiB in 53 packages [2020-11-16T06:30:34.126Z] Removing intermediate container edf8e53f435d [2020-11-16T06:30:34.126Z] ---> 197b97c9aabd [2020-11-16T06:30:34.126Z] Step 6/8 : WORKDIR /device-modbus-go [2020-11-16T06:30:34.126Z] ---> Running in 4e7a70519668 [2020-11-16T06:30:34.126Z] Removing intermediate container 4e7a70519668 [2020-11-16T06:30:34.126Z] ---> 531d338e50ea [2020-11-16T06:30:34.126Z] Step 7/8 : COPY . . [2020-11-16T06:30:34.723Z] ---> 54a7affc322c [2020-11-16T06:30:34.723Z] Step 8/8 : RUN go mod download [2020-11-16T06:30:35.010Z] ---> Running in 614a7c1d0956 [2020-11-16T06:30:35.952Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-12225 in /w/workspace/xfoundry_device-modbus-go_PR-188 [Pipeline] { [Pipeline] ws [2020-11-16T06:30:36.039Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2020-11-16T06:30:41.194Z] using credential edgex-jenkins-ssh [2020-11-16T06:30:41.250Z] Cloning the remote Git repository [2020-11-16T06:30:41.306Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-11-16T06:30:41.417Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2020-11-16T06:30:41.484Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-11-16T06:30:41.485Z] > git --version # timeout=10 [2020-11-16T06:30:41.513Z] > git --version # 'git version 2.17.1' [2020-11-16T06:30:41.515Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T06:30:41.610Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T06:30:42.319Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-11-16T06:30:42.335Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T06:30:42.366Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-11-16T06:30:42.397Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-11-16T06:30:42.398Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T06:30:42.409Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/188/head:refs/remotes/origin/PR-188 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-16T06:30:42.859Z] Merging remotes/origin/master commit 645745cc2ab9199d577c2f6eedd0068fe13701dd into PR head commit 84e23a9a16023d01cd9b6050c108f14720065c2e [2020-11-16T06:30:43.182Z] Merge succeeded, producing 84e23a9a16023d01cd9b6050c108f14720065c2e [2020-11-16T06:30:43.183Z] Checking out Revision 84e23a9a16023d01cd9b6050c108f14720065c2e (PR-188) [2020-11-16T06:30:42.878Z] > git config core.sparsecheckout # timeout=10 [2020-11-16T06:30:42.896Z] > git checkout -f 84e23a9a16023d01cd9b6050c108f14720065c2e # timeout=10 [2020-11-16T06:30:43.067Z] > git remote # timeout=10 [2020-11-16T06:30:43.099Z] > git config --get remote.origin.url # timeout=10 [2020-11-16T06:30:43.134Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T06:30:43.146Z] > git merge 645745cc2ab9199d577c2f6eedd0068fe13701dd # timeout=10 [2020-11-16T06:30:43.168Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-16T06:30:43.188Z] > git config core.sparsecheckout # timeout=10 [2020-11-16T06:30:43.200Z] > git checkout -f 84e23a9a16023d01cd9b6050c108f14720065c2e # timeout=10 [2020-11-16T06:30:47.356Z] Commit message: "Bump github.com/edgexfoundry/device-sdk-go from 1.2.4-dev.34 to 1.3.0" [2020-11-16T06:30:47.424Z] > git --version # timeout=10 [2020-11-16T06:30:47.434Z] > git --version # 'git version 2.17.1' [2020-11-16T06:30:47.459Z] fatal: bad object 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-16T06:30:48.468Z] provisioning config files... [2020-11-16T06:30:48.511Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config7095524091566806016tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:30:49.625Z] ---> docker-login.sh [2020-11-16T06:30:49.625Z] nexus3.edgexfoundry.org:10001 [2020-11-16T06:30:50.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:30:50.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:30:50.852Z] Configure a credential helper to remove this warning. See [2020-11-16T06:30:50.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:30:50.852Z] [2020-11-16T06:30:50.852Z] Login Succeeded [2020-11-16T06:30:50.852Z] nexus3.edgexfoundry.org:10002 [2020-11-16T06:30:51.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:30:51.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:30:51.401Z] Configure a credential helper to remove this warning. See [2020-11-16T06:30:51.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:30:51.401Z] [2020-11-16T06:30:51.401Z] Login Succeeded [2020-11-16T06:30:51.401Z] nexus3.edgexfoundry.org:10003 [2020-11-16T06:30:51.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:30:51.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:30:51.677Z] Configure a credential helper to remove this warning. See [2020-11-16T06:30:51.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:30:51.677Z] [2020-11-16T06:30:51.677Z] Login Succeeded [2020-11-16T06:30:51.677Z] nexus3.edgexfoundry.org:10004 [2020-11-16T06:30:52.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:30:52.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:30:52.279Z] Configure a credential helper to remove this warning. See [2020-11-16T06:30:52.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:30:52.279Z] [2020-11-16T06:30:52.279Z] Login Succeeded [2020-11-16T06:30:52.279Z] docker.io [2020-11-16T06:30:52.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:30:52.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:30:52.847Z] Configure a credential helper to remove this warning. See [2020-11-16T06:30:52.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:30:52.847Z] [2020-11-16T06:30:52.847Z] Login Succeeded [2020-11-16T06:30:52.847Z] ---> docker-login.sh ends [Pipeline] } [2020-11-16T06:30:52.944Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-16T06:30:53.506Z] ========================================================= [2020-11-16T06:30:53.506Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-16T06:30:53.506Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:30:53.981Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-11-16T06:30:54.256Z] Sending build context to Docker daemon 506.9kB [2020-11-16T06:30:54.256Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-16T06:30:54.256Z] Step 2/8 : FROM ${BASE} [2020-11-16T06:30:54.531Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-16T06:30:54.531Z] b538f80385f9: Pulling fs layer [2020-11-16T06:30:54.531Z] 74f711af9a0d: Pulling fs layer [2020-11-16T06:30:54.531Z] 99f96fe45779: Pulling fs layer [2020-11-16T06:30:54.531Z] 8529a6b9a6be: Pulling fs layer [2020-11-16T06:30:54.531Z] 45590311c82a: Pulling fs layer [2020-11-16T06:30:54.531Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-16T06:30:54.531Z] 209524e5b208: Pulling fs layer [2020-11-16T06:30:54.531Z] 8529a6b9a6be: Waiting [2020-11-16T06:30:54.531Z] 45590311c82a: Waiting [2020-11-16T06:30:54.531Z] 69ca0ff8b7b3: Waiting [2020-11-16T06:30:54.531Z] 209524e5b208: Waiting [2020-11-16T06:30:54.531Z] 99f96fe45779: Verifying Checksum [2020-11-16T06:30:54.531Z] 99f96fe45779: Download complete [2020-11-16T06:30:54.531Z] 74f711af9a0d: Verifying Checksum [2020-11-16T06:30:54.531Z] 74f711af9a0d: Download complete [2020-11-16T06:30:54.531Z] 45590311c82a: Verifying Checksum [2020-11-16T06:30:54.531Z] 45590311c82a: Download complete [2020-11-16T06:30:55.126Z] 69ca0ff8b7b3: Verifying Checksum [2020-11-16T06:30:55.126Z] 69ca0ff8b7b3: Download complete [2020-11-16T06:30:55.126Z] b538f80385f9: Verifying Checksum [2020-11-16T06:30:55.126Z] b538f80385f9: Download complete [2020-11-16T06:30:56.121Z] b538f80385f9: Pull complete [2020-11-16T06:30:56.400Z] 74f711af9a0d: Pull complete [2020-11-16T06:30:56.679Z] 99f96fe45779: Pull complete [2020-11-16T06:30:58.146Z] 209524e5b208: Verifying Checksum [2020-11-16T06:30:58.146Z] 209524e5b208: Download complete [2020-11-16T06:30:58.747Z] 8529a6b9a6be: Download complete [2020-11-16T06:31:01.959Z] Removing intermediate container 614a7c1d0956 [2020-11-16T06:31:01.959Z] ---> 270a2c4ab8c2 [2020-11-16T06:31:01.959Z] Successfully built 270a2c4ab8c2 [2020-11-16T06:31:01.959Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:31:02.452Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-16T06:31:02.722Z] . [Pipeline] withDockerContainer [2020-11-16T06:31:03.029Z] prd-centos7-docker-4c-2g-12223 does not seem to be running inside a container [2020-11-16T06:31:03.137Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-16T06:31:04.590Z] $ docker top f05691362ede876e8d9ba651483d28689d442b11ca6a304aa65d59e9f0a95b31 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T06:31:05.358Z] + go version [2020-11-16T06:31:05.632Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-16T06:31:05.680Z] $ docker stop --time=1 f05691362ede876e8d9ba651483d28689d442b11ca6a304aa65d59e9f0a95b31 [2020-11-16T06:31:07.157Z] $ docker rm -f f05691362ede876e8d9ba651483d28689d442b11ca6a304aa65d59e9f0a95b31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:31:08.858Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-16T06:31:08.858Z] . [2020-11-16T06:31:08.928Z] 8529a6b9a6be: Pull complete [Pipeline] withDockerContainer [2020-11-16T06:31:09.149Z] prd-centos7-docker-4c-2g-12223 does not seem to be running inside a container [2020-11-16T06:31:09.202Z] 45590311c82a: Pull complete [2020-11-16T06:31:09.250Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-16T06:31:09.479Z] 69ca0ff8b7b3: Pull complete [2020-11-16T06:31:10.085Z] $ docker top ddb7bb5ee365ad1e3caf871c46c0a76573fdef4a5de3353ae6111ab9e9d9ec04 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T06:31:10.766Z] + make test [2020-11-16T06:31:10.766Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-16T06:31:12.755Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-11-16T06:31:12.886Z] 209524e5b208: Pull complete [2020-11-16T06:31:12.886Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-16T06:31:12.886Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-16T06:31:12.886Z] ---> 5bddaf1c2fca [2020-11-16T06:31:12.886Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-11-16T06:31:16.300Z] ---> Running in 95c836312f2d [2020-11-16T06:31:16.300Z] Removing intermediate container 95c836312f2d [2020-11-16T06:31:16.300Z] ---> bf243b23a1df [2020-11-16T06:31:16.300Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-16T06:31:16.572Z] ---> Running in 180fc1c2cae9 [2020-11-16T06:31:19.231Z] Removing intermediate container 180fc1c2cae9 [2020-11-16T06:31:19.231Z] ---> c69fe3a5ef0e [2020-11-16T06:31:19.231Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-11-16T06:31:19.231Z] ---> Running in be5351712c78 [2020-11-16T06:31:20.668Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-16T06:31:21.644Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-16T06:31:22.244Z] (1/14) Installing libmagic (5.38-r0) [2020-11-16T06:31:22.529Z] (2/14) Installing file (5.38-r0) [2020-11-16T06:31:22.529Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-11-16T06:31:22.529Z] (4/14) Installing g++ (9.3.0-r2) [2020-11-16T06:31:31.465Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-11-16T06:31:31.465Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.233s coverage: 50.3% of statements [2020-11-16T06:31:31.465Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-16T06:31:32.731Z] (5/14) Installing fortify-headers (1.1-r0) [2020-11-16T06:31:32.731Z] (6/14) Installing patch (2.7.6-r6) [2020-11-16T06:31:32.731Z] (7/14) Installing build-base (0.5-r2) [2020-11-16T06:31:33.003Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-11-16T06:31:33.278Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-11-16T06:31:33.278Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-11-16T06:31:34.114Z] gofmt -l . [2020-11-16T06:31:34.115Z] [ "`gofmt -l .`" = "" ] [2020-11-16T06:31:34.115Z] ./bin/test-attribution-txt.sh [2020-11-16T06:31:35.021Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-16T06:31:35.352Z] $ docker stop --time=1 ddb7bb5ee365ad1e3caf871c46c0a76573fdef4a5de3353ae6111ab9e9d9ec04 [2020-11-16T06:31:35.557Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-11-16T06:31:35.557Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-11-16T06:31:35.827Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-11-16T06:31:36.418Z] (14/14) Installing openssh (8.3_p1-r0) [2020-11-16T06:31:36.693Z] Executing busybox-1.31.1-r16.trigger [2020-11-16T06:31:36.693Z] OK: 221 MiB in 53 packages [2020-11-16T06:31:38.180Z] $ docker rm -f ddb7bb5ee365ad1e3caf871c46c0a76573fdef4a5de3353ae6111ab9e9d9ec04 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-16T06:31:39.041Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-16T06:31:39.875Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-11-16T06:31:41.025Z] Removing intermediate container be5351712c78 [2020-11-16T06:31:41.025Z] ---> 3bf635360dfa [2020-11-16T06:31:41.025Z] Step 6/8 : WORKDIR /device-modbus-go [Pipeline] sh [2020-11-16T06:31:41.301Z] ---> Running in 698bd3b55aa9 [2020-11-16T06:31:41.407Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-16T06:31:41.768Z] + ls -al . [2020-11-16T06:31:41.768Z] total 104 [2020-11-16T06:31:41.768Z] drwxrwxr-x. 9 jenkins jenkins 4096 Nov 16 06:31 . [2020-11-16T06:31:41.768Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 16 06:29 .. [2020-11-16T06:31:41.768Z] -rw-rw-r--. 1 jenkins jenkins 5589 Nov 16 06:29 Attribution.txt [2020-11-16T06:31:41.768Z] drwxrwxr-x. 2 jenkins jenkins 87 Nov 16 06:29 bin [2020-11-16T06:31:41.768Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 16 06:29 cmd [2020-11-16T06:31:41.768Z] -rw-r--r--. 1 jenkins jenkins 22364 Nov 16 06:31 coverage.out [2020-11-16T06:31:41.768Z] -rw-rw-r--. 1 jenkins jenkins 1430 Nov 16 06:29 Dockerfile [2020-11-16T06:31:41.768Z] -rw-rw-r--. 1 jenkins jenkins 954 Nov 16 06:29 Dockerfile.build [2020-11-16T06:31:41.768Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 16 06:29 .dockerignore [2020-11-16T06:31:41.768Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 16 06:29 .git [2020-11-16T06:31:41.768Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 16 06:29 .github [2020-11-16T06:31:41.768Z] -rw-rw-r--. 1 jenkins jenkins 338 Nov 16 06:29 .gitignore [2020-11-16T06:31:41.768Z] -rw-r--r--. 1 jenkins jenkins 517 Nov 16 06:31 go.mod [2020-11-16T06:31:41.768Z] -rw-r--r--. 1 jenkins jenkins 14643 Nov 16 06:31 go.sum [2020-11-16T06:31:41.768Z] drwxrwxr-x. 3 jenkins jenkins 20 Nov 16 06:29 internal [2020-11-16T06:31:41.768Z] -rw-rw-r--. 1 jenkins jenkins 679 Nov 16 06:29 Jenkinsfile [2020-11-16T06:31:41.768Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 16 06:29 LICENSE [2020-11-16T06:31:41.768Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 16 06:29 Makefile [2020-11-16T06:31:41.768Z] -rw-rw-r--. 1 jenkins jenkins 591 Nov 16 06:29 README.md [2020-11-16T06:31:41.768Z] drwxrwxr-x. 2 jenkins jenkins 52 Nov 16 06:29 simulator [2020-11-16T06:31:41.768Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 16 06:29 snap [2020-11-16T06:31:41.768Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 16 06:27 VERSION [2020-11-16T06:31:41.768Z] -rw-rw-r--. 1 jenkins jenkins 229 Nov 16 06:29 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:31:41.903Z] Removing intermediate container 698bd3b55aa9 [2020-11-16T06:31:41.903Z] ---> 04cbc46055b2 [2020-11-16T06:31:41.903Z] Step 7/8 : COPY . . [2020-11-16T06:31:42.191Z] + 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=84e23a9a16023d01cd9b6050c108f14720065c2e --label arch=amd64 --label version=0.0.0 . [2020-11-16T06:31:42.458Z] Sending build context to Docker daemon 538.1kB [2020-11-16T06:31:42.458Z] Step 1/20 : ARG BASE=golang:1.15-alpine [2020-11-16T06:31:42.458Z] Step 2/20 : FROM ${BASE} AS builder [2020-11-16T06:31:42.458Z] ---> 270a2c4ab8c2 [2020-11-16T06:31:42.458Z] Step 3/20 : ARG MAKE='make build' [2020-11-16T06:31:42.726Z] ---> Running in d8b53b2d3726 [2020-11-16T06:31:42.889Z] ---> b21ea7008ce5 [2020-11-16T06:31:42.889Z] Step 8/8 : RUN go mod download [2020-11-16T06:31:42.889Z] ---> Running in 5d877aff7683 [2020-11-16T06:31:43.019Z] Removing intermediate container d8b53b2d3726 [2020-11-16T06:31:43.019Z] ---> 393e61f12079 [2020-11-16T06:31:43.019Z] Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-16T06:31:43.019Z] ---> Running in 1c3150099330 [2020-11-16T06:31:44.523Z] Removing intermediate container 1c3150099330 [2020-11-16T06:31:44.523Z] ---> 296d1b282534 [2020-11-16T06:31:44.523Z] Step 5/20 : RUN apk add --update --no-cache make git openssh build-base [2020-11-16T06:31:44.523Z] ---> Running in 82c31d156c50 [2020-11-16T06:31:45.554Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-16T06:31:46.595Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-16T06:31:48.076Z] OK: 237 MiB in 53 packages [2020-11-16T06:31:48.677Z] Removing intermediate container 82c31d156c50 [2020-11-16T06:31:48.677Z] ---> 18dc4200ce51 [2020-11-16T06:31:48.677Z] Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-11-16T06:31:48.677Z] ---> Running in 647664c23b38 [2020-11-16T06:31:48.945Z] Removing intermediate container 647664c23b38 [2020-11-16T06:31:48.945Z] ---> e0f44553573d [2020-11-16T06:31:48.945Z] Step 7/20 : COPY . . [2020-11-16T06:31:49.556Z] ---> e7a3c04a18d8 [2020-11-16T06:31:49.556Z] Step 8/20 : RUN ${MAKE} [2020-11-16T06:31:49.556Z] ---> Running in 11e52931f6ef [2020-11-16T06:31:50.994Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2020-11-16T06:32:07.402Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-16T06:32:09.396Z] Removing intermediate container 11e52931f6ef [2020-11-16T06:32:09.396Z] ---> 60981980d0e9 [2020-11-16T06:32:09.397Z] Step 9/20 : FROM scratch [2020-11-16T06:32:09.397Z] ---> [2020-11-16T06:32:09.397Z] Step 10/20 : ENV APP_PORT=49991 [2020-11-16T06:32:09.397Z] ---> Running in 2cebbf167dad [2020-11-16T06:32:09.397Z] Removing intermediate container 2cebbf167dad [2020-11-16T06:32:09.397Z] ---> f75ceb8044a0 [2020-11-16T06:32:09.397Z] Step 11/20 : EXPOSE $APP_PORT [2020-11-16T06:32:09.666Z] ---> Running in 9986009d0b44 [2020-11-16T06:32:09.666Z] Removing intermediate container 9986009d0b44 [2020-11-16T06:32:09.666Z] ---> 79fd3f8a0c88 [2020-11-16T06:32:09.666Z] Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-11-16T06:32:09.719Z] Removing intermediate container 5d877aff7683 [2020-11-16T06:32:09.719Z] ---> fee593512190 [2020-11-16T06:32:09.719Z] Successfully built fee593512190 [2020-11-16T06:32:09.719Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:32:10.097Z] + docker inspect -f . ci-base-image-arm64 [2020-11-16T06:32:10.097Z] . [Pipeline] withDockerContainer [2020-11-16T06:32:10.252Z] ---> bb92c8c5d801 [2020-11-16T06:32:10.252Z] Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-11-16T06:32:10.409Z] prd-ubuntu18.04-docker-arm64-4c-16g-12225 does not seem to be running inside a container [2020-11-16T06:32:10.506Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-16T06:32:10.521Z] ---> f0e5ce801f4c [2020-11-16T06:32:10.521Z] Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-11-16T06:32:10.786Z] ---> 34167f862389 [2020-11-16T06:32:10.786Z] Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-11-16T06:32:10.786Z] ---> Running in b1900ba953cb [2020-11-16T06:32:11.053Z] Removing intermediate container b1900ba953cb [2020-11-16T06:32:11.053Z] ---> f25094426fe2 [2020-11-16T06:32:11.053Z] Step 16/20 : ENTRYPOINT ["/device-modbus"] [2020-11-16T06:32:11.053Z] ---> Running in efcacca3b5d2 [2020-11-16T06:32:11.321Z] Removing intermediate container efcacca3b5d2 [2020-11-16T06:32:11.321Z] ---> 5ecaccdf2537 [2020-11-16T06:32:11.321Z] Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-16T06:32:11.321Z] ---> Running in 3300b07c4559 [2020-11-16T06:32:11.589Z] Removing intermediate container 3300b07c4559 [2020-11-16T06:32:11.589Z] ---> 043782bae6fe [2020-11-16T06:32:11.589Z] Step 18/20 : LABEL arch=amd64 [2020-11-16T06:32:11.589Z] ---> Running in f738ae25ef49 [2020-11-16T06:32:11.856Z] Removing intermediate container f738ae25ef49 [2020-11-16T06:32:11.856Z] ---> 1e47ec01dd9b [2020-11-16T06:32:11.856Z] Step 19/20 : LABEL git_sha=84e23a9a16023d01cd9b6050c108f14720065c2e [2020-11-16T06:32:11.856Z] ---> Running in cf9311c05d4a [2020-11-16T06:32:11.856Z] Removing intermediate container cf9311c05d4a [2020-11-16T06:32:11.856Z] ---> 01607d658d83 [2020-11-16T06:32:11.856Z] Step 20/20 : LABEL version=0.0.0 [2020-11-16T06:32:12.126Z] ---> Running in 7080c65e277d [2020-11-16T06:32:12.126Z] Removing intermediate container 7080c65e277d [2020-11-16T06:32:12.126Z] ---> a5e3cacc5df6 [2020-11-16T06:32:12.126Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-16T06:32:12.126Z] Successfully built a5e3cacc5df6 [2020-11-16T06:32:12.126Z] Successfully tagged docker-device-modbus-go:latest [2020-11-16T06:32:12.466Z] $ docker top 43c89a133f6218d511d6d1a18c9c2d4754a1425094933f9860d547b6b03a0ca5 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] node [2020-11-16T06:32:13.961Z] + go version [2020-11-16T06:32:13.961Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-16T06:32:14.013Z] $ docker stop --time=1 43c89a133f6218d511d6d1a18c9c2d4754a1425094933f9860d547b6b03a0ca5 [2020-11-16T06:32:15.945Z] $ docker rm -f 43c89a133f6218d511d6d1a18c9c2d4754a1425094933f9860d547b6b03a0ca5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:32:17.176Z] + docker inspect -f . ci-base-image-arm64 [2020-11-16T06:32:17.176Z] . [Pipeline] withDockerContainer [2020-11-16T06:32:17.443Z] prd-ubuntu18.04-docker-arm64-4c-16g-12225 does not seem to be running inside a container [2020-11-16T06:32:17.528Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-16T06:32:19.215Z] $ docker top ebe522a9fd2ca75a5dfe37e6f6f5637277eed0b3ee24bc2e06ab19770adfbe5b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T06:32:20.638Z] + make test [2020-11-16T06:32:20.638Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-16T06:32:21.630Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-11-16T06:32:28.764Z] Still waiting to schedule task [2020-11-16T06:32:28.764Z] ‘prd-centos7-docker-8c-8g-12216’ is offline [2020-11-16T06:33:00.764Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-11-16T06:33:00.765Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.431s coverage: 50.3% of statements [2020-11-16T06:33:00.765Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-16T06:33:01.739Z] gofmt -l . [2020-11-16T06:33:01.739Z] [ "`gofmt -l .`" = "" ] [2020-11-16T06:33:02.016Z] ./bin/test-attribution-txt.sh [2020-11-16T06:33:02.621Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-16T06:33:03.261Z] $ docker stop --time=1 ebe522a9fd2ca75a5dfe37e6f6f5637277eed0b3ee24bc2e06ab19770adfbe5b [2020-11-16T06:33:05.440Z] $ docker rm -f ebe522a9fd2ca75a5dfe37e6f6f5637277eed0b3ee24bc2e06ab19770adfbe5b [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-16T06:33:06.381Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-16T06:33:06.419Z] Warning: overwriting stash ‘coverage-report’ [2020-11-16T06:33:08.204Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-16T06:33:09.166Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-16T06:33:09.565Z] + ls -al . [2020-11-16T06:33:09.565Z] total 136 [2020-11-16T06:33:09.565Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 16 06:33 . [2020-11-16T06:33:09.565Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 16 06:30 .. [2020-11-16T06:33:09.565Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 16 06:30 .dockerignore [2020-11-16T06:33:09.565Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 16 06:30 .git [2020-11-16T06:33:09.565Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 06:30 .github [2020-11-16T06:33:09.565Z] -rw-rw-r-- 1 jenkins jenkins 338 Nov 16 06:30 .gitignore [2020-11-16T06:33:09.565Z] -rw-rw-r-- 1 jenkins jenkins 5589 Nov 16 06:30 Attribution.txt [2020-11-16T06:33:09.565Z] -rw-rw-r-- 1 jenkins jenkins 1430 Nov 16 06:30 Dockerfile [2020-11-16T06:33:09.565Z] -rw-rw-r-- 1 jenkins jenkins 954 Nov 16 06:30 Dockerfile.build [2020-11-16T06:33:09.565Z] -rw-rw-r-- 1 jenkins jenkins 679 Nov 16 06:30 Jenkinsfile [2020-11-16T06:33:09.565Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 16 06:30 LICENSE [2020-11-16T06:33:09.565Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 16 06:30 Makefile [2020-11-16T06:33:09.565Z] -rw-rw-r-- 1 jenkins jenkins 591 Nov 16 06:30 README.md [2020-11-16T06:33:09.565Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 16 06:27 VERSION [2020-11-16T06:33:09.565Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 06:30 bin [2020-11-16T06:33:09.565Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 16 06:30 cmd [2020-11-16T06:33:09.565Z] -rw-r--r-- 1 jenkins jenkins 22364 Nov 16 06:32 coverage.out [2020-11-16T06:33:09.565Z] -rw-r--r-- 1 jenkins jenkins 517 Nov 16 06:33 go.mod [2020-11-16T06:33:09.565Z] -rw-r--r-- 1 jenkins jenkins 14643 Nov 16 06:33 go.sum [2020-11-16T06:33:09.565Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 16 06:30 internal [2020-11-16T06:33:09.565Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 06:30 simulator [2020-11-16T06:33:09.565Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 16 06:30 snap [2020-11-16T06:33:09.565Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 16 06:30 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:33:09.986Z] + 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=84e23a9a16023d01cd9b6050c108f14720065c2e --label arch=arm64 --label version=0.0.0 . [2020-11-16T06:33:10.296Z] Sending build context to Docker daemon 538.1kB [2020-11-16T06:33:10.296Z] Step 1/20 : ARG BASE=golang:1.15-alpine [2020-11-16T06:33:10.296Z] Step 2/20 : FROM ${BASE} AS builder [2020-11-16T06:33:10.296Z] ---> fee593512190 [2020-11-16T06:33:10.296Z] Step 3/20 : ARG MAKE='make build' [2020-11-16T06:33:10.576Z] ---> Running in 0a111280354b [2020-11-16T06:33:11.180Z] Removing intermediate container 0a111280354b [2020-11-16T06:33:11.180Z] ---> cea7a04e5de2 [2020-11-16T06:33:11.180Z] Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-16T06:33:11.180Z] ---> Running in 0d2148fac289 [2020-11-16T06:33:13.798Z] Removing intermediate container 0d2148fac289 [2020-11-16T06:33:13.798Z] ---> 24a360ae8f5c [2020-11-16T06:33:13.798Z] Step 5/20 : RUN apk add --update --no-cache make git openssh build-base [2020-11-16T06:33:13.798Z] ---> Running in 8ed9eafa810a [2020-11-16T06:33:15.236Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-16T06:33:16.213Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-16T06:33:16.809Z] OK: 221 MiB in 53 packages [2020-11-16T06:33:17.816Z] Removing intermediate container 8ed9eafa810a [2020-11-16T06:33:17.816Z] ---> a73fe4613fa9 [2020-11-16T06:33:17.816Z] Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-11-16T06:33:18.088Z] ---> Running in e24bdd5011e9 [2020-11-16T06:33:18.687Z] Removing intermediate container e24bdd5011e9 [2020-11-16T06:33:18.687Z] ---> acc1579c3628 [2020-11-16T06:33:18.687Z] Step 7/20 : COPY . . [2020-11-16T06:33:19.686Z] ---> 09dbd1c854c0 [2020-11-16T06:33:19.686Z] Step 8/20 : RUN ${MAKE} [2020-11-16T06:33:19.686Z] ---> Running in 925faf327c48 [2020-11-16T06:33:21.123Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2020-11-16T06:33:29.058Z] Running on prd-centos7-docker-8c-8g-12232 in /w/workspace/xfoundry_device-modbus-go_PR-188 [Pipeline] { [Pipeline] ws [2020-11-16T06:33:29.187Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2020-11-16T06:33:31.297Z] using credential edgex-jenkins-ssh [2020-11-16T06:33:31.352Z] Cloning the remote Git repository [2020-11-16T06:33:30.635Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-11-16T06:33:30.703Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2020-11-16T06:33:30.741Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-11-16T06:33:30.741Z] > git --version # timeout=10 [2020-11-16T06:33:30.747Z] > git --version # 'git version 2.16.5' [2020-11-16T06:33:30.748Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T06:33:30.774Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T06:33:32.376Z] Merging remotes/origin/master commit 645745cc2ab9199d577c2f6eedd0068fe13701dd into PR head commit 84e23a9a16023d01cd9b6050c108f14720065c2e [2020-11-16T06:33:32.437Z] Merge succeeded, producing 84e23a9a16023d01cd9b6050c108f14720065c2e [2020-11-16T06:33:32.437Z] Checking out Revision 84e23a9a16023d01cd9b6050c108f14720065c2e (PR-188) [2020-11-16T06:33:31.305Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-11-16T06:33:31.310Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T06:33:31.319Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-11-16T06:33:31.330Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-11-16T06:33:31.330Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T06:33:31.334Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/188/head:refs/remotes/origin/PR-188 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-16T06:33:31.730Z] > git config core.sparsecheckout # timeout=10 [2020-11-16T06:33:31.734Z] > git checkout -f 84e23a9a16023d01cd9b6050c108f14720065c2e # timeout=10 [2020-11-16T06:33:31.765Z] > git remote # timeout=10 [2020-11-16T06:33:31.768Z] > git config --get remote.origin.url # timeout=10 [2020-11-16T06:33:31.772Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T06:33:31.775Z] > git merge 645745cc2ab9199d577c2f6eedd0068fe13701dd # timeout=10 [2020-11-16T06:33:31.783Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-16T06:33:31.791Z] > git config core.sparsecheckout # timeout=10 [2020-11-16T06:33:31.794Z] > git checkout -f 84e23a9a16023d01cd9b6050c108f14720065c2e # timeout=10 [2020-11-16T06:33:35.766Z] Commit message: "Bump github.com/edgexfoundry/device-sdk-go from 1.2.4-dev.34 to 1.3.0" [2020-11-16T06:33:35.419Z] > git --version # timeout=10 [2020-11-16T06:33:35.423Z] > git --version # 'git version 2.16.5' [2020-11-16T06:33:35.426Z] fatal: bad object 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-11-16T06:33:37.217Z] ++ find /w/workspace/device-modbus-go/1 [2020-11-16T06:33:37.217Z] ++ grep snapcraft.yaml [2020-11-16T06:33:37.217Z] + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-16T06:33:37.456Z] provisioning config files... [2020-11-16T06:33:37.467Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config6921943985022101433tmp [Pipeline] { [Pipeline] sh [2020-11-16T06:33:37.921Z] + cp /w/workspace/device-modbus-go/1@tmp/config6921943985022101433tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh [2020-11-16T06:33:38.249Z] + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/1:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-11-16T06:33:38.249Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally [2020-11-16T06:33:38.249Z] latest: Pulling from edgex-devops/edgex-snap-builder [2020-11-16T06:33:38.249Z] f08d8e2a3ba1: Pulling fs layer [2020-11-16T06:33:38.249Z] 3baa9cb2483b: Pulling fs layer [2020-11-16T06:33:38.249Z] 94e5ff4c0b15: Pulling fs layer [2020-11-16T06:33:38.249Z] 1860925334f9: Pulling fs layer [2020-11-16T06:33:38.249Z] 2daf38717194: Pulling fs layer [2020-11-16T06:33:38.249Z] 309017e8d7a4: Pulling fs layer [2020-11-16T06:33:38.249Z] f7790dc9fd0f: Pulling fs layer [2020-11-16T06:33:38.249Z] cac0ae9282c2: Pulling fs layer [2020-11-16T06:33:38.249Z] 1f4cadf9a1ed: Pulling fs layer [2020-11-16T06:33:38.249Z] 2daf38717194: Waiting [2020-11-16T06:33:38.249Z] 309017e8d7a4: Waiting [2020-11-16T06:33:38.249Z] f7790dc9fd0f: Waiting [2020-11-16T06:33:38.249Z] cac0ae9282c2: Waiting [2020-11-16T06:33:38.249Z] 1f4cadf9a1ed: Waiting [2020-11-16T06:33:38.249Z] 1860925334f9: Waiting [2020-11-16T06:33:38.249Z] 94e5ff4c0b15: Verifying Checksum [2020-11-16T06:33:38.249Z] 94e5ff4c0b15: Download complete [2020-11-16T06:33:38.249Z] 3baa9cb2483b: Download complete [2020-11-16T06:33:38.249Z] 1860925334f9: Verifying Checksum [2020-11-16T06:33:38.249Z] 1860925334f9: Download complete [2020-11-16T06:33:38.512Z] 309017e8d7a4: Verifying Checksum [2020-11-16T06:33:38.512Z] 309017e8d7a4: Download complete [2020-11-16T06:33:38.512Z] f7790dc9fd0f: Verifying Checksum [2020-11-16T06:33:38.512Z] f7790dc9fd0f: Download complete [2020-11-16T06:33:38.512Z] cac0ae9282c2: Download complete [2020-11-16T06:33:38.512Z] 1f4cadf9a1ed: Download complete [2020-11-16T06:33:39.456Z] f08d8e2a3ba1: Verifying Checksum [2020-11-16T06:33:39.456Z] f08d8e2a3ba1: Download complete [2020-11-16T06:33:40.850Z] f08d8e2a3ba1: Pull complete [2020-11-16T06:33:40.850Z] 3baa9cb2483b: Pull complete [2020-11-16T06:33:40.850Z] 94e5ff4c0b15: Pull complete [2020-11-16T06:33:40.850Z] 1860925334f9: Pull complete [2020-11-16T06:33:46.144Z] 2daf38717194: Verifying Checksum [2020-11-16T06:33:46.144Z] 2daf38717194: Download complete [2020-11-16T06:33:47.992Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-16T06:33:56.311Z] Removing intermediate container 925faf327c48 [2020-11-16T06:33:56.311Z] ---> ac87596f88f9 [2020-11-16T06:33:56.311Z] Step 9/20 : FROM scratch [2020-11-16T06:33:56.311Z] ---> [2020-11-16T06:33:56.311Z] Step 10/20 : ENV APP_PORT=49991 [2020-11-16T06:33:56.311Z] ---> Running in 48b814158db0 [2020-11-16T06:33:56.311Z] Removing intermediate container 48b814158db0 [2020-11-16T06:33:56.311Z] ---> 5dd07aa0f0d8 [2020-11-16T06:33:56.311Z] Step 11/20 : EXPOSE $APP_PORT [2020-11-16T06:33:56.311Z] ---> Running in c580e507e6b5 [2020-11-16T06:33:56.311Z] Removing intermediate container c580e507e6b5 [2020-11-16T06:33:56.311Z] ---> ff8431140180 [2020-11-16T06:33:56.311Z] Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-11-16T06:33:57.741Z] ---> 04773327b0d7 [2020-11-16T06:33:57.741Z] Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-11-16T06:33:58.335Z] ---> 8cadb8485e73 [2020-11-16T06:33:58.335Z] Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-11-16T06:33:58.929Z] ---> dec52b1a66f2 [2020-11-16T06:33:58.929Z] Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-11-16T06:33:58.929Z] ---> Running in dc3f6658632e [2020-11-16T06:33:59.527Z] Removing intermediate container dc3f6658632e [2020-11-16T06:33:59.527Z] ---> 80d31a61619e [2020-11-16T06:33:59.527Z] Step 16/20 : ENTRYPOINT ["/device-modbus"] [2020-11-16T06:33:59.527Z] ---> Running in 3c4f8f7ce6ef [2020-11-16T06:34:00.125Z] Removing intermediate container 3c4f8f7ce6ef [2020-11-16T06:34:00.126Z] ---> cbcef1439569 [2020-11-16T06:34:00.126Z] Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-16T06:34:00.126Z] ---> Running in f970cb215770 [2020-11-16T06:34:00.409Z] Removing intermediate container f970cb215770 [2020-11-16T06:34:00.409Z] ---> 2afa6221fdc5 [2020-11-16T06:34:00.409Z] Step 18/20 : LABEL arch=arm64 [2020-11-16T06:34:00.683Z] ---> Running in 4341efdaf80e [2020-11-16T06:34:00.957Z] Removing intermediate container 4341efdaf80e [2020-11-16T06:34:00.957Z] ---> a77ecce50d89 [2020-11-16T06:34:00.957Z] Step 19/20 : LABEL git_sha=84e23a9a16023d01cd9b6050c108f14720065c2e [2020-11-16T06:34:01.235Z] ---> Running in a01f48783c17 [2020-11-16T06:34:01.828Z] Removing intermediate container a01f48783c17 [2020-11-16T06:34:01.828Z] ---> d8f0f72a8b0b [2020-11-16T06:34:01.828Z] Step 20/20 : LABEL version=0.0.0 [2020-11-16T06:34:01.828Z] ---> Running in 9f3c2db24453 [2020-11-16T06:34:02.102Z] Removing intermediate container 9f3c2db24453 [2020-11-16T06:34:02.102Z] ---> e3fbfa1ba41a [2020-11-16T06:34:02.102Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-16T06:34:02.373Z] Successfully built e3fbfa1ba41a [2020-11-16T06:34:02.373Z] Successfully tagged docker-device-modbus-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-11-16T06:34:04.294Z] 2daf38717194: Pull complete [2020-11-16T06:34:04.294Z] 309017e8d7a4: Pull complete [2020-11-16T06:34:04.294Z] f7790dc9fd0f: Pull complete [2020-11-16T06:34:04.294Z] cac0ae9282c2: Pull complete [2020-11-16T06:34:04.294Z] 1f4cadf9a1ed: Pull complete [2020-11-16T06:34:04.294Z] Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 [2020-11-16T06:34:04.294Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-11-16T06:34:07.596Z] Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-11-16T06:34:07.596Z] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-11-16T06:34:07.596Z] Get:3 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1781 kB] [2020-11-16T06:34:07.596Z] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] [2020-11-16T06:34:07.596Z] Get:5 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [15.8 kB] [2020-11-16T06:34:07.597Z] Get:6 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [222 kB] [2020-11-16T06:34:07.597Z] Get:7 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1365 kB] [2020-11-16T06:34:07.597Z] Get:8 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] [2020-11-16T06:34:07.858Z] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [46.3 kB] [2020-11-16T06:34:07.858Z] Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [247 kB] [2020-11-16T06:34:07.858Z] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2129 kB] [2020-11-16T06:34:08.119Z] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2198 kB] [2020-11-16T06:34:08.119Z] Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [11.3 kB] [2020-11-16T06:34:08.119Z] Get:14 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [11.4 kB] [2020-11-16T06:34:08.384Z] Fetched 8278 kB in 1s (5811 kB/s) [2020-11-16T06:34:09.773Z] Reading package lists... [2020-11-16T06:34:13.091Z] 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [2020-11-16T06:34:13.091Z] 0% [Connecting to archive.ubuntu.com (91.189.88.152)] 0% [1 InRelease gpgv 88.7 kB] [Connecting to archive.ubuntu.com (91.189.88.152) 0% [Waiting for headers] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-11-16T06:34:13.091Z] 0% [Waiting for headers] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [2020-11-16T06:34:13.352Z] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] 0% [Waiting for headers] 0% [3 InRelease gpgv 88.7 kB] [Waiting for headers] Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [2020-11-16T06:34:14.450Z] 0% [3 InRelease gpgv 88.7 kB] 0% [Working] 0% [4 InRelease gpgv 74.6 kB] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 60% Reading package lists... 60% Reading package lists... 60% Reading package lists... 61% Reading package lists... 61% Reading package lists... 71% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done [2020-11-16T06:34:16.364Z] Installing build dependencies: curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 libperl5.26 make netbase patch perl perl-base perl-modules-5.26 [2020-11-16T06:34:17.457Z] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 60% Reading package lists... 60% Reading package lists... 60% Reading package lists... 61% Reading package lists... 61% Reading package lists... 71% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done [2020-11-16T06:34:17.457Z] Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree [2020-11-16T06:34:17.457Z] Reading state information... 0% Reading state information... 0% Reading state information... Done [2020-11-16T06:34:17.721Z] The following packages were automatically installed and are no longer required: [2020-11-16T06:34:17.721Z] libjq1 libonig4 [2020-11-16T06:34:17.721Z] Use 'sudo apt autoremove' to remove them. [2020-11-16T06:34:17.721Z] Suggested packages: [2020-11-16T06:34:17.721Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-11-16T06:34:17.721Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed [2020-11-16T06:34:17.721Z] diffutils-doc perl-doc libterm-readline-gnu-perl [2020-11-16T06:34:17.721Z] | libterm-readline-perl-perl [2020-11-16T06:34:17.721Z] The following NEW packages will be installed: [2020-11-16T06:34:17.721Z] curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 [2020-11-16T06:34:17.721Z] libperl5.26 make netbase patch perl perl-modules-5.26 [2020-11-16T06:34:17.721Z] The following packages will be upgraded: [2020-11-16T06:34:17.721Z] perl-base [2020-11-16T06:34:17.721Z] 1 upgraded, 14 newly installed, 0 to remove and 38 not upgraded. [2020-11-16T06:34:17.721Z] Need to get 13.4 MB of archives. [2020-11-16T06:34:17.721Z] After this operation, 77.5 MB of additional disk space will be used. [2020-11-16T06:34:17.983Z] 0% [Working] Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-base amd64 5.26.1-6ubuntu0.5 [1391 kB] [2020-11-16T06:34:18.555Z] 0% [1 perl-base 12.6 kB/1391 kB 1%] 4% [1 perl-base 667 kB/1391 kB 48%] 10% [Working] Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.5 [2762 kB] [2020-11-16T06:34:18.815Z] 10% [2 perl-modules-5.26 19.0 kB/2762 kB 1%] 27% [Waiting for headers] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] [2020-11-16T06:34:18.815Z] 28% [3 libgdbm5 21.7 kB/26.0 kB 83%] 29% [Waiting for headers] Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] [2020-11-16T06:34:18.815Z] 29% [4 libgdbm-compat4 6084 B/6084 B 100%] 30% [Working] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.5 [3534 kB] [2020-11-16T06:34:18.815Z] 30% [5 libperl5.26 7184 B/3534 kB 0%] 53% [Waiting for headers] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.5 [201 kB] [2020-11-16T06:34:18.815Z] 53% [6 perl 12.2 kB/201 kB 6%] 55% [Waiting for headers] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] [2020-11-16T06:34:18.815Z] 55% [7 less 3899 B/112 kB 3%] 57% [Waiting for headers] Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] [2020-11-16T06:34:18.815Z] 57% [8 netbase 4096 B/12.7 kB 32%] 59% [Waiting for headers] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.10 [159 kB] [2020-11-16T06:34:18.815Z] 59% [9 curl 13.3 kB/159 kB 8%] 61% [Waiting for headers] Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.10 [213 kB] [2020-11-16T06:34:18.815Z] 61% [10 libcurl3-gnutls 36.9 kB/213 kB 17%] 64% [Waiting for headers] Get:11 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] [2020-11-16T06:34:18.815Z] 64% [11 liberror-perl 22.8 kB/22.8 kB 100%] 65% [Waiting for headers] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] [2020-11-16T06:34:19.075Z] 65% [12 git-man 11.6 kB/804 kB 1%] 71% [Waiting for headers] Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] [2020-11-16T06:34:19.075Z] 71% [13 git 0 B/3915 kB 0%] 96% [Waiting for headers] Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] [2020-11-16T06:34:19.075Z] 96% [14 make 11.3 kB/154 kB 7%] 98% [Working] Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] [2020-11-16T06:34:19.075Z] 98% [15 patch 53.7 kB/102 kB 53%] 100% [Working] Fetched 13.4 MB in 1s (9739 kB/s) [2020-11-16T06:34:19.335Z] debconf: delaying package configuration, since apt-utils is not installed [2020-11-16T06:34:19.335Z] (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9889 files and directories currently installed.) [2020-11-16T06:34:19.335Z] Preparing to unpack .../perl-base_5.26.1-6ubuntu0.5_amd64.deb ... [2020-11-16T06:34:19.335Z] Unpacking perl-base (5.26.1-6ubuntu0.5) over (5.26.1-6ubuntu0.3) ... [2020-11-16T06:34:22.638Z] Setting up perl-base (5.26.1-6ubuntu0.5) ... [2020-11-16T06:34:22.638Z] Selecting previously unselected package perl-modules-5.26. [2020-11-16T06:34:22.638Z] (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9889 files and directories currently installed.) [2020-11-16T06:34:22.638Z] Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.5_all.deb ... [2020-11-16T06:34:22.638Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.5) ... [2020-11-16T06:34:23.585Z] Selecting previously unselected package libgdbm5:amd64. [2020-11-16T06:34:23.585Z] Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... [2020-11-16T06:34:23.585Z] Unpacking libgdbm5:amd64 (1.14.1-6) ... [2020-11-16T06:34:23.585Z] Selecting previously unselected package libgdbm-compat4:amd64. [2020-11-16T06:34:23.585Z] Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... [2020-11-16T06:34:23.585Z] Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... [2020-11-16T06:34:23.585Z] Selecting previously unselected package libperl5.26:amd64. [2020-11-16T06:34:23.585Z] Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.5_amd64.deb ... [2020-11-16T06:34:23.585Z] Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... [2020-11-16T06:34:24.160Z] Selecting previously unselected package perl. [2020-11-16T06:34:24.160Z] Preparing to unpack .../04-perl_5.26.1-6ubuntu0.5_amd64.deb ... [2020-11-16T06:34:24.160Z] Unpacking perl (5.26.1-6ubuntu0.5) ... [2020-11-16T06:34:24.160Z] Selecting previously unselected package less. [2020-11-16T06:34:24.160Z] Preparing to unpack .../05-less_487-0.1_amd64.deb ... [2020-11-16T06:34:24.160Z] Unpacking less (487-0.1) ... [2020-11-16T06:34:24.160Z] Selecting previously unselected package netbase. [2020-11-16T06:34:24.160Z] Preparing to unpack .../06-netbase_5.4_all.deb ... [2020-11-16T06:34:24.160Z] Unpacking netbase (5.4) ... [2020-11-16T06:34:24.160Z] Selecting previously unselected package curl. [2020-11-16T06:34:24.160Z] Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... [2020-11-16T06:34:24.160Z] Unpacking curl (7.58.0-2ubuntu3.10) ... [2020-11-16T06:34:24.421Z] Selecting previously unselected package libcurl3-gnutls:amd64. [2020-11-16T06:34:24.421Z] Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... [2020-11-16T06:34:24.421Z] Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-11-16T06:34:24.421Z] Selecting previously unselected package liberror-perl. [2020-11-16T06:34:24.421Z] Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... [2020-11-16T06:34:24.421Z] Unpacking liberror-perl (0.17025-1) ... [2020-11-16T06:34:24.421Z] Selecting previously unselected package git-man. [2020-11-16T06:34:24.421Z] Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-11-16T06:34:24.421Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-11-16T06:34:24.681Z] Selecting previously unselected package git. [2020-11-16T06:34:24.681Z] Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... [2020-11-16T06:34:24.681Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-11-16T06:34:25.251Z] Selecting previously unselected package make. [2020-11-16T06:34:25.251Z] Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... [2020-11-16T06:34:25.251Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-11-16T06:34:25.251Z] Selecting previously unselected package patch. [2020-11-16T06:34:25.251Z] Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... [2020-11-16T06:34:25.251Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-11-16T06:34:25.251Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-11-16T06:34:25.251Z] Setting up less (487-0.1) ... [2020-11-16T06:34:25.251Z] Setting up make (4.1-9.1ubuntu1) ... [2020-11-16T06:34:25.251Z] Setting up curl (7.58.0-2ubuntu3.10) ... [2020-11-16T06:34:25.251Z] Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-11-16T06:34:25.516Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.5) ... [2020-11-16T06:34:25.516Z] Setting up libgdbm5:amd64 (1.14.1-6) ... [2020-11-16T06:34:25.516Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-11-16T06:34:25.516Z] Setting up libgdbm-compat4:amd64 (1.14.1-6) ... [2020-11-16T06:34:25.516Z] Setting up netbase (5.4) ... [2020-11-16T06:34:25.517Z] Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... [2020-11-16T06:34:25.517Z] Setting up perl (5.26.1-6ubuntu0.5) ... [2020-11-16T06:34:25.517Z] Setting up liberror-perl (0.17025-1) ... [2020-11-16T06:34:25.517Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-11-16T06:34:25.517Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-11-16T06:34:25.517Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-11-16T06:34:27.424Z] curl set to automatically installed. [2020-11-16T06:34:27.424Z] git set to automatically installed. [2020-11-16T06:34:27.424Z] git-man set to automatically installed. [2020-11-16T06:34:27.424Z] less set to automatically installed. [2020-11-16T06:34:27.424Z] libcurl3-gnutls set to automatically installed. [2020-11-16T06:34:27.424Z] liberror-perl set to automatically installed. [2020-11-16T06:34:27.424Z] libgdbm-compat4 set to automatically installed. [2020-11-16T06:34:27.424Z] libgdbm5 set to automatically installed. [2020-11-16T06:34:27.424Z] libperl5.26 set to automatically installed. [2020-11-16T06:34:27.424Z] make set to automatically installed. [2020-11-16T06:34:27.424Z] netbase set to automatically installed. [2020-11-16T06:34:27.424Z] patch set to automatically installed. [2020-11-16T06:34:27.424Z] perl set to automatically installed. [2020-11-16T06:34:27.424Z] perl-base set to automatically installed. [2020-11-16T06:34:27.424Z] perl-modules-5.26 set to automatically installed. [2020-11-16T06:34:27.424Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-11-16T06:34:27.424Z] Please ensure the environment is properly setup before continuing. [2020-11-16T06:34:27.424Z] Ignore this message if the appropriate measures have already been taken [2020-11-16T06:34:27.995Z] Pulling go  [2020-11-16T06:34:28.940Z] 'device-modbus' has dependencies that need to be staged: go [2020-11-16T06:34:28.940Z] Skipping pull go (already ran) [2020-11-16T06:34:28.940Z] Building go  [2020-11-16T06:34:28.940Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-16T06:34:28.940Z] Dload Upload Total Spent Left Speed [2020-11-16T06:34:30.733Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 9 115M 9 10.6M 0 0 28.3M 0 0:00:04 --:--:-- 0:00:04 28.2M 61 115M 61 70.8M 0 0 51.8M 0 0:00:02 0:00:01 0:00:01 51.7M 100 115M 100 115M 0 0 55.0M 0 0:00:02 0:00:02 --:--:-- 55.0M [2020-11-16T06:34:31.676Z] go1.15.2.linux-amd64.tar.gz: OK [2020-11-16T06:34:38.258Z] Staging go  [2020-11-16T06:34:38.258Z] Pulling device-modbus  [2020-11-16T06:34:39.199Z] Skipping build go (already ran) [2020-11-16T06:34:39.199Z] Building device-modbus  [2020-11-16T06:34:39.199Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2020-11-16T06:34:40.143Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.3.0 [2020-11-16T06:34:40.143Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.111 [2020-11-16T06:34:40.143Z] go: downloading github.com/goburrow/modbus v0.1.0 [2020-11-16T06:34:40.144Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-11-16T06:34:40.144Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-11-16T06:34:40.144Z] go: downloading github.com/google/uuid v1.1.2 [2020-11-16T06:34:40.144Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.57 [2020-11-16T06:34:40.144Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2020-11-16T06:34:40.144Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.26 [2020-11-16T06:34:40.144Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2020-11-16T06:34:40.144Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2020-11-16T06:34:40.144Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-11-16T06:34:40.144Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-11-16T06:34:40.144Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.8 [2020-11-16T06:34:40.144Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-11-16T06:34:40.144Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.26 [2020-11-16T06:34:40.144Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-11-16T06:34:40.144Z] go: downloading github.com/go-playground/validator/v10 v10.3.0 [2020-11-16T06:34:40.144Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-11-16T06:34:40.144Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-11-16T06:34:40.144Z] go: downloading github.com/pkg/errors v0.8.1 [2020-11-16T06:34:40.144Z] go: downloading github.com/x448/float16 v0.8.4 [2020-11-16T06:34:40.404Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2020-11-16T06:34:40.404Z] go: downloading github.com/leodido/go-urn v1.2.0 [2020-11-16T06:34:40.404Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-11-16T06:34:40.404Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-11-16T06:34:40.404Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-11-16T06:34:40.404Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-11-16T06:34:40.404Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-11-16T06:34:40.404Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-11-16T06:34:40.404Z] go: downloading github.com/go-playground/locales v0.13.0 [2020-11-16T06:34:40.404Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-11-16T06:34:40.404Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-11-16T06:34:40.404Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-11-16T06:34:40.404Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-11-16T06:34:40.404Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2020-11-16T06:34:47.021Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-16T06:34:49.564Z] Skipping stage go (already ran) [2020-11-16T06:34:49.564Z] Staging device-modbus  [2020-11-16T06:34:50.136Z] Priming go  [2020-11-16T06:34:51.079Z] Priming device-modbus  [2020-11-16T06:34:51.659Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-11-16T06:34:51.659Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-11-16T06:34:51.659Z] Determining the version from the project repo (version-script). [2020-11-16T06:34:51.659Z] The version has been set to 'local-dev-20201116+84e23a9' [2020-11-16T06:34:52.479Z] Snapping | Snapping / Snapping - Snapping | [2020-11-16T06:34:52.479Z] Snapped edgex-device-modbus_local-dev-20201116+84e23a9_amd64.snap [Pipeline] } [2020-11-16T06:34:55.046Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [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 [2020-11-16T06:34:57.953Z] provisioning config files... [2020-11-16T06:34:57.966Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-188@tmp/config4986297540176553540tmp [Pipeline] { [Pipeline] sh [2020-11-16T06:34:58.407Z] + set +x [2020-11-16T06:34:58.407Z] + curl -s https://codecov.io/bash [2020-11-16T06:34:58.407Z] + bash -s -- [2020-11-16T06:34:58.673Z] [2020-11-16T06:34:58.673Z] _____ _ [2020-11-16T06:34:58.673Z] / ____| | | [2020-11-16T06:34:58.673Z] | | ___ __| | ___ ___ _____ __ [2020-11-16T06:34:58.673Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-16T06:34:58.673Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-16T06:34:58.673Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-16T06:34:58.673Z] Bash-20201106-81372f2 [2020-11-16T06:34:58.673Z] [2020-11-16T06:34:58.673Z] [2020-11-16T06:34:58.673Z] ==> Jenkins CI detected. [2020-11-16T06:34:58.673Z] project root: . [2020-11-16T06:34:58.673Z] --> token set from env [2020-11-16T06:34:58.673Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-16T06:34:58.673Z] ==> Running gcov in . (disable via -X gcov) [2020-11-16T06:34:58.673Z] ==> Python coveragepy not found [2020-11-16T06:34:58.673Z] ==> Searching for coverage reports in: [2020-11-16T06:34:58.673Z] + . [2020-11-16T06:34:58.673Z] -> Found 1 reports [2020-11-16T06:34:58.673Z] ==> Detecting git/mercurial file structure [2020-11-16T06:34:58.673Z] ==> Reading reports [2020-11-16T06:34:58.673Z] + ./coverage.out bytes=22364 [2020-11-16T06:34:58.673Z] ==> Appending adjustments [2020-11-16T06:34:58.673Z] https://docs.codecov.io/docs/fixing-reports [2020-11-16T06:34:58.937Z] + Found adjustments [2020-11-16T06:34:58.937Z] ==> Gzipping contents [2020-11-16T06:34:58.937Z] ==> Uploading reports [2020-11-16T06:34:58.937Z] url: https://codecov.io [2020-11-16T06:34:58.937Z] query: branch=PR-188&commit=84e23a9a16023d01cd9b6050c108f14720065c2e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-188%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=188&job=&cmd_args= [2020-11-16T06:34:58.937Z] -> Pinging Codecov [2020-11-16T06:34:58.937Z] https://codecov.io/upload/v4?package=bash-20201106-81372f2&token=secret&branch=PR-188&commit=84e23a9a16023d01cd9b6050c108f14720065c2e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-188%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=188&job=&cmd_args= [2020-11-16T06:34:59.515Z] -> Uploading to [2020-11-16T06:34:59.515Z] https://storage.googleapis.com/codecov/v4/raw/2020-11-16/55DBCA73C666E3227836607328DD7E49/84e23a9a16023d01cd9b6050c108f14720065c2e/f36c638a-ece0-4601-aaa5-d6ae88f48034.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201116%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201116T063459Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=afdaa8afc61ddfca7430f6cbb52c487a2214a4baf763c8889ba0bf86501f374e [2020-11-16T06:34:59.515Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-16T06:34:59.515Z] Dload Upload Total Spent Left Speed [2020-11-16T06:34:59.785Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4170 0 0 100 4170 0 10356 --:--:-- --:--:-- --:--:-- 10347 100 4170 0 0 100 4170 0 10352 --:--:-- --:--:-- --:--:-- 10347 [2020-11-16T06:34:59.785Z] -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/84e23a9a16023d01cd9b6050c108f14720065c2e [Pipeline] } [2020-11-16T06:34:59.809Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:35:03.821Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:35:04.436Z] ---> package-listing.sh [2020-11-16T06:35:04.437Z] ++ facter osfamily [2020-11-16T06:35:04.437Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-16T06:35:04.437Z] + OS_FAMILY=redhat [2020-11-16T06:35:04.437Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-188 [2020-11-16T06:35:04.437Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-16T06:35:04.437Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-16T06:35:04.437Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-16T06:35:04.437Z] + PACKAGES=/tmp/packages_start.txt [2020-11-16T06:35:04.437Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-188 ']' [2020-11-16T06:35:04.437Z] + PACKAGES=/tmp/packages_end.txt [2020-11-16T06:35:04.437Z] + case "${OS_FAMILY}" in [2020-11-16T06:35:04.437Z] + rpm -qa [2020-11-16T06:35:04.437Z] + sort [2020-11-16T06:35:08.669Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-16T06:35:08.669Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-16T06:35:08.669Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-16T06:35:08.669Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-188 ']' [2020-11-16T06:35:08.669Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-188/archives/ [2020-11-16T06:35:08.669Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-188/archives/ [Pipeline] echo [2020-11-16T06:35:08.703Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-188/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-11-16T06:35:09.014Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:35:09.363Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-16T06:35:09.363Z] [2020-11-16T06:35:09.363Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:35:09.785Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-16T06:35:09.785Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-16T06:35:09.785Z] df20fa9351a1: Pulling fs layer [2020-11-16T06:35:09.785Z] 36b3adc4ff6f: Pulling fs layer [2020-11-16T06:35:09.785Z] 8ad3a11d3b57: Pulling fs layer [2020-11-16T06:35:09.785Z] 46f8f816bc3b: Pulling fs layer [2020-11-16T06:35:09.785Z] 93b61091891f: Pulling fs layer [2020-11-16T06:35:09.785Z] 93b9cdb0e59b: Pulling fs layer [2020-11-16T06:35:09.785Z] 5e14af77c1be: Pulling fs layer [2020-11-16T06:35:09.785Z] 01666e4c0597: Pulling fs layer [2020-11-16T06:35:09.785Z] aa168da1d23b: Pulling fs layer [2020-11-16T06:35:09.785Z] 93b9cdb0e59b: Waiting [2020-11-16T06:35:09.785Z] 01666e4c0597: Waiting [2020-11-16T06:35:09.785Z] aa168da1d23b: Waiting [2020-11-16T06:35:09.785Z] 5e14af77c1be: Waiting [2020-11-16T06:35:09.785Z] 93b61091891f: Waiting [2020-11-16T06:35:09.785Z] 46f8f816bc3b: Waiting [2020-11-16T06:35:09.785Z] 36b3adc4ff6f: Verifying Checksum [2020-11-16T06:35:09.785Z] 36b3adc4ff6f: Download complete [2020-11-16T06:35:09.785Z] 46f8f816bc3b: Verifying Checksum [2020-11-16T06:35:09.785Z] 46f8f816bc3b: Download complete [2020-11-16T06:35:09.785Z] df20fa9351a1: Download complete [2020-11-16T06:35:09.785Z] 93b9cdb0e59b: Verifying Checksum [2020-11-16T06:35:09.785Z] 93b9cdb0e59b: Download complete [2020-11-16T06:35:10.056Z] 5e14af77c1be: Verifying Checksum [2020-11-16T06:35:10.056Z] 5e14af77c1be: Download complete [2020-11-16T06:35:10.056Z] 01666e4c0597: Verifying Checksum [2020-11-16T06:35:10.056Z] 01666e4c0597: Download complete [2020-11-16T06:35:10.056Z] 93b61091891f: Verifying Checksum [2020-11-16T06:35:10.056Z] 93b61091891f: Download complete [2020-11-16T06:35:10.319Z] df20fa9351a1: Pull complete [2020-11-16T06:35:10.319Z] 8ad3a11d3b57: Verifying Checksum [2020-11-16T06:35:10.319Z] 8ad3a11d3b57: Download complete [2020-11-16T06:35:10.590Z] 36b3adc4ff6f: Pull complete [2020-11-16T06:35:11.178Z] 8ad3a11d3b57: Pull complete [2020-11-16T06:35:11.450Z] 46f8f816bc3b: Pull complete [2020-11-16T06:35:12.033Z] 93b61091891f: Pull complete [2020-11-16T06:35:12.033Z] 93b9cdb0e59b: Pull complete [2020-11-16T06:35:12.033Z] aa168da1d23b: Verifying Checksum [2020-11-16T06:35:12.033Z] aa168da1d23b: Download complete [2020-11-16T06:35:12.301Z] 5e14af77c1be: Pull complete [2020-11-16T06:35:12.301Z] 01666e4c0597: Pull complete [2020-11-16T06:35:18.953Z] aa168da1d23b: Pull complete [2020-11-16T06:35:18.953Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-16T06:35:18.953Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-16T06:35:18.953Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-16T06:35:19.111Z] prd-centos7-docker-4c-2g-12218 does not seem to be running inside a container [2020-11-16T06:35:19.164Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-188/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-188 -v /w/workspace/xfoundry_device-modbus-go_PR-188:/w/workspace/xfoundry_device-modbus-go_PR-188:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-188@tmp:/w/workspace/xfoundry_device-modbus-go_PR-188@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-lftools-log-publisher:alpine cat [2020-11-16T06:35:23.127Z] $ docker top 13f3a0e6cb3c3253304cc7c2fd52286cf4e22bded3cc1cc86c757d3ecac3f38a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T06:35:23.747Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-16T06:35:24.076Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-16T06:35:24.396Z] + ls /var/log/sa-host [2020-11-16T06:35:24.396Z] + sadf -c /var/log/sa-host/sa05 [2020-11-16T06:35:24.396Z] file_magic: OK [2020-11-16T06:35:24.396Z] HZ: Using current value: 100 [2020-11-16T06:35:24.396Z] file_header: OK [2020-11-16T06:35:24.396Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-11-16T06:35:24.396Z] Statistics: [2020-11-16T06:35:24.396Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-16T06:35:24.396Z] File successfully converted to sysstat format version 12.2.1 [2020-11-16T06:35:24.396Z] + sadf -c /var/log/sa-host/sa16 [2020-11-16T06:35:24.396Z] file_magic: OK [2020-11-16T06:35:24.396Z] HZ: Using current value: 100 [2020-11-16T06:35:24.396Z] file_header: OK [2020-11-16T06:35:24.396Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-11-16T06:35:24.396Z] Statistics: [2020-11-16T06:35:24.396Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-16T06:35:24.396Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-16T06:35:24.650Z] provisioning config files... [2020-11-16T06:35:24.668Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-188@tmp/config7981120912018277887tmp [Pipeline] { [Pipeline] echo [2020-11-16T06:35:24.796Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:35:25.141Z] ---> create-netrc.sh [Pipeline] } [2020-11-16T06:35:25.166Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-16T06:35:25.336Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:35:25.675Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-16T06:35:25.703Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:35:26.034Z] ---> sudo-logs.sh [2020-11-16T06:35:26.034Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-16T06:35:26.064Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:35:26.395Z] ---> job-cost.sh [2020-11-16T06:35:26.395Z] lf-activate-venv: SKIPPING [2020-11-16T06:35:26.395Z] INFO: No Stack... [2020-11-16T06:35:27.341Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-16T06:35:27.918Z] INFO: Archiving Costs [Pipeline] echo [2020-11-16T06:35:27.949Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:35:28.278Z] ---> logs-deploy.sh [2020-11-16T06:35:28.278Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-188/1 [2020-11-16T06:35:28.278Z] INFO: archiving workspace using pattern(s): [2020-11-16T06:35:30.199Z] Archives upload complete. [2020-11-16T06:35:30.199Z] INFO: archiving logs to Nexus