Pull request #189 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d094e2e09fbacf0a1efb1ad068d604fcbb11ce00+8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b (fdd9e9fb2133f60bd4b3342896d142f812526ba4) 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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-189/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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 # timeout=10 Commit message: "Merge pull request #301 from ernestojeda/enable-docker-proxy" > 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-189/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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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-13229 in /w/workspace/xfoundry_device-modbus-go_PR-189 [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-189 # 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/189/head:refs/remotes/origin/PR-189 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b into PR head commit d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 Merge succeeded, producing d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 Checking out Revision d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 (PR-189) > git config core.sparsecheckout # timeout=10 > git checkout -f d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 # 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 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 # timeout=10 Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-23T06:39:49.117Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-23T06:39:49.732Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-23T06:39:49.952Z] ========================================================= [2020-11-23T06:39:49.953Z] EdgeX Global Pipelines Version Info [2020-11-23T06:39:49.953Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-23T06:39:51.483Z] ------------------- [2020-11-23T06:39:51.483Z] stable info: [2020-11-23T06:39:51.483Z] ------------------- [2020-11-23T06:39:51.483Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-23T06:39:51.483Z] Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [2020-11-23T06:39:51.483Z] Message: update stable to v1.0.167 [2020-11-23T06:39:52.428Z] ------------------- [2020-11-23T06:39:52.428Z] experimental info: [2020-11-23T06:39:52.428Z] ------------------- [2020-11-23T06:39:52.428Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-11-23T06:39:52.428Z] Commit SHA: 0d18be6431106a7569620da64dad388747d7ba9a [2020-11-23T06:39:52.428Z] Message: update experimental to v1.0.168 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-23T06:39:53.000Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2020-11-23T06:39:53.146Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2020-11-23T06:39:53.284Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-23T06:39:53.425Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-23T06:39:53.564Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-23T06:39:53.708Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-23T06:39:53.836Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-23T06:39:53.977Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-23T06:39:54.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-23T06:39:54.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-23T06:39:54.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-23T06:39:54.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo [2020-11-23T06:39:54.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-23T06:39:54.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-23T06:39:54.924Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-23T06:39:55.064Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-11-23T06:39:55.195Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-23T06:39:55.329Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-23T06:39:55.468Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-23T06:39:55.592Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-11-23T06:39:55.725Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-11-23T06:39:55.857Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-11-23T06:39:55.987Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-23T06:39:56.127Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-23T06:39:56.292Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-23T06:39:56.427Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-11-23T06:39:56.561Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-189 [Pipeline] echo [2020-11-23T06:39:56.740Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-189 [Pipeline] echo [2020-11-23T06:39:56.877Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-189 [Pipeline] echo [2020-11-23T06:39:57.023Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 [Pipeline] echo [2020-11-23T06:39:57.171Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d094e2e [Pipeline] echo [2020-11-23T06:39:57.309Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-23T06:39:57.617Z] provisioning config files... [2020-11-23T06:39:57.673Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-189@tmp/config9000497596187056184tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-23T06:39:58.123Z] ---> docker-login.sh [2020-11-23T06:39:58.123Z] nexus3.edgexfoundry.org:10001 [2020-11-23T06:39:58.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T06:39:58.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T06:39:58.654Z] Configure a credential helper to remove this warning. See [2020-11-23T06:39:58.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T06:39:58.654Z] [2020-11-23T06:39:58.654Z] Login Succeeded [2020-11-23T06:39:58.654Z] nexus3.edgexfoundry.org:10002 [2020-11-23T06:39:58.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T06:39:58.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T06:39:58.654Z] Configure a credential helper to remove this warning. See [2020-11-23T06:39:58.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T06:39:58.654Z] [2020-11-23T06:39:58.654Z] Login Succeeded [2020-11-23T06:39:58.654Z] nexus3.edgexfoundry.org:10003 [2020-11-23T06:39:58.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T06:39:58.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T06:39:58.921Z] Configure a credential helper to remove this warning. See [2020-11-23T06:39:58.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T06:39:58.921Z] [2020-11-23T06:39:58.921Z] Login Succeeded [2020-11-23T06:39:58.921Z] nexus3.edgexfoundry.org:10004 [2020-11-23T06:39:58.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T06:39:59.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T06:39:59.184Z] Configure a credential helper to remove this warning. See [2020-11-23T06:39:59.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T06:39:59.184Z] [2020-11-23T06:39:59.184Z] Login Succeeded [2020-11-23T06:39:59.184Z] docker.io [2020-11-23T06:39:59.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T06:39:59.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T06:39:59.447Z] Configure a credential helper to remove this warning. See [2020-11-23T06:39:59.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T06:39:59.447Z] [2020-11-23T06:39:59.447Z] Login Succeeded [2020-11-23T06:39:59.447Z] ---> docker-login.sh ends [Pipeline] } [2020-11-23T06:39:59.477Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-23T06:40:00.623Z] + git log --format=format:%s -1 d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 [Pipeline] echo [2020-11-23T06:40:00.713Z] GIT_COMMIT: d094e2e09fbacf0a1efb1ad068d604fcbb11ce00, Commit Message: Bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2020-11-23T06:40:00.786Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-23T06:40:01.504Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-23T06:40:01.504Z] [2020-11-23T06:40:01.504Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-23T06:40:01.993Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-23T06:40:01.994Z] latest: Pulling from edgex-devops/git-semver [2020-11-23T06:40:01.994Z] 31603596830f: Pulling fs layer [2020-11-23T06:40:01.994Z] 2a8b12db71e7: Pulling fs layer [2020-11-23T06:40:01.994Z] 6ca5941a6612: Pulling fs layer [2020-11-23T06:40:01.994Z] ecc8261a40a4: Pulling fs layer [2020-11-23T06:40:01.994Z] ecc8261a40a4: Waiting [2020-11-23T06:40:01.994Z] 2a8b12db71e7: Verifying Checksum [2020-11-23T06:40:01.994Z] 2a8b12db71e7: Download complete [2020-11-23T06:40:02.267Z] 31603596830f: Verifying Checksum [2020-11-23T06:40:02.267Z] 31603596830f: Download complete [2020-11-23T06:40:02.267Z] 6ca5941a6612: Verifying Checksum [2020-11-23T06:40:02.267Z] 6ca5941a6612: Download complete [2020-11-23T06:40:02.267Z] ecc8261a40a4: Verifying Checksum [2020-11-23T06:40:02.267Z] ecc8261a40a4: Download complete [2020-11-23T06:40:02.530Z] 31603596830f: Pull complete [2020-11-23T06:40:02.530Z] 2a8b12db71e7: Pull complete [2020-11-23T06:40:03.481Z] 6ca5941a6612: Pull complete [2020-11-23T06:40:03.747Z] ecc8261a40a4: Pull complete [2020-11-23T06:40:03.747Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-23T06:40:03.747Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-23T06:40:03.747Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-23T06:40:03.964Z] prd-centos7-docker-4c-2g-13229 does not seem to be running inside a container [2020-11-23T06:40:04.032Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-189 -v /w/workspace/xfoundry_device-modbus-go_PR-189:/w/workspace/xfoundry_device-modbus-go_PR-189:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-189@tmp:/w/workspace/xfoundry_device-modbus-go_PR-189@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-23T06:40:06.401Z] $ docker top 730075d39c90fdcd75137333819fc7f53abef68dc57df4645bc5cc69a45bd2af -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-23T06:40:06.972Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-23T06:40:06.972Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-23T06:40:07.202Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-23T06:40:07.208Z] $ docker exec 730075d39c90fdcd75137333819fc7f53abef68dc57df4645bc5cc69a45bd2af ssh-agent [2020-11-23T06:40:07.367Z] SSH_AUTH_SOCK=/tmp/ssh-naoHhHpWFJvP/agent.11 [2020-11-23T06:40:07.367Z] SSH_AGENT_PID=16 [2020-11-23T06:40:07.382Z] Running ssh-add (command line suppressed) [2020-11-23T06:40:07.508Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-189@tmp/private_key_2182639266233211951.key (/w/workspace/xfoundry_device-modbus-go_PR-189@tmp/private_key_2182639266233211951.key) [2020-11-23T06:40:07.554Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-23T06:40:07.946Z] + git tag --points-at HEAD [Pipeline] } [2020-11-23T06:40:07.989Z] $ docker exec --env ******** --env ******** 730075d39c90fdcd75137333819fc7f53abef68dc57df4645bc5cc69a45bd2af ssh-agent -k [2020-11-23T06:40:08.113Z] unset SSH_AUTH_SOCK; [2020-11-23T06:40:08.114Z] unset SSH_AGENT_PID; [2020-11-23T06:40:08.114Z] echo Agent pid 16 killed; [2020-11-23T06:40:08.165Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-23T06:40:08.377Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-23T06:40:08.377Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-23T06:40:08.544Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-23T06:40:08.551Z] $ docker exec 730075d39c90fdcd75137333819fc7f53abef68dc57df4645bc5cc69a45bd2af ssh-agent [2020-11-23T06:40:08.715Z] SSH_AUTH_SOCK=/tmp/ssh-5T7Dt4TSKqR3/agent.45 [2020-11-23T06:40:08.715Z] SSH_AGENT_PID=50 [2020-11-23T06:40:08.724Z] Running ssh-add (command line suppressed) [2020-11-23T06:40:08.859Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-189@tmp/private_key_5940569114164003776.key (/w/workspace/xfoundry_device-modbus-go_PR-189@tmp/private_key_5940569114164003776.key) [2020-11-23T06:40:08.929Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-23T06:40:09.378Z] + git semver init [2020-11-23T06:40:09.378Z] # -> Open(): unable to determine branch for HEAD [2020-11-23T06:40:09.378Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-189/.git [2020-11-23T06:40:09.378Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-189 [2020-11-23T06:40:09.378Z] # $SEMVER_REMOTE_NAME = origin [2020-11-23T06:40:09.378Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-23T06:40:09.378Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-23T06:40:09.378Z] # $SEMVER_BRANCH = PR-189 [2020-11-23T06:40:09.378Z] # $SEMVER_TEMP = /tmp/semver-125524279 [2020-11-23T06:40:09.378Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-11-23T06:40:09.642Z] # '/tmp/semver-125524279' -> '/w/workspace/xfoundry_device-modbus-go_PR-189/.semver' [2020-11-23T06:40:09.642Z] # -> Force: false [2020-11-23T06:40:09.642Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-189/.semver [Pipeline] } [2020-11-23T06:40:09.689Z] $ docker exec --env ******** --env ******** 730075d39c90fdcd75137333819fc7f53abef68dc57df4645bc5cc69a45bd2af ssh-agent -k [2020-11-23T06:40:09.803Z] unset SSH_AUTH_SOCK; [2020-11-23T06:40:09.803Z] unset SSH_AGENT_PID; [2020-11-23T06:40:09.804Z] echo Agent pid 50 killed; [2020-11-23T06:40:09.848Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-23T06:40:10.488Z] + git semver [Pipeline] } [2020-11-23T06:40:10.531Z] $ docker stop --time=1 730075d39c90fdcd75137333819fc7f53abef68dc57df4645bc5cc69a45bd2af [2020-11-23T06:40:11.879Z] $ docker rm -f 730075d39c90fdcd75137333819fc7f53abef68dc57df4645bc5cc69a45bd2af [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-23T06:40:12.398Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-23T06:40:12.902Z] Stashed 1 file(s) [Pipeline] echo [2020-11-23T06:40:12.924Z] [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-23T06:40:28.907Z] Still waiting to schedule task [2020-11-23T06:40:28.908Z] ‘prd-centos7-docker-4c-2g-13216’ is offline; ‘prd-centos7-docker-4c-2g-13218’ is offline; ‘prd-centos7-docker-4c-2g-13228’ is offline; ‘prd-centos7-docker-4c-2g-13233’ is offline; ‘prd-centos7-docker-8c-8g-13219’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-13232’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-11-23T06:40:28.954Z] Still waiting to schedule task [2020-11-23T06:40:28.954Z] ‘prd-centos7-docker-4c-2g-13216’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-13218’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-13228’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-13233’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-8c-8g-13219’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-13232’ is offline [2020-11-23T06:41:20.328Z] Running on prd-centos7-docker-4c-2g-13237 in /w/workspace/xfoundry_device-modbus-go_PR-189 [Pipeline] { [Pipeline] ws [2020-11-23T06:41:20.424Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2020-11-23T06:41:24.494Z] using credential edgex-jenkins-ssh [2020-11-23T06:41:24.557Z] Cloning the remote Git repository [2020-11-23T06:41:24.590Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-11-23T06:41:24.663Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2020-11-23T06:41:24.774Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-11-23T06:41:24.775Z] > git --version # timeout=10 [2020-11-23T06:41:24.782Z] > git --version # 'git version 2.16.5' [2020-11-23T06:41:24.782Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-23T06:41:24.815Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-23T06:41:25.403Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-11-23T06:41:25.412Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-23T06:41:25.433Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-11-23T06:41:25.448Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-11-23T06:41:25.449Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-23T06:41:25.456Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/189/head:refs/remotes/origin/PR-189 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-23T06:41:25.928Z] Merging remotes/origin/master commit 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b into PR head commit d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 [2020-11-23T06:41:26.042Z] Merge succeeded, producing d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 [2020-11-23T06:41:26.042Z] Checking out Revision d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 (PR-189) [2020-11-23T06:41:25.943Z] > git config core.sparsecheckout # timeout=10 [2020-11-23T06:41:25.950Z] > git checkout -f d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 # timeout=10 [2020-11-23T06:41:25.999Z] > git remote # timeout=10 [2020-11-23T06:41:26.006Z] > git config --get remote.origin.url # timeout=10 [2020-11-23T06:41:26.013Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-23T06:41:26.018Z] > git merge 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b # timeout=10 [2020-11-23T06:41:26.031Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-23T06:41:26.048Z] > git config core.sparsecheckout # timeout=10 [2020-11-23T06:41:26.055Z] > git checkout -f d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 # timeout=10 [2020-11-23T06:41:29.948Z] Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" [2020-11-23T06:41:29.992Z] > git --version # timeout=10 [2020-11-23T06:41:29.997Z] > git --version # 'git version 2.16.5' [2020-11-23T06:41:30.004Z] fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-23T06:41:31.525Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-11-23T06:41:31.901Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-11-23T06:41:32.227Z] + sudo service docker restart [2020-11-23T06:41:32.228Z] + true [2020-11-23T06:41:32.228Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-23T06:41:33.327Z] provisioning config files... [2020-11-23T06:41:33.358Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config4728152874362566546tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-23T06:41:33.836Z] ---> docker-login.sh [2020-11-23T06:41:33.836Z] nexus3.edgexfoundry.org:10001 [2020-11-23T06:41:34.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T06:41:34.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T06:41:34.370Z] Configure a credential helper to remove this warning. See [2020-11-23T06:41:34.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T06:41:34.370Z] [2020-11-23T06:41:34.370Z] Login Succeeded [2020-11-23T06:41:34.370Z] nexus3.edgexfoundry.org:10002 [2020-11-23T06:41:34.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T06:41:34.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T06:41:34.633Z] Configure a credential helper to remove this warning. See [2020-11-23T06:41:34.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T06:41:34.633Z] [2020-11-23T06:41:34.633Z] Login Succeeded [2020-11-23T06:41:34.633Z] nexus3.edgexfoundry.org:10003 [2020-11-23T06:41:34.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T06:41:34.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T06:41:34.897Z] Configure a credential helper to remove this warning. See [2020-11-23T06:41:34.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T06:41:34.897Z] [2020-11-23T06:41:34.897Z] Login Succeeded [2020-11-23T06:41:34.897Z] nexus3.edgexfoundry.org:10004 [2020-11-23T06:41:34.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T06:41:34.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T06:41:34.897Z] Configure a credential helper to remove this warning. See [2020-11-23T06:41:34.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T06:41:34.897Z] [2020-11-23T06:41:34.897Z] Login Succeeded [2020-11-23T06:41:34.897Z] docker.io [2020-11-23T06:41:35.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T06:41:35.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T06:41:35.425Z] Configure a credential helper to remove this warning. See [2020-11-23T06:41:35.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T06:41:35.425Z] [2020-11-23T06:41:35.425Z] Login Succeeded [2020-11-23T06:41:35.425Z] ---> docker-login.sh ends [Pipeline] } [2020-11-23T06:41:35.449Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-23T06:41:36.043Z] ========================================================= [2020-11-23T06:41:36.043Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-23T06:41:36.043Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-23T06:41:36.464Z] + 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-23T06:41:36.464Z] Sending build context to Docker daemon 508.4kB [2020-11-23T06:41:36.464Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-23T06:41:36.464Z] Step 2/8 : FROM ${BASE} [2020-11-23T06:41:36.733Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-23T06:41:36.733Z] df20fa9351a1: Pulling fs layer [2020-11-23T06:41:36.733Z] ed8968b2872e: Pulling fs layer [2020-11-23T06:41:36.733Z] a92cc7c5fd73: Pulling fs layer [2020-11-23T06:41:36.733Z] e871e8e8d7a9: Pulling fs layer [2020-11-23T06:41:36.733Z] e73272ec9a57: Pulling fs layer [2020-11-23T06:41:36.733Z] 1e910a182e73: Pulling fs layer [2020-11-23T06:41:36.733Z] 4e634b169226: Pulling fs layer [2020-11-23T06:41:36.733Z] e73272ec9a57: Waiting [2020-11-23T06:41:36.733Z] 1e910a182e73: Waiting [2020-11-23T06:41:36.733Z] 4e634b169226: Waiting [2020-11-23T06:41:36.733Z] e871e8e8d7a9: Waiting [2020-11-23T06:41:36.733Z] a92cc7c5fd73: Download complete [2020-11-23T06:41:36.733Z] ed8968b2872e: Download complete [2020-11-23T06:41:36.733Z] e73272ec9a57: Verifying Checksum [2020-11-23T06:41:36.733Z] e73272ec9a57: Download complete [2020-11-23T06:41:36.733Z] 1e910a182e73: Verifying Checksum [2020-11-23T06:41:36.733Z] 1e910a182e73: Download complete [2020-11-23T06:41:37.002Z] df20fa9351a1: Verifying Checksum [2020-11-23T06:41:37.002Z] df20fa9351a1: Download complete [2020-11-23T06:41:37.275Z] df20fa9351a1: Pull complete [2020-11-23T06:41:37.541Z] ed8968b2872e: Pull complete [2020-11-23T06:41:37.808Z] a92cc7c5fd73: Pull complete [2020-11-23T06:41:38.772Z] 4e634b169226: Verifying Checksum [2020-11-23T06:41:38.772Z] 4e634b169226: Download complete [2020-11-23T06:41:39.732Z] e871e8e8d7a9: Verifying Checksum [2020-11-23T06:41:39.732Z] e871e8e8d7a9: Download complete [2020-11-23T06:41:46.459Z] e871e8e8d7a9: Pull complete [2020-11-23T06:41:46.459Z] e73272ec9a57: Pull complete [2020-11-23T06:41:46.459Z] 1e910a182e73: Pull complete [2020-11-23T06:41:50.729Z] 4e634b169226: Pull complete [2020-11-23T06:41:50.729Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-23T06:41:50.729Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-23T06:41:50.729Z] ---> f7629b54cfaa [2020-11-23T06:41:50.729Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-11-23T06:41:51.002Z] ---> Running in 20c287979726 [2020-11-23T06:41:51.265Z] Removing intermediate container 20c287979726 [2020-11-23T06:41:51.265Z] ---> b370ffc88914 [2020-11-23T06:41:51.265Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-23T06:41:51.265Z] ---> Running in 868198df0bc1 [2020-11-23T06:41:52.673Z] Removing intermediate container 868198df0bc1 [2020-11-23T06:41:52.673Z] ---> 5f37313cf348 [2020-11-23T06:41:52.673Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-11-23T06:41:52.673Z] ---> Running in 54564a18c07d [2020-11-23T06:41:53.649Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-23T06:41:54.606Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-23T06:41:56.011Z] (1/14) Installing libmagic (5.38-r0) [2020-11-23T06:41:56.276Z] (2/14) Installing file (5.38-r0) [2020-11-23T06:41:56.540Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-11-23T06:41:56.540Z] (4/14) Installing g++ (9.3.0-r2) [2020-11-23T06:42:23.221Z] (5/14) Installing fortify-headers (1.1-r0) [2020-11-23T06:42:23.221Z] (6/14) Installing patch (2.7.6-r6) [2020-11-23T06:42:23.221Z] (7/14) Installing build-base (0.5-r2) [2020-11-23T06:42:23.221Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-11-23T06:42:23.221Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-11-23T06:42:23.221Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-11-23T06:42:23.221Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-11-23T06:42:23.221Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-11-23T06:42:23.487Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-11-23T06:42:23.487Z] (14/14) Installing openssh (8.3_p1-r0) [2020-11-23T06:42:23.757Z] Executing busybox-1.31.1-r16.trigger [2020-11-23T06:42:23.757Z] OK: 237 MiB in 53 packages [2020-11-23T06:42:27.987Z] Removing intermediate container 54564a18c07d [2020-11-23T06:42:27.987Z] ---> a0a2100429f7 [2020-11-23T06:42:27.987Z] Step 6/8 : WORKDIR /device-modbus-go [2020-11-23T06:42:27.987Z] ---> Running in 05b8c04439a9 [2020-11-23T06:42:27.987Z] Removing intermediate container 05b8c04439a9 [2020-11-23T06:42:27.987Z] ---> e163bc72d1d0 [2020-11-23T06:42:27.987Z] Step 7/8 : COPY . . [2020-11-23T06:42:28.566Z] ---> 1c055fdb1d70 [2020-11-23T06:42:28.566Z] Step 8/8 : RUN go mod download [2020-11-23T06:42:28.842Z] ---> Running in bee28329b6a2 [2020-11-23T06:42:50.932Z] Removing intermediate container bee28329b6a2 [2020-11-23T06:42:50.932Z] ---> d314f85b8690 [2020-11-23T06:42:50.932Z] Successfully built d314f85b8690 [2020-11-23T06:42:50.932Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-23T06:42:51.292Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-23T06:42:51.292Z] . [Pipeline] withDockerContainer [2020-11-23T06:42:51.425Z] prd-centos7-docker-4c-2g-13237 does not seem to be running inside a container [2020-11-23T06:42:51.479Z] $ 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-23T06:42:52.302Z] $ docker top 8517d4d4acc77db9439f392d632d97b7d2e31efb2a6864efa26c15eb4d9ce5de -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-23T06:42:52.874Z] + go version [2020-11-23T06:42:52.875Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-23T06:42:52.906Z] $ docker stop --time=1 8517d4d4acc77db9439f392d632d97b7d2e31efb2a6864efa26c15eb4d9ce5de [2020-11-23T06:42:54.261Z] $ docker rm -f 8517d4d4acc77db9439f392d632d97b7d2e31efb2a6864efa26c15eb4d9ce5de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-23T06:42:55.350Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-23T06:42:55.350Z] . [Pipeline] withDockerContainer [2020-11-23T06:42:55.476Z] prd-centos7-docker-4c-2g-13237 does not seem to be running inside a container [2020-11-23T06:42:55.537Z] $ 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-23T06:42:56.248Z] $ docker top 0c0d5988a666b7f87947a8ae7e9efde1864b6f8d4c58d6e1993b1fffe5cdcbef -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-23T06:42:56.902Z] + make test [2020-11-23T06:42:56.902Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-23T06:42:57.869Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-11-23T06:43:10.308Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-11-23T06:43:10.308Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.222s coverage: 50.3% of statements [2020-11-23T06:43:10.308Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-23T06:43:11.267Z] gofmt -l . [2020-11-23T06:43:11.267Z] [ "`gofmt -l .`" = "" ] [2020-11-23T06:43:11.267Z] ./bin/test-attribution-txt.sh [2020-11-23T06:43:11.852Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-23T06:43:12.152Z] $ docker stop --time=1 0c0d5988a666b7f87947a8ae7e9efde1864b6f8d4c58d6e1993b1fffe5cdcbef [2020-11-23T06:43:14.586Z] $ docker rm -f 0c0d5988a666b7f87947a8ae7e9efde1864b6f8d4c58d6e1993b1fffe5cdcbef [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-23T06:43:16.380Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-23T06:43:16.730Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-11-23T06:43:18.198Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-23T06:43:18.524Z] + ls -al . [2020-11-23T06:43:18.524Z] total 104 [2020-11-23T06:43:18.524Z] drwxrwxr-x. 9 jenkins jenkins 4096 Nov 23 06:43 . [2020-11-23T06:43:18.524Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 23 06:41 .. [2020-11-23T06:43:18.524Z] -rw-rw-r--. 1 jenkins jenkins 5589 Nov 23 06:41 Attribution.txt [2020-11-23T06:43:18.524Z] drwxrwxr-x. 2 jenkins jenkins 87 Nov 23 06:41 bin [2020-11-23T06:43:18.524Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 23 06:41 cmd [2020-11-23T06:43:18.524Z] -rw-r--r--. 1 jenkins jenkins 22364 Nov 23 06:43 coverage.out [2020-11-23T06:43:18.524Z] -rw-rw-r--. 1 jenkins jenkins 1430 Nov 23 06:41 Dockerfile [2020-11-23T06:43:18.524Z] -rw-rw-r--. 1 jenkins jenkins 954 Nov 23 06:41 Dockerfile.build [2020-11-23T06:43:18.524Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 23 06:41 .dockerignore [2020-11-23T06:43:18.524Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 23 06:41 .git [2020-11-23T06:43:18.524Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 23 06:41 .github [2020-11-23T06:43:18.524Z] -rw-rw-r--. 1 jenkins jenkins 338 Nov 23 06:41 .gitignore [2020-11-23T06:43:18.524Z] -rw-r--r--. 1 jenkins jenkins 517 Nov 23 06:43 go.mod [2020-11-23T06:43:18.524Z] -rw-r--r--. 1 jenkins jenkins 14753 Nov 23 06:43 go.sum [2020-11-23T06:43:18.524Z] drwxrwxr-x. 3 jenkins jenkins 20 Nov 23 06:41 internal [2020-11-23T06:43:18.524Z] -rw-rw-r--. 1 jenkins jenkins 679 Nov 23 06:41 Jenkinsfile [2020-11-23T06:43:18.524Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 23 06:41 LICENSE [2020-11-23T06:43:18.524Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 23 06:41 Makefile [2020-11-23T06:43:18.524Z] -rw-rw-r--. 1 jenkins jenkins 591 Nov 23 06:41 README.md [2020-11-23T06:43:18.524Z] drwxrwxr-x. 2 jenkins jenkins 52 Nov 23 06:41 simulator [2020-11-23T06:43:18.524Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 23 06:41 snap [2020-11-23T06:43:18.524Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 23 06:40 VERSION [2020-11-23T06:43:18.524Z] -rw-rw-r--. 1 jenkins jenkins 229 Nov 23 06:41 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-23T06:43:18.885Z] + 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=d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 --label arch=amd64 --label version=0.0.0 . [2020-11-23T06:43:19.155Z] Sending build context to Docker daemon 539.6kB [2020-11-23T06:43:19.155Z] Step 1/20 : ARG BASE=golang:1.15-alpine [2020-11-23T06:43:19.155Z] Step 2/20 : FROM ${BASE} AS builder [2020-11-23T06:43:19.155Z] ---> d314f85b8690 [2020-11-23T06:43:19.155Z] Step 3/20 : ARG MAKE='make build' [2020-11-23T06:43:19.417Z] ---> Running in ce41fea8d655 [2020-11-23T06:43:19.417Z] Removing intermediate container ce41fea8d655 [2020-11-23T06:43:19.417Z] ---> 251fb26b08a2 [2020-11-23T06:43:19.417Z] Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-23T06:43:19.680Z] ---> Running in 1469dc377e30 [2020-11-23T06:43:20.633Z] Removing intermediate container 1469dc377e30 [2020-11-23T06:43:20.633Z] ---> f93e009ae6d5 [2020-11-23T06:43:20.633Z] Step 5/20 : RUN apk add --update --no-cache make git openssh build-base [2020-11-23T06:43:20.633Z] ---> Running in 0fc37620d739 [2020-11-23T06:43:20.897Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-23T06:43:21.873Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-23T06:43:22.450Z] OK: 237 MiB in 53 packages [2020-11-23T06:43:22.713Z] Removing intermediate container 0fc37620d739 [2020-11-23T06:43:22.713Z] ---> 961a3ede3047 [2020-11-23T06:43:22.713Z] Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-11-23T06:43:22.981Z] ---> Running in 616f50cfd358 [2020-11-23T06:43:22.981Z] Removing intermediate container 616f50cfd358 [2020-11-23T06:43:22.981Z] ---> 450bb6ea0316 [2020-11-23T06:43:22.981Z] Step 7/20 : COPY . . [2020-11-23T06:43:23.939Z] ---> 19132de453c4 [2020-11-23T06:43:23.939Z] Step 8/20 : RUN ${MAKE} [2020-11-23T06:43:23.939Z] ---> Running in ba33275cafa5 [2020-11-23T06:43:24.534Z] 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-23T06:43:25.295Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13243 in /w/workspace/xfoundry_device-modbus-go_PR-189 [Pipeline] { [Pipeline] ws [2020-11-23T06:43:25.388Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2020-11-23T06:43:31.032Z] using credential edgex-jenkins-ssh [2020-11-23T06:43:31.098Z] Cloning the remote Git repository [2020-11-23T06:43:31.183Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-11-23T06:43:31.316Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2020-11-23T06:43:31.430Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-11-23T06:43:31.431Z] > git --version # timeout=10 [2020-11-23T06:43:31.451Z] > git --version # 'git version 2.17.1' [2020-11-23T06:43:31.453Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-23T06:43:31.537Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-23T06:43:32.972Z] Merging remotes/origin/master commit 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b into PR head commit d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 [2020-11-23T06:43:32.334Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-11-23T06:43:32.360Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-23T06:43:32.401Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-11-23T06:43:32.452Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-11-23T06:43:32.453Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-23T06:43:32.464Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/189/head:refs/remotes/origin/PR-189 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-23T06:43:32.996Z] > git config core.sparsecheckout # timeout=10 [2020-11-23T06:43:33.062Z] > git checkout -f d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 # timeout=10 [2020-11-23T06:43:33.341Z] Merge succeeded, producing d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 [2020-11-23T06:43:33.342Z] Checking out Revision d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 (PR-189) [2020-11-23T06:43:33.174Z] > git remote # timeout=10 [2020-11-23T06:43:33.224Z] > git config --get remote.origin.url # timeout=10 [2020-11-23T06:43:33.255Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-23T06:43:33.271Z] > git merge 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b # timeout=10 [2020-11-23T06:43:33.316Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-23T06:43:33.355Z] > git config core.sparsecheckout # timeout=10 [2020-11-23T06:43:33.386Z] > git checkout -f d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 # timeout=10 [2020-11-23T06:43:34.718Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-23T06:43:37.281Z] Removing intermediate container ba33275cafa5 [2020-11-23T06:43:37.281Z] ---> e09ce24b1e0c [2020-11-23T06:43:37.281Z] Step 9/20 : FROM scratch [2020-11-23T06:43:37.281Z] ---> [2020-11-23T06:43:37.281Z] Step 10/20 : ENV APP_PORT=49991 [2020-11-23T06:43:37.281Z] ---> Running in db5f74345014 [2020-11-23T06:43:37.281Z] Removing intermediate container db5f74345014 [2020-11-23T06:43:37.281Z] ---> d5de26d0e5ad [2020-11-23T06:43:37.281Z] Step 11/20 : EXPOSE $APP_PORT [2020-11-23T06:43:37.281Z] ---> Running in 1c59922f84dd [2020-11-23T06:43:37.281Z] Removing intermediate container 1c59922f84dd [2020-11-23T06:43:37.281Z] ---> 6f60855bb352 [2020-11-23T06:43:37.281Z] Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-11-23T06:43:37.773Z] Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" [2020-11-23T06:43:37.870Z] ---> 14d312cf9200 [2020-11-23T06:43:37.870Z] Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-11-23T06:43:37.870Z] ---> 1177806f7ffb [2020-11-23T06:43:37.870Z] Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-11-23T06:43:37.840Z] > git --version # timeout=10 [2020-11-23T06:43:37.858Z] > git --version # 'git version 2.17.1' [2020-11-23T06:43:37.883Z] fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [2020-11-23T06:43:38.135Z] ---> 583dda7e06f1 [2020-11-23T06:43:38.135Z] Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-11-23T06:43:38.135Z] ---> Running in 8d35bedebfa2 [Pipeline] withEnv [Pipeline] { [2020-11-23T06:43:38.400Z] Removing intermediate container 8d35bedebfa2 [2020-11-23T06:43:38.400Z] ---> 7907c427a4b6 [2020-11-23T06:43:38.400Z] Step 16/20 : ENTRYPOINT ["/device-modbus"] [2020-11-23T06:43:38.400Z] ---> Running in 4fe17b8909ed [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-23T06:43:39.351Z] Removing intermediate container 4fe17b8909ed [2020-11-23T06:43:39.351Z] ---> aeb2ec265452 [2020-11-23T06:43:39.351Z] Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-23T06:43:39.351Z] ---> Running in 9ed140cddf4e [2020-11-23T06:43:39.351Z] Removing intermediate container 9ed140cddf4e [2020-11-23T06:43:39.351Z] ---> f688bd93f4d2 [2020-11-23T06:43:39.351Z] Step 18/20 : LABEL arch=amd64 [2020-11-23T06:43:39.351Z] ---> Running in 3ce9f1cedf81 [2020-11-23T06:43:39.612Z] Removing intermediate container 3ce9f1cedf81 [2020-11-23T06:43:39.612Z] ---> 97bc22d6aab4 [2020-11-23T06:43:39.612Z] Step 19/20 : LABEL git_sha=d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 [2020-11-23T06:43:39.612Z] ---> Running in 899e01a6f20b [2020-11-23T06:43:39.738Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-11-23T06:43:39.873Z] Removing intermediate container 899e01a6f20b [2020-11-23T06:43:39.874Z] ---> 9eeb55c8ec14 [2020-11-23T06:43:39.874Z] Step 20/20 : LABEL version=0.0.0 [2020-11-23T06:43:39.874Z] ---> Running in 7c68ab0260e4 [2020-11-23T06:43:40.136Z] Removing intermediate container 7c68ab0260e4 [2020-11-23T06:43:40.136Z] ---> fa77b5663241 [2020-11-23T06:43:40.136Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-23T06:43:40.136Z] Successfully built fa77b5663241 [2020-11-23T06:43:40.136Z] Successfully tagged docker-device-modbus-go:latest [2020-11-23T06:43:40.156Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] } [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2020-11-23T06:43:40.796Z] + sudo service docker restart [2020-11-23T06:43:40.797Z] + true [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-23T06:43:43.596Z] provisioning config files... [2020-11-23T06:43:43.636Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config2491752395062652564tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-23T06:43:44.109Z] ---> docker-login.sh [2020-11-23T06:43:44.110Z] nexus3.edgexfoundry.org:10001 [2020-11-23T06:43:45.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T06:43:45.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T06:43:45.391Z] Configure a credential helper to remove this warning. See [2020-11-23T06:43:45.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T06:43:45.391Z] [2020-11-23T06:43:45.391Z] Login Succeeded [2020-11-23T06:43:45.391Z] nexus3.edgexfoundry.org:10002 [2020-11-23T06:43:45.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T06:43:45.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T06:43:45.940Z] Configure a credential helper to remove this warning. See [2020-11-23T06:43:45.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T06:43:45.940Z] [2020-11-23T06:43:45.940Z] Login Succeeded [2020-11-23T06:43:45.940Z] nexus3.edgexfoundry.org:10003 [2020-11-23T06:43:46.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T06:43:46.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T06:43:46.488Z] Configure a credential helper to remove this warning. See [2020-11-23T06:43:46.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T06:43:46.488Z] [2020-11-23T06:43:46.488Z] Login Succeeded [2020-11-23T06:43:46.488Z] nexus3.edgexfoundry.org:10004 [2020-11-23T06:43:46.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T06:43:46.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T06:43:46.764Z] Configure a credential helper to remove this warning. See [2020-11-23T06:43:46.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T06:43:46.764Z] [2020-11-23T06:43:46.764Z] Login Succeeded [2020-11-23T06:43:46.764Z] docker.io [2020-11-23T06:43:47.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T06:43:47.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T06:43:47.636Z] Configure a credential helper to remove this warning. See [2020-11-23T06:43:47.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T06:43:47.636Z] [2020-11-23T06:43:47.636Z] Login Succeeded [2020-11-23T06:43:47.636Z] ---> docker-login.sh ends [Pipeline] } [2020-11-23T06:43:47.671Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-23T06:43:48.313Z] ========================================================= [2020-11-23T06:43:48.313Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-23T06:43:48.313Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-23T06:43:48.760Z] + 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-23T06:43:49.036Z] Sending build context to Docker daemon 508.4kB [2020-11-23T06:43:49.037Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-23T06:43:49.037Z] Step 2/8 : FROM ${BASE} [2020-11-23T06:43:49.308Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-23T06:43:49.308Z] b538f80385f9: Pulling fs layer [2020-11-23T06:43:49.308Z] 74f711af9a0d: Pulling fs layer [2020-11-23T06:43:49.308Z] 99f96fe45779: Pulling fs layer [2020-11-23T06:43:49.308Z] 8529a6b9a6be: Pulling fs layer [2020-11-23T06:43:49.308Z] 45590311c82a: Pulling fs layer [2020-11-23T06:43:49.308Z] 8529a6b9a6be: Waiting [2020-11-23T06:43:49.308Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-23T06:43:49.308Z] 45590311c82a: Waiting [2020-11-23T06:43:49.308Z] 209524e5b208: Pulling fs layer [2020-11-23T06:43:49.308Z] 69ca0ff8b7b3: Waiting [2020-11-23T06:43:49.308Z] 209524e5b208: Waiting [2020-11-23T06:43:49.308Z] 99f96fe45779: Verifying Checksum [2020-11-23T06:43:49.308Z] 99f96fe45779: Download complete [2020-11-23T06:43:49.308Z] 74f711af9a0d: Verifying Checksum [2020-11-23T06:43:49.308Z] 74f711af9a0d: Download complete [2020-11-23T06:43:49.308Z] 45590311c82a: Download complete [2020-11-23T06:43:49.308Z] 69ca0ff8b7b3: Verifying Checksum [2020-11-23T06:43:49.308Z] 69ca0ff8b7b3: Download complete [2020-11-23T06:43:49.583Z] b538f80385f9: Verifying Checksum [2020-11-23T06:43:49.583Z] b538f80385f9: Download complete [2020-11-23T06:43:50.184Z] b538f80385f9: Pull complete [2020-11-23T06:43:50.787Z] 74f711af9a0d: Pull complete [2020-11-23T06:43:51.382Z] 99f96fe45779: Pull complete [2020-11-23T06:43:51.656Z] 209524e5b208: Verifying Checksum [2020-11-23T06:43:51.656Z] 209524e5b208: Download complete [2020-11-23T06:43:53.645Z] 8529a6b9a6be: Verifying Checksum [2020-11-23T06:43:53.645Z] 8529a6b9a6be: Download complete [2020-11-23T06:43:56.152Z] Still waiting to schedule task [2020-11-23T06:43:56.153Z] All nodes of label ‘centos7-docker-8c-8g’ are offline [2020-11-23T06:44:03.865Z] 8529a6b9a6be: Pull complete [2020-11-23T06:44:04.484Z] 45590311c82a: Pull complete [2020-11-23T06:44:04.764Z] 69ca0ff8b7b3: Pull complete [2020-11-23T06:44:09.178Z] 209524e5b208: Pull complete [2020-11-23T06:44:09.178Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-23T06:44:09.178Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-23T06:44:09.178Z] ---> 5bddaf1c2fca [2020-11-23T06:44:09.178Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-11-23T06:44:12.619Z] ---> Running in 8f301b68a24f [2020-11-23T06:44:12.619Z] Removing intermediate container 8f301b68a24f [2020-11-23T06:44:12.619Z] ---> e29c7797db3a [2020-11-23T06:44:12.619Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-23T06:44:12.898Z] ---> Running in ce749cb48f36 [2020-11-23T06:44:16.340Z] Removing intermediate container ce749cb48f36 [2020-11-23T06:44:16.340Z] ---> 3296fa3e8ca0 [2020-11-23T06:44:16.340Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-11-23T06:44:16.340Z] ---> Running in 0ce63d132190 [2020-11-23T06:44:17.800Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-23T06:44:18.403Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-23T06:44:19.840Z] (1/14) Installing libmagic (5.38-r0) [2020-11-23T06:44:20.117Z] (2/14) Installing file (5.38-r0) [2020-11-23T06:44:20.117Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-11-23T06:44:20.394Z] (4/14) Installing g++ (9.3.0-r2) [2020-11-23T06:44:32.800Z] (5/14) Installing fortify-headers (1.1-r0) [2020-11-23T06:44:32.800Z] (6/14) Installing patch (2.7.6-r6) [2020-11-23T06:44:32.800Z] (7/14) Installing build-base (0.5-r2) [2020-11-23T06:44:32.800Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-11-23T06:44:32.800Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-11-23T06:44:32.800Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-11-23T06:44:32.800Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-11-23T06:44:32.800Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-11-23T06:44:32.800Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-11-23T06:44:32.800Z] (14/14) Installing openssh (8.3_p1-r0) [2020-11-23T06:44:33.074Z] Executing busybox-1.31.1-r16.trigger [2020-11-23T06:44:33.074Z] OK: 221 MiB in 53 packages [2020-11-23T06:44:37.407Z] Removing intermediate container 0ce63d132190 [2020-11-23T06:44:37.407Z] ---> 68e73a2a6259 [2020-11-23T06:44:37.407Z] Step 6/8 : WORKDIR /device-modbus-go [2020-11-23T06:44:37.407Z] ---> Running in 21c364185b06 [2020-11-23T06:44:38.002Z] Removing intermediate container 21c364185b06 [2020-11-23T06:44:38.002Z] ---> c38d6731ae0a [2020-11-23T06:44:38.002Z] Step 7/8 : COPY . . [2020-11-23T06:44:38.988Z] ---> 2b50751effee [2020-11-23T06:44:38.988Z] Step 8/8 : RUN go mod download [2020-11-23T06:44:38.988Z] ---> Running in 0c2b7397b548 [2020-11-23T06:44:54.841Z] Running on prd-centos7-docker-8c-8g-13246 in /w/workspace/xfoundry_device-modbus-go_PR-189 [Pipeline] { [Pipeline] ws [2020-11-23T06:44:54.959Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2020-11-23T06:44:58.194Z] using credential edgex-jenkins-ssh [2020-11-23T06:44:58.256Z] Cloning the remote Git repository [2020-11-23T06:44:58.035Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-11-23T06:44:58.113Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2020-11-23T06:44:58.157Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-11-23T06:44:58.157Z] > git --version # timeout=10 [2020-11-23T06:44:58.172Z] > git --version # 'git version 2.16.5' [2020-11-23T06:44:58.173Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-23T06:44:59.417Z] Merging remotes/origin/master commit 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b into PR head commit d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 [2020-11-23T06:44:59.500Z] Merge succeeded, producing d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 [2020-11-23T06:44:59.501Z] Checking out Revision d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 (PR-189) [2020-11-23T06:44:58.216Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-23T06:44:58.839Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-11-23T06:44:58.848Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-23T06:44:58.864Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-11-23T06:44:58.880Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-11-23T06:44:58.880Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-23T06:44:58.885Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/189/head:refs/remotes/origin/PR-189 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-23T06:44:59.269Z] > git config core.sparsecheckout # timeout=10 [2020-11-23T06:44:59.275Z] > git checkout -f d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 # timeout=10 [2020-11-23T06:44:59.313Z] > git remote # timeout=10 [2020-11-23T06:44:59.320Z] > git config --get remote.origin.url # timeout=10 [2020-11-23T06:44:59.326Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-23T06:44:59.330Z] > git merge 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b # timeout=10 [2020-11-23T06:44:59.342Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-23T06:44:59.353Z] > git config core.sparsecheckout # timeout=10 [2020-11-23T06:44:59.358Z] > git checkout -f d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 # timeout=10 [2020-11-23T06:45:03.241Z] Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" [2020-11-23T06:45:03.276Z] > git --version # timeout=10 [2020-11-23T06:45:03.281Z] > git --version # 'git version 2.16.5' [2020-11-23T06:45:03.296Z] fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-11-23T06:45:04.682Z] ++ find /w/workspace/device-modbus-go/1 [2020-11-23T06:45:04.682Z] ++ grep snapcraft.yaml [2020-11-23T06:45:04.682Z] + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-23T06:45:04.909Z] provisioning config files... [2020-11-23T06:45:04.934Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config2825381722728974045tmp [Pipeline] { [Pipeline] sh [2020-11-23T06:45:05.356Z] + cp /w/workspace/device-modbus-go/1@tmp/config2825381722728974045tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh [2020-11-23T06:45:05.684Z] + 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-23T06:45:05.684Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally [2020-11-23T06:45:05.838Z] Removing intermediate container 0c2b7397b548 [2020-11-23T06:45:05.838Z] ---> b7ce13c323fe [2020-11-23T06:45:05.838Z] Successfully built b7ce13c323fe [2020-11-23T06:45:05.838Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-23T06:45:05.946Z] latest: Pulling from edgex-devops/edgex-snap-builder [2020-11-23T06:45:05.946Z] f08d8e2a3ba1: Pulling fs layer [2020-11-23T06:45:05.946Z] 3baa9cb2483b: Pulling fs layer [2020-11-23T06:45:05.946Z] 94e5ff4c0b15: Pulling fs layer [2020-11-23T06:45:05.946Z] 1860925334f9: Pulling fs layer [2020-11-23T06:45:05.946Z] 2daf38717194: Pulling fs layer [2020-11-23T06:45:05.946Z] 309017e8d7a4: Pulling fs layer [2020-11-23T06:45:05.946Z] f7790dc9fd0f: Pulling fs layer [2020-11-23T06:45:05.946Z] cac0ae9282c2: Pulling fs layer [2020-11-23T06:45:05.946Z] 1f4cadf9a1ed: Pulling fs layer [2020-11-23T06:45:05.946Z] 309017e8d7a4: Waiting [2020-11-23T06:45:05.946Z] f7790dc9fd0f: Waiting [2020-11-23T06:45:05.946Z] cac0ae9282c2: Waiting [2020-11-23T06:45:05.946Z] 1f4cadf9a1ed: Waiting [2020-11-23T06:45:05.946Z] 1860925334f9: Waiting [2020-11-23T06:45:05.946Z] 2daf38717194: Waiting [2020-11-23T06:45:05.946Z] 94e5ff4c0b15: Verifying Checksum [2020-11-23T06:45:05.946Z] 94e5ff4c0b15: Download complete [2020-11-23T06:45:05.947Z] 3baa9cb2483b: Download complete [2020-11-23T06:45:05.947Z] 1860925334f9: Download complete [2020-11-23T06:45:05.947Z] 309017e8d7a4: Verifying Checksum [2020-11-23T06:45:05.947Z] 309017e8d7a4: Download complete [2020-11-23T06:45:05.947Z] f7790dc9fd0f: Verifying Checksum [2020-11-23T06:45:05.947Z] f7790dc9fd0f: Download complete [2020-11-23T06:45:05.947Z] cac0ae9282c2: Verifying Checksum [2020-11-23T06:45:05.947Z] cac0ae9282c2: Download complete [2020-11-23T06:45:05.947Z] 1f4cadf9a1ed: Verifying Checksum [2020-11-23T06:45:05.947Z] 1f4cadf9a1ed: Download complete [2020-11-23T06:45:06.232Z] + docker inspect -f . ci-base-image-arm64 [2020-11-23T06:45:06.232Z] . [Pipeline] withDockerContainer [2020-11-23T06:45:06.522Z] prd-ubuntu18.04-docker-arm64-4c-16g-13243 does not seem to be running inside a container [2020-11-23T06:45:06.625Z] $ 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 ******** ci-base-image-arm64 cat [2020-11-23T06:45:07.892Z] f08d8e2a3ba1: Download complete [2020-11-23T06:45:08.630Z] $ docker top 2d73a8c4cfc8a29e3b4796829909392d6c799676187f8dd55360b9678b58b88b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-23T06:45:09.841Z] f08d8e2a3ba1: Pull complete [2020-11-23T06:45:09.841Z] 3baa9cb2483b: Pull complete [2020-11-23T06:45:09.841Z] 94e5ff4c0b15: Pull complete [2020-11-23T06:45:10.115Z] 1860925334f9: Pull complete [2020-11-23T06:45:10.137Z] + go version [2020-11-23T06:45:10.137Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-23T06:45:10.185Z] $ docker stop --time=1 2d73a8c4cfc8a29e3b4796829909392d6c799676187f8dd55360b9678b58b88b [2020-11-23T06:45:12.172Z] $ docker rm -f 2d73a8c4cfc8a29e3b4796829909392d6c799676187f8dd55360b9678b58b88b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-23T06:45:13.402Z] + docker inspect -f . ci-base-image-arm64 [2020-11-23T06:45:13.403Z] . [2020-11-23T06:45:13.434Z] 2daf38717194: Verifying Checksum [2020-11-23T06:45:13.434Z] 2daf38717194: Download complete [Pipeline] withDockerContainer [2020-11-23T06:45:13.674Z] prd-ubuntu18.04-docker-arm64-4c-16g-13243 does not seem to be running inside a container [2020-11-23T06:45:13.766Z] $ 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 ******** ci-base-image-arm64 cat [2020-11-23T06:45:15.722Z] $ docker top eb19f890c56ef30321d24cd82e63b0a94360d2a4d25af3d0ba60c59b6a33044b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-23T06:45:17.267Z] + make test [2020-11-23T06:45:17.267Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-23T06:45:18.725Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-11-23T06:45:35.471Z] 2daf38717194: Pull complete [2020-11-23T06:45:35.471Z] 309017e8d7a4: Pull complete [2020-11-23T06:45:35.471Z] f7790dc9fd0f: Pull complete [2020-11-23T06:45:35.471Z] cac0ae9282c2: Pull complete [2020-11-23T06:45:35.471Z] 1f4cadf9a1ed: Pull complete [2020-11-23T06:45:35.471Z] Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 [2020-11-23T06:45:35.471Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-11-23T06:45:36.427Z] Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-11-23T06:45:36.427Z] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-11-23T06:45:36.427Z] Get:3 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1365 kB] [2020-11-23T06:45:36.427Z] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] [2020-11-23T06:45:36.427Z] Get:5 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [15.8 kB] [2020-11-23T06:45:36.427Z] Get:6 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1781 kB] [2020-11-23T06:45:36.698Z] Get:7 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [222 kB] [2020-11-23T06:45:36.698Z] Get:8 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] [2020-11-23T06:45:36.986Z] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2208 kB] [2020-11-23T06:45:37.251Z] Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2130 kB] [2020-11-23T06:45:37.514Z] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [54.3 kB] [2020-11-23T06:45:37.514Z] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [252 kB] [2020-11-23T06:45:37.514Z] Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [11.4 kB] [2020-11-23T06:45:37.514Z] Get:14 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [11.3 kB] [2020-11-23T06:45:37.786Z] Fetched 8303 kB in 2s (5467 kB/s) [2020-11-23T06:45:39.179Z] Reading package lists... [2020-11-23T06:45:43.404Z] 0% [Working] Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-11-23T06:45:43.404Z] 0% [Waiting for headers] [1 InRelease 12.6 kB/88.7 kB 14%] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-11-23T06:45:43.404Z] 0% [Waiting for headers] [1 InRelease 12.6 kB/88.7 kB 14%] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] [1 InRelease 12.6 kB/88.7 kB Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [2020-11-23T06:45:43.404Z] 0% [2 InRelease gpgv 242 kB] [1 InRelease 38.3 kB/88.7 kB 43%] 0% [Waiting for headers] [1 InRelease 38.3 kB/88.7 kB 43%] 0% [3 InRelease gpgv 88.7 kB] [Waiting for headers] [1 InRelease 38.3 kB/88.7 k Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [2020-11-23T06:45:43.667Z] 0% [3 InRelease gpgv 88.7 kB] [1 InRelease 46.1 kB/88.7 kB 52%] 0% [3 InRelease gpgv 88.7 kB] 0% [Working] 0% [4 InRelease gpgv 74.6 kB] 0% [Working] 0% [1 InRelease gpgv 88.7 kB] 100% [Working] Fetched 88.7 kB in 1s (120 kB/s) [2020-11-23T06:45:45.039Z] 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... 48% 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-23T06:45:47.338Z] 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-23T06:45:48.705Z] 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... 46% 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-23T06:45:48.969Z] Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 31% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree [2020-11-23T06:45:48.969Z] Reading state information... 0% Reading state information... 0% Reading state information... Done [2020-11-23T06:45:49.232Z] The following packages were automatically installed and are no longer required: [2020-11-23T06:45:49.232Z] libjq1 libonig4 [2020-11-23T06:45:49.232Z] Use 'sudo apt autoremove' to remove them. [2020-11-23T06:45:49.232Z] Suggested packages: [2020-11-23T06:45:49.232Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-11-23T06:45:49.232Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed [2020-11-23T06:45:49.232Z] diffutils-doc perl-doc libterm-readline-gnu-perl [2020-11-23T06:45:49.232Z] | libterm-readline-perl-perl [2020-11-23T06:45:49.493Z] The following NEW packages will be installed: [2020-11-23T06:45:49.493Z] curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 [2020-11-23T06:45:49.493Z] libperl5.26 make netbase patch perl perl-modules-5.26 [2020-11-23T06:45:49.493Z] The following packages will be upgraded: [2020-11-23T06:45:49.493Z] perl-base [2020-11-23T06:45:49.493Z] 1 upgraded, 14 newly installed, 0 to remove and 50 not upgraded. [2020-11-23T06:45:49.493Z] Need to get 13.4 MB of archives. [2020-11-23T06:45:49.493Z] After this operation, 77.5 MB of additional disk space will be used. [2020-11-23T06:45:49.763Z] 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-23T06:45:50.339Z] 0% [1 perl-base 12.6 kB/1391 kB 1%] 4% [1 perl-base 709 kB/1391 kB 51%] 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-23T06:45:50.605Z] 10% [2 perl-modules-5.26 22.9 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-23T06:45:50.605Z] 28% [3 libgdbm5 26.0 kB/26.0 kB 100%] 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-23T06:45:50.605Z] 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-23T06:45:50.605Z] 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-23T06:45:50.605Z] 53% [6 perl 28.7 kB/201 kB 14%] 55% [Waiting for headers] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] [2020-11-23T06:45:50.605Z] 55% [7 less 11.6 kB/112 kB 10%] 57% [Waiting for headers] Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] [2020-11-23T06:45:50.605Z] 57% [8 netbase 12.7 kB/12.7 kB 100%] 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-23T06:45:50.605Z] 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-23T06:45:50.605Z] 61% [10 libcurl3-gnutls 47.3 kB/213 kB 22%] 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-23T06:45:50.605Z] 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-23T06:45:50.605Z] 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-23T06:45:50.869Z] 71% [13 git 59.8 kB/3915 kB 2%] 96% [Waiting for headers] Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] [2020-11-23T06:45:50.869Z] 96% [14 make 65.5 kB/154 kB 43%] 98% [Waiting for headers] Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] [2020-11-23T06:45:50.869Z] 98% [15 patch 53.7 kB/102 kB 53%] 100% [Working] Fetched 13.4 MB in 1s (10.3 MB/s) [2020-11-23T06:45:51.133Z] debconf: delaying package configuration, since apt-utils is not installed [2020-11-23T06:45:51.133Z] (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-23T06:45:51.133Z] Preparing to unpack .../perl-base_5.26.1-6ubuntu0.5_amd64.deb ... [2020-11-23T06:45:51.133Z] Unpacking perl-base (5.26.1-6ubuntu0.5) over (5.26.1-6ubuntu0.3) ... [2020-11-23T06:45:55.345Z] Setting up perl-base (5.26.1-6ubuntu0.5) ... [2020-11-23T06:45:55.345Z] Selecting previously unselected package perl-modules-5.26. [2020-11-23T06:45:55.346Z] (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-23T06:45:55.346Z] Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.5_all.deb ... [2020-11-23T06:45:55.346Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.5) ... [2020-11-23T06:45:55.614Z] Selecting previously unselected package libgdbm5:amd64. [2020-11-23T06:45:55.614Z] Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... [2020-11-23T06:45:55.875Z] Unpacking libgdbm5:amd64 (1.14.1-6) ... [2020-11-23T06:45:55.875Z] Selecting previously unselected package libgdbm-compat4:amd64. [2020-11-23T06:45:55.875Z] Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... [2020-11-23T06:45:55.875Z] Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... [2020-11-23T06:45:55.875Z] Selecting previously unselected package libperl5.26:amd64. [2020-11-23T06:45:55.875Z] Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.5_amd64.deb ... [2020-11-23T06:45:55.875Z] Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... [2020-11-23T06:45:56.447Z] Selecting previously unselected package perl. [2020-11-23T06:45:56.447Z] Preparing to unpack .../04-perl_5.26.1-6ubuntu0.5_amd64.deb ... [2020-11-23T06:45:56.709Z] Unpacking perl (5.26.1-6ubuntu0.5) ... [2020-11-23T06:45:56.709Z] Selecting previously unselected package less. [2020-11-23T06:45:56.709Z] Preparing to unpack .../05-less_487-0.1_amd64.deb ... [2020-11-23T06:45:56.709Z] Unpacking less (487-0.1) ... [2020-11-23T06:45:56.709Z] Selecting previously unselected package netbase. [2020-11-23T06:45:56.709Z] Preparing to unpack .../06-netbase_5.4_all.deb ... [2020-11-23T06:45:56.709Z] Unpacking netbase (5.4) ... [2020-11-23T06:45:56.972Z] Selecting previously unselected package curl. [2020-11-23T06:45:56.972Z] Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... [2020-11-23T06:45:56.972Z] Unpacking curl (7.58.0-2ubuntu3.10) ... [2020-11-23T06:45:56.972Z] Selecting previously unselected package libcurl3-gnutls:amd64. [2020-11-23T06:45:56.972Z] Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... [2020-11-23T06:45:56.972Z] Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-11-23T06:45:56.972Z] Selecting previously unselected package liberror-perl. [2020-11-23T06:45:56.972Z] Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... [2020-11-23T06:45:56.972Z] Unpacking liberror-perl (0.17025-1) ... [2020-11-23T06:45:57.237Z] Selecting previously unselected package git-man. [2020-11-23T06:45:57.237Z] Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-11-23T06:45:57.237Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-11-23T06:45:57.237Z] Selecting previously unselected package git. [2020-11-23T06:45:57.237Z] Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... [2020-11-23T06:45:57.237Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-11-23T06:45:57.804Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-11-23T06:45:57.805Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.386s coverage: 50.3% of statements [2020-11-23T06:45:57.805Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-23T06:45:57.811Z] Selecting previously unselected package make. [2020-11-23T06:45:57.811Z] Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... [2020-11-23T06:45:58.073Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-11-23T06:45:58.074Z] Selecting previously unselected package patch. [2020-11-23T06:45:58.074Z] Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... [2020-11-23T06:45:58.074Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-11-23T06:45:58.074Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-11-23T06:45:58.074Z] Setting up less (487-0.1) ... [2020-11-23T06:45:58.335Z] Setting up make (4.1-9.1ubuntu1) ... [2020-11-23T06:45:58.335Z] Setting up curl (7.58.0-2ubuntu3.10) ... [2020-11-23T06:45:58.335Z] Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-11-23T06:45:58.335Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.5) ... [2020-11-23T06:45:58.335Z] Setting up libgdbm5:amd64 (1.14.1-6) ... [2020-11-23T06:45:58.335Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-11-23T06:45:58.598Z] Setting up libgdbm-compat4:amd64 (1.14.1-6) ... [2020-11-23T06:45:58.598Z] Setting up netbase (5.4) ... [2020-11-23T06:45:58.598Z] Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... [2020-11-23T06:45:58.598Z] Setting up perl (5.26.1-6ubuntu0.5) ... [2020-11-23T06:45:58.598Z] Setting up liberror-perl (0.17025-1) ... [2020-11-23T06:45:58.598Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-11-23T06:45:58.598Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-11-23T06:45:58.861Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-11-23T06:46:00.786Z] curl set to automatically installed. [2020-11-23T06:46:00.786Z] git set to automatically installed. [2020-11-23T06:46:00.786Z] git-man set to automatically installed. [2020-11-23T06:46:00.786Z] less set to automatically installed. [2020-11-23T06:46:00.786Z] libcurl3-gnutls set to automatically installed. [2020-11-23T06:46:00.786Z] liberror-perl set to automatically installed. [2020-11-23T06:46:00.786Z] libgdbm-compat4 set to automatically installed. [2020-11-23T06:46:00.786Z] libgdbm5 set to automatically installed. [2020-11-23T06:46:00.786Z] libperl5.26 set to automatically installed. [2020-11-23T06:46:00.786Z] make set to automatically installed. [2020-11-23T06:46:00.786Z] netbase set to automatically installed. [2020-11-23T06:46:00.786Z] patch set to automatically installed. [2020-11-23T06:46:00.786Z] perl set to automatically installed. [2020-11-23T06:46:00.786Z] perl-base set to automatically installed. [2020-11-23T06:46:00.787Z] perl-modules-5.26 set to automatically installed. [2020-11-23T06:46:00.787Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-11-23T06:46:00.787Z] Please ensure the environment is properly setup before continuing. [2020-11-23T06:46:00.787Z] Ignore this message if the appropriate measures have already been taken [2020-11-23T06:46:01.366Z] Pulling go  [2020-11-23T06:46:02.773Z] 'device-modbus' has dependencies that need to be staged: go [2020-11-23T06:46:02.773Z] Skipping pull go (already ran) [2020-11-23T06:46:02.773Z] Building go  [2020-11-23T06:46:02.773Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-23T06:46:02.773Z] Dload Upload Total Spent Left Speed [2020-11-23T06:46:04.750Z] gofmt -l . [2020-11-23T06:46:04.750Z] [ "`gofmt -l .`" = "" ] [2020-11-23T06:46:04.750Z] ./bin/test-attribution-txt.sh [2020-11-23T06:46:05.002Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 5 115M 5 6511k 0 0 17.9M 0 0:00:06 --:--:-- 0:00:06 17.8M 49 115M 49 57.2M 0 0 41.6M 0 0:00:02 0:00:01 0:00:01 41.6M 89 115M 89 103M 0 0 44.0M 0 0:00:02 0:00:02 --:--:-- 44.0M 100 115M 100 115M 0 0 44.7M 0 0:00:02 0:00:02 --:--:-- 44.7M [2020-11-23T06:46:05.027Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-23T06:46:05.660Z] $ docker stop --time=1 eb19f890c56ef30321d24cd82e63b0a94360d2a4d25af3d0ba60c59b6a33044b [2020-11-23T06:46:05.957Z] go1.15.2.linux-amd64.tar.gz: OK [2020-11-23T06:46:08.013Z] $ docker rm -f eb19f890c56ef30321d24cd82e63b0a94360d2a4d25af3d0ba60c59b6a33044b [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-23T06:46:09.068Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-23T06:46:09.108Z] Warning: overwriting stash ‘coverage-report’ [2020-11-23T06:46:09.945Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-23T06:46:11.061Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-23T06:46:11.437Z] + ls -al . [2020-11-23T06:46:11.438Z] total 136 [2020-11-23T06:46:11.438Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 23 06:46 . [2020-11-23T06:46:11.438Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 23 06:43 .. [2020-11-23T06:46:11.438Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 23 06:43 .dockerignore [2020-11-23T06:46:11.438Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 23 06:43 .git [2020-11-23T06:46:11.438Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 23 06:43 .github [2020-11-23T06:46:11.438Z] -rw-rw-r-- 1 jenkins jenkins 338 Nov 23 06:43 .gitignore [2020-11-23T06:46:11.438Z] -rw-rw-r-- 1 jenkins jenkins 5589 Nov 23 06:43 Attribution.txt [2020-11-23T06:46:11.438Z] -rw-rw-r-- 1 jenkins jenkins 1430 Nov 23 06:43 Dockerfile [2020-11-23T06:46:11.438Z] -rw-rw-r-- 1 jenkins jenkins 954 Nov 23 06:43 Dockerfile.build [2020-11-23T06:46:11.438Z] -rw-rw-r-- 1 jenkins jenkins 679 Nov 23 06:43 Jenkinsfile [2020-11-23T06:46:11.438Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 23 06:43 LICENSE [2020-11-23T06:46:11.438Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 23 06:43 Makefile [2020-11-23T06:46:11.438Z] -rw-rw-r-- 1 jenkins jenkins 591 Nov 23 06:43 README.md [2020-11-23T06:46:11.438Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 23 06:40 VERSION [2020-11-23T06:46:11.438Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 23 06:43 bin [2020-11-23T06:46:11.438Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 23 06:43 cmd [2020-11-23T06:46:11.438Z] -rw-r--r-- 1 jenkins jenkins 22364 Nov 23 06:45 coverage.out [2020-11-23T06:46:11.438Z] -rw-r--r-- 1 jenkins jenkins 517 Nov 23 06:46 go.mod [2020-11-23T06:46:11.438Z] -rw-r--r-- 1 jenkins jenkins 14753 Nov 23 06:46 go.sum [2020-11-23T06:46:11.438Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 23 06:43 internal [2020-11-23T06:46:11.438Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 23 06:43 simulator [2020-11-23T06:46:11.438Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 23 06:43 snap [2020-11-23T06:46:11.438Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 23 06:43 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-23T06:46:11.840Z] + 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=d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 --label arch=arm64 --label version=0.0.0 . [2020-11-23T06:46:12.442Z] Sending build context to Docker daemon 539.6kB [2020-11-23T06:46:12.442Z] Step 1/20 : ARG BASE=golang:1.15-alpine [2020-11-23T06:46:12.442Z] Step 2/20 : FROM ${BASE} AS builder [2020-11-23T06:46:12.442Z] ---> b7ce13c323fe [2020-11-23T06:46:12.442Z] Step 3/20 : ARG MAKE='make build' [2020-11-23T06:46:12.722Z] ---> Running in bf138b9a7617 [2020-11-23T06:46:13.322Z] Removing intermediate container bf138b9a7617 [2020-11-23T06:46:13.322Z] ---> 966c076dc459 [2020-11-23T06:46:13.322Z] Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-23T06:46:13.323Z] ---> Running in d0e0867384ee [2020-11-23T06:46:14.126Z] Staging go  [2020-11-23T06:46:14.126Z] Pulling device-modbus  [2020-11-23T06:46:15.076Z] Skipping build go (already ran) [2020-11-23T06:46:15.076Z] Building device-modbus  [2020-11-23T06:46:15.076Z] 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-23T06:46:15.968Z] Removing intermediate container d0e0867384ee [2020-11-23T06:46:15.968Z] ---> 614698fcb220 [2020-11-23T06:46:15.968Z] Step 5/20 : RUN apk add --update --no-cache make git openssh build-base [2020-11-23T06:46:16.033Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.3.0 [2020-11-23T06:46:16.033Z] go: downloading github.com/goburrow/modbus v0.1.0 [2020-11-23T06:46:16.033Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.115 [2020-11-23T06:46:16.033Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-11-23T06:46:16.033Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-11-23T06:46:16.033Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.57 [2020-11-23T06:46:16.033Z] go: downloading github.com/google/uuid v1.1.2 [2020-11-23T06:46:16.033Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-11-23T06:46:16.033Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.26 [2020-11-23T06:46:16.033Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2020-11-23T06:46:16.242Z] ---> Running in 798b9b6501f5 [2020-11-23T06:46:16.300Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2020-11-23T06:46:16.300Z] go: downloading github.com/pkg/errors v0.8.1 [2020-11-23T06:46:16.300Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-11-23T06:46:16.300Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.26 [2020-11-23T06:46:16.300Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.8 [2020-11-23T06:46:16.300Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2020-11-23T06:46:16.300Z] go: downloading github.com/go-playground/validator/v10 v10.3.0 [2020-11-23T06:46:16.300Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-11-23T06:46:16.300Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-11-23T06:46:16.300Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-11-23T06:46:16.300Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-11-23T06:46:16.300Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-11-23T06:46:16.300Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-11-23T06:46:16.300Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-11-23T06:46:16.300Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-11-23T06:46:16.300Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2020-11-23T06:46:16.300Z] go: downloading github.com/leodido/go-urn v1.2.0 [2020-11-23T06:46:16.300Z] go: downloading github.com/x448/float16 v0.8.4 [2020-11-23T06:46:16.300Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-11-23T06:46:16.300Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-11-23T06:46:16.300Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-11-23T06:46:16.300Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-11-23T06:46:16.300Z] go: downloading github.com/go-playground/locales v0.13.0 [2020-11-23T06:46:16.568Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-11-23T06:46:16.568Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-11-23T06:46:16.568Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2020-11-23T06:46:18.235Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-23T06:46:18.836Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-23T06:46:19.820Z] OK: 221 MiB in 53 packages [2020-11-23T06:46:20.852Z] Removing intermediate container 798b9b6501f5 [2020-11-23T06:46:20.852Z] ---> 674ccd0c91cf [2020-11-23T06:46:20.852Z] Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-11-23T06:46:21.130Z] ---> Running in 68b09f2e9186 [2020-11-23T06:46:21.729Z] Removing intermediate container 68b09f2e9186 [2020-11-23T06:46:21.729Z] ---> 164a6d4df130 [2020-11-23T06:46:21.729Z] Step 7/20 : COPY . . [2020-11-23T06:46:22.715Z] ---> 83ed96025d9d [2020-11-23T06:46:22.715Z] Step 8/20 : RUN ${MAKE} [2020-11-23T06:46:22.994Z] ---> Running in 7d84ad178a78 [2020-11-23T06:46:24.783Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-23T06:46:25.001Z] 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-23T06:46:28.094Z] Skipping stage go (already ran) [2020-11-23T06:46:28.094Z] Staging device-modbus  [2020-11-23T06:46:28.666Z] Priming go  [2020-11-23T06:46:29.618Z] Priming device-modbus  [2020-11-23T06:46:30.567Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-11-23T06:46:30.567Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-11-23T06:46:30.567Z] Determining the version from the project repo (version-script). [2020-11-23T06:46:30.567Z] The version has been set to 'local-dev-20201123+d094e2e' [2020-11-23T06:46:31.433Z] Snapping | Snapping / Snapping - Snapping \ Snapping | [2020-11-23T06:46:31.433Z] Snapped edgex-device-modbus_local-dev-20201123+d094e2e_amd64.snap [Pipeline] } [2020-11-23T06:46:34.008Z] 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] } [2020-11-23T06:46:51.824Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-23T06:47:00.122Z] Removing intermediate container 7d84ad178a78 [2020-11-23T06:47:00.122Z] ---> 316e46138f4b [2020-11-23T06:47:00.122Z] Step 9/20 : FROM scratch [2020-11-23T06:47:00.122Z] ---> [2020-11-23T06:47:00.122Z] Step 10/20 : ENV APP_PORT=49991 [2020-11-23T06:47:00.122Z] ---> Running in 542ed8596a76 [2020-11-23T06:47:00.122Z] Removing intermediate container 542ed8596a76 [2020-11-23T06:47:00.122Z] ---> 0c4822ebe92c [2020-11-23T06:47:00.122Z] Step 11/20 : EXPOSE $APP_PORT [2020-11-23T06:47:00.122Z] ---> Running in 579c3f49b21a [2020-11-23T06:47:00.717Z] Removing intermediate container 579c3f49b21a [2020-11-23T06:47:00.717Z] ---> dd07c4b45dd3 [2020-11-23T06:47:00.717Z] Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-11-23T06:47:01.699Z] ---> a2085bca2f65 [2020-11-23T06:47:01.699Z] Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-11-23T06:47:02.298Z] ---> bea877429886 [2020-11-23T06:47:02.298Z] Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-11-23T06:47:03.288Z] ---> 67ec0e82cfa8 [2020-11-23T06:47:03.288Z] Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-11-23T06:47:03.288Z] ---> Running in c2bfcaef77e3 [2020-11-23T06:47:03.564Z] Removing intermediate container c2bfcaef77e3 [2020-11-23T06:47:03.564Z] ---> ac305873442f [2020-11-23T06:47:03.564Z] Step 16/20 : ENTRYPOINT ["/device-modbus"] [2020-11-23T06:47:03.840Z] ---> Running in ba3fb07ea1e8 [2020-11-23T06:47:04.434Z] Removing intermediate container ba3fb07ea1e8 [2020-11-23T06:47:04.434Z] ---> cae1798ffd6a [2020-11-23T06:47:04.434Z] Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-23T06:47:04.434Z] ---> Running in 1113ed55ef38 [2020-11-23T06:47:04.707Z] Removing intermediate container 1113ed55ef38 [2020-11-23T06:47:04.707Z] ---> b69ad0378798 [2020-11-23T06:47:04.707Z] Step 18/20 : LABEL arch=arm64 [2020-11-23T06:47:04.978Z] ---> Running in 40473ce1f89e [2020-11-23T06:47:05.581Z] Removing intermediate container 40473ce1f89e [2020-11-23T06:47:05.581Z] ---> f49af23698cc [2020-11-23T06:47:05.581Z] Step 19/20 : LABEL git_sha=d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 [2020-11-23T06:47:05.581Z] ---> Running in 5bbfd012e045 [2020-11-23T06:47:06.171Z] Removing intermediate container 5bbfd012e045 [2020-11-23T06:47:06.171Z] ---> d8487aaa072e [2020-11-23T06:47:06.171Z] Step 20/20 : LABEL version=0.0.0 [2020-11-23T06:47:06.171Z] ---> Running in 29502ded888f [2020-11-23T06:47:06.764Z] Removing intermediate container 29502ded888f [2020-11-23T06:47:06.764Z] ---> 3d72ea273e51 [2020-11-23T06:47:06.764Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-23T06:47:06.764Z] Successfully built 3d72ea273e51 [2020-11-23T06:47:06.764Z] 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-11-23T06:47:09.337Z] provisioning config files... [2020-11-23T06:47:09.349Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-189@tmp/config8317610864894116817tmp [Pipeline] { [Pipeline] sh [2020-11-23T06:47:09.799Z] + set +x [2020-11-23T06:47:09.799Z] + curl -s https://codecov.io/bash [2020-11-23T06:47:09.799Z] + bash -s -- [2020-11-23T06:47:10.067Z] [2020-11-23T06:47:10.067Z] _____ _ [2020-11-23T06:47:10.067Z] / ____| | | [2020-11-23T06:47:10.067Z] | | ___ __| | ___ ___ _____ __ [2020-11-23T06:47:10.067Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-23T06:47:10.067Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-23T06:47:10.067Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-23T06:47:10.067Z] Bash-20201123-d0fed5f [2020-11-23T06:47:10.067Z] [2020-11-23T06:47:10.067Z] [2020-11-23T06:47:10.067Z] ==> Jenkins CI detected. [2020-11-23T06:47:10.067Z] project root: . [2020-11-23T06:47:10.067Z] --> token set from env [2020-11-23T06:47:10.067Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-23T06:47:10.067Z] ==> Running gcov in . (disable via -X gcov) [2020-11-23T06:47:10.067Z] ==> Python coveragepy not found [2020-11-23T06:47:10.067Z] ==> Searching for coverage reports in: [2020-11-23T06:47:10.067Z] + . [2020-11-23T06:47:10.067Z] -> Found 1 reports [2020-11-23T06:47:10.067Z] ==> Detecting git/mercurial file structure [2020-11-23T06:47:10.067Z] ==> Reading reports [2020-11-23T06:47:10.067Z] + ./coverage.out bytes=22364 [2020-11-23T06:47:10.067Z] ==> Appending adjustments [2020-11-23T06:47:10.067Z] https://docs.codecov.io/docs/fixing-reports [2020-11-23T06:47:10.067Z] + Found adjustments [2020-11-23T06:47:10.067Z] ==> Gzipping contents [2020-11-23T06:47:10.067Z] ==> Uploading reports [2020-11-23T06:47:10.067Z] url: https://codecov.io [2020-11-23T06:47:10.067Z] query: branch=PR-189&commit=d094e2e09fbacf0a1efb1ad068d604fcbb11ce00&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-189%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=189&job=&cmd_args= [2020-11-23T06:47:10.067Z] -> Pinging Codecov [2020-11-23T06:47:10.067Z] https://codecov.io/upload/v4?package=bash-20201123-d0fed5f&token=secret&branch=PR-189&commit=d094e2e09fbacf0a1efb1ad068d604fcbb11ce00&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-189%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=189&job=&cmd_args= [2020-11-23T06:47:11.022Z] -> Uploading to [2020-11-23T06:47:11.022Z] https://storage.googleapis.com/codecov/v4/raw/2020-11-23/55DBCA73C666E3227836607328DD7E49/d094e2e09fbacf0a1efb1ad068d604fcbb11ce00/153ecc0a-db9b-4473-b4c1-8d2a95be94ba.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201123%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201123T064710Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=de0023564e7ca068151609aa1ba85a01eca8f1ccc39219ad10ba36b5e1e38761 [2020-11-23T06:47:11.022Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-23T06:47:11.022Z] Dload Upload Total Spent Left Speed [2020-11-23T06:47:11.022Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4158 0 0 100 4158 0 11361 --:--:-- --:--:-- --:--:-- 11360 100 4158 0 0 100 4158 0 11354 --:--:-- --:--:-- --:--:-- 11329 [2020-11-23T06:47:11.284Z] -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 [Pipeline] } [2020-11-23T06:47:11.313Z] 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-23T06:47:15.531Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-23T06:47:16.142Z] ---> package-listing.sh [2020-11-23T06:47:16.142Z] ++ facter osfamily [2020-11-23T06:47:16.142Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-23T06:47:16.142Z] + OS_FAMILY=redhat [2020-11-23T06:47:16.142Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-189 [2020-11-23T06:47:16.142Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-23T06:47:16.142Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-23T06:47:16.142Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-23T06:47:16.142Z] + PACKAGES=/tmp/packages_start.txt [2020-11-23T06:47:16.142Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-189 ']' [2020-11-23T06:47:16.142Z] + PACKAGES=/tmp/packages_end.txt [2020-11-23T06:47:16.142Z] + case "${OS_FAMILY}" in [2020-11-23T06:47:16.142Z] + rpm -qa [2020-11-23T06:47:16.142Z] + sort [2020-11-23T06:47:20.383Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-23T06:47:20.383Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-23T06:47:20.383Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-23T06:47:20.383Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-189 ']' [2020-11-23T06:47:20.383Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-189/archives/ [2020-11-23T06:47:20.383Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-189/archives/ [Pipeline] echo [2020-11-23T06:47:20.416Z] 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-189/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-11-23T06:47:20.729Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-23T06:47:21.074Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-23T06:47:21.074Z] [2020-11-23T06:47:21.074Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-23T06:47:21.488Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-23T06:47:21.489Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-23T06:47:21.489Z] df20fa9351a1: Pulling fs layer [2020-11-23T06:47:21.489Z] 36b3adc4ff6f: Pulling fs layer [2020-11-23T06:47:21.489Z] 8ad3a11d3b57: Pulling fs layer [2020-11-23T06:47:21.489Z] 46f8f816bc3b: Pulling fs layer [2020-11-23T06:47:21.489Z] 93b61091891f: Pulling fs layer [2020-11-23T06:47:21.489Z] 93b9cdb0e59b: Pulling fs layer [2020-11-23T06:47:21.489Z] 5e14af77c1be: Pulling fs layer [2020-11-23T06:47:21.489Z] 01666e4c0597: Pulling fs layer [2020-11-23T06:47:21.489Z] aa168da1d23b: Pulling fs layer [2020-11-23T06:47:21.489Z] 46f8f816bc3b: Waiting [2020-11-23T06:47:21.489Z] 93b61091891f: Waiting [2020-11-23T06:47:21.489Z] 93b9cdb0e59b: Waiting [2020-11-23T06:47:21.489Z] 5e14af77c1be: Waiting [2020-11-23T06:47:21.489Z] aa168da1d23b: Waiting [2020-11-23T06:47:21.489Z] 01666e4c0597: Waiting [2020-11-23T06:47:21.489Z] 36b3adc4ff6f: Download complete [2020-11-23T06:47:21.489Z] 46f8f816bc3b: Verifying Checksum [2020-11-23T06:47:21.489Z] 46f8f816bc3b: Download complete [2020-11-23T06:47:21.752Z] df20fa9351a1: Verifying Checksum [2020-11-23T06:47:21.752Z] df20fa9351a1: Download complete [2020-11-23T06:47:21.752Z] 93b61091891f: Verifying Checksum [2020-11-23T06:47:21.752Z] 93b61091891f: Download complete [2020-11-23T06:47:21.752Z] 93b9cdb0e59b: Verifying Checksum [2020-11-23T06:47:21.752Z] 93b9cdb0e59b: Download complete [2020-11-23T06:47:21.752Z] 5e14af77c1be: Verifying Checksum [2020-11-23T06:47:21.752Z] 5e14af77c1be: Download complete [2020-11-23T06:47:21.752Z] 01666e4c0597: Verifying Checksum [2020-11-23T06:47:21.752Z] 01666e4c0597: Download complete [2020-11-23T06:47:22.015Z] df20fa9351a1: Pull complete [2020-11-23T06:47:22.279Z] 36b3adc4ff6f: Pull complete [2020-11-23T06:47:22.279Z] 8ad3a11d3b57: Verifying Checksum [2020-11-23T06:47:22.279Z] 8ad3a11d3b57: Download complete [2020-11-23T06:47:22.862Z] 8ad3a11d3b57: Pull complete [2020-11-23T06:47:23.125Z] 46f8f816bc3b: Pull complete [2020-11-23T06:47:23.397Z] 93b61091891f: Pull complete [2020-11-23T06:47:23.397Z] 93b9cdb0e59b: Pull complete [2020-11-23T06:47:23.979Z] 5e14af77c1be: Pull complete [2020-11-23T06:47:24.242Z] 01666e4c0597: Pull complete [2020-11-23T06:47:24.507Z] aa168da1d23b: Verifying Checksum [2020-11-23T06:47:24.507Z] aa168da1d23b: Download complete [2020-11-23T06:47:31.133Z] aa168da1d23b: Pull complete [2020-11-23T06:47:31.133Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-23T06:47:31.133Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-23T06:47:31.133Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-23T06:47:31.292Z] prd-centos7-docker-4c-2g-13229 does not seem to be running inside a container [2020-11-23T06:47:31.347Z] $ 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-189/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-189 -v /w/workspace/xfoundry_device-modbus-go_PR-189:/w/workspace/xfoundry_device-modbus-go_PR-189:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-189@tmp:/w/workspace/xfoundry_device-modbus-go_PR-189@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-23T06:47:33.950Z] $ docker top 140dfc20753b5708fb6e3c16e69957c5a278cf1d4ad7a6c447c6184d5fd7d8f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-23T06:47:34.689Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-23T06:47:35.061Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-23T06:47:35.393Z] + ls /var/log/sa-host [2020-11-23T06:47:35.393Z] + sadf -c /var/log/sa-host/sa05 [2020-11-23T06:47:35.393Z] file_magic: OK [2020-11-23T06:47:35.393Z] HZ: Using current value: 100 [2020-11-23T06:47:35.393Z] file_header: OK [2020-11-23T06:47:35.393Z] 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-23T06:47:35.393Z] Statistics: [2020-11-23T06:47:35.393Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-23T06:47:35.393Z] File successfully converted to sysstat format version 12.2.1 [2020-11-23T06:47:35.393Z] + sadf -c /var/log/sa-host/sa23 [2020-11-23T06:47:35.393Z] file_magic: OK [2020-11-23T06:47:35.393Z] HZ: Using current value: 100 [2020-11-23T06:47:35.393Z] file_header: OK [2020-11-23T06:47:35.393Z] 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-23T06:47:35.393Z] Statistics: [2020-11-23T06:47:35.393Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-23T06:47:35.393Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-23T06:47:35.670Z] provisioning config files... [2020-11-23T06:47:35.692Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-189@tmp/config7753190166302484955tmp [Pipeline] { [Pipeline] echo [2020-11-23T06:47:35.818Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-23T06:47:36.185Z] ---> create-netrc.sh [Pipeline] } [2020-11-23T06:47:36.210Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-23T06:47:36.352Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-23T06:47:36.691Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-23T06:47:36.728Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-23T06:47:37.069Z] ---> sudo-logs.sh [2020-11-23T06:47:37.069Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-23T06:47:37.103Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-23T06:47:37.437Z] ---> job-cost.sh [2020-11-23T06:47:37.437Z] lf-activate-venv: SKIPPING [2020-11-23T06:47:37.437Z] INFO: No Stack... [2020-11-23T06:47:38.383Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-23T06:47:38.956Z] INFO: Archiving Costs [Pipeline] echo [2020-11-23T06:47:38.997Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-23T06:47:39.343Z] ---> logs-deploy.sh [2020-11-23T06:47:39.343Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-189/1 [2020-11-23T06:47:39.343Z] INFO: archiving workspace using pattern(s): [2020-11-23T06:47:41.269Z] Archives upload complete. [2020-11-23T06:47:41.269Z] INFO: archiving logs to Nexus