Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of wlgardner for edgexfoundry/device-modbus-go Loading trusted files from base branch master at 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b rather than 205d20470621f6877b30549a0d87a32e67fc54e2 Obtained Jenkinsfile from 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4d45bb06fbd349d05c83df7b0a7176550fae40e6 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4d45bb06fbd349d05c83df7b0a7176550fae40e6 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4d45bb06fbd349d05c83df7b0a7176550fae40e6 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4d45bb06fbd349d05c83df7b0a7176550fae40e6 # timeout=10 Commit message: "Merge pull request #295 from ernestojeda/always-docker-auth" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 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 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-12337 in /w/workspace/xfoundry_device-modbus-go_PR-171 [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-171 # 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 Merging remotes/origin/master commit 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b into PR head commit 205d20470621f6877b30549a0d87a32e67fc54e2 Merge succeeded, producing ebbbc342099c755ff21ad89751df984796fe4300 Checking out Revision ebbbc342099c755ff21ad89751df984796fe4300 (PR-171) > 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/171/head:refs/remotes/origin/PR-171 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 205d20470621f6877b30549a0d87a32e67fc54e2 # 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 ebbbc342099c755ff21ad89751df984796fe4300 # timeout=10 Commit message: "Merge commit '8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b' into HEAD" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 74a5d08c6892181a452d79a3ab0b11b18104ed47 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-17T00:55:30.190Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-17T00:55:30.510Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-17T00:55:30.632Z] ========================================================= [2020-11-17T00:55:30.632Z] EdgeX Global Pipelines Version Info [2020-11-17T00:55:30.632Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-17T00:55:32.100Z] ------------------- [2020-11-17T00:55:32.100Z] stable info: [2020-11-17T00:55:32.100Z] ------------------- [2020-11-17T00:55:32.100Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-17T00:55:32.100Z] Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [2020-11-17T00:55:32.100Z] Message: update stable to v1.0.162 [2020-11-17T00:55:33.046Z] ------------------- [2020-11-17T00:55:33.046Z] experimental info: [2020-11-17T00:55:33.046Z] ------------------- [2020-11-17T00:55:33.046Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-17T00:55:33.046Z] Commit SHA: 6f2ee81cce8ce978e0d8ebd6865d4103bdd6920b [2020-11-17T00:55:33.047Z] Message: update experimental to v1.0.164 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-17T00:55:33.482Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2020-11-17T00:55:33.606Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2020-11-17T00:55:33.720Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-17T00:55:33.826Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-17T00:55:33.946Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-17T00:55:34.049Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-17T00:55:34.152Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-17T00:55:34.284Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-17T00:55:34.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-17T00:55:34.489Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-17T00:55:34.606Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-17T00:55:34.703Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo [2020-11-17T00:55:34.858Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-17T00:55:34.957Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-17T00:55:35.053Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-17T00:55:35.154Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-11-17T00:55:35.258Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-17T00:55:35.371Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-17T00:55:35.490Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-17T00:55:35.596Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-11-17T00:55:35.689Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-11-17T00:55:35.783Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-11-17T00:55:35.878Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-17T00:55:35.980Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-17T00:55:36.091Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-17T00:55:36.189Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-11-17T00:55:36.283Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-171 [Pipeline] echo [2020-11-17T00:55:36.371Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-171 [Pipeline] echo [2020-11-17T00:55:36.468Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-171 [Pipeline] echo [2020-11-17T00:55:36.587Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ebbbc342099c755ff21ad89751df984796fe4300 [Pipeline] echo [2020-11-17T00:55:36.679Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ebbbc34 [Pipeline] echo [2020-11-17T00:55:36.785Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-17T00:55:37.016Z] provisioning config files... [2020-11-17T00:55:37.052Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/config2141181753961839889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-17T00:55:37.409Z] ---> docker-login.sh [2020-11-17T00:55:37.409Z] nexus3.edgexfoundry.org:10001 [2020-11-17T00:55:38.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T00:55:39.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T00:55:39.070Z] Configure a credential helper to remove this warning. See [2020-11-17T00:55:39.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T00:55:39.070Z] [2020-11-17T00:55:39.070Z] Login Succeeded [2020-11-17T00:55:39.070Z] nexus3.edgexfoundry.org:10002 [2020-11-17T00:55:39.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T00:55:39.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T00:55:39.335Z] Configure a credential helper to remove this warning. See [2020-11-17T00:55:39.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T00:55:39.335Z] [2020-11-17T00:55:39.335Z] Login Succeeded [2020-11-17T00:55:39.335Z] nexus3.edgexfoundry.org:10003 [2020-11-17T00:55:39.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T00:55:39.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T00:55:39.601Z] Configure a credential helper to remove this warning. See [2020-11-17T00:55:39.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T00:55:39.601Z] [2020-11-17T00:55:39.601Z] Login Succeeded [2020-11-17T00:55:39.601Z] nexus3.edgexfoundry.org:10004 [2020-11-17T00:55:39.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T00:55:39.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T00:55:39.601Z] Configure a credential helper to remove this warning. See [2020-11-17T00:55:39.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T00:55:39.601Z] [2020-11-17T00:55:39.601Z] Login Succeeded [2020-11-17T00:55:39.601Z] docker.io [2020-11-17T00:55:39.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T00:55:40.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T00:55:40.128Z] Configure a credential helper to remove this warning. See [2020-11-17T00:55:40.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T00:55:40.128Z] [2020-11-17T00:55:40.128Z] Login Succeeded [2020-11-17T00:55:40.128Z] ---> docker-login.sh ends [Pipeline] } [2020-11-17T00:55:40.139Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-17T00:55:41.012Z] + git log --format=format:%s -1 ebbbc342099c755ff21ad89751df984796fe4300 [Pipeline] echo [2020-11-17T00:55:41.085Z] GIT_COMMIT: ebbbc342099c755ff21ad89751df984796fe4300, Commit Message: Merge commit '8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b' into HEAD [Pipeline] echo [2020-11-17T00:55:41.140Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-17T00:55:42.556Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-17T00:55:42.556Z] [2020-11-17T00:55:42.556Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-17T00:55:42.965Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-17T00:55:42.965Z] latest: Pulling from edgex-devops/git-semver [2020-11-17T00:55:42.965Z] 31603596830f: Pulling fs layer [2020-11-17T00:55:42.965Z] 2a8b12db71e7: Pulling fs layer [2020-11-17T00:55:42.965Z] 6ca5941a6612: Pulling fs layer [2020-11-17T00:55:42.965Z] ecc8261a40a4: Pulling fs layer [2020-11-17T00:55:42.965Z] ecc8261a40a4: Waiting [2020-11-17T00:55:42.965Z] 2a8b12db71e7: Download complete [2020-11-17T00:55:42.965Z] 31603596830f: Verifying Checksum [2020-11-17T00:55:42.965Z] 31603596830f: Download complete [2020-11-17T00:55:43.230Z] ecc8261a40a4: Verifying Checksum [2020-11-17T00:55:43.230Z] ecc8261a40a4: Download complete [2020-11-17T00:55:43.230Z] 6ca5941a6612: Verifying Checksum [2020-11-17T00:55:43.493Z] 31603596830f: Pull complete [2020-11-17T00:55:43.493Z] 2a8b12db71e7: Pull complete [2020-11-17T00:55:44.446Z] 6ca5941a6612: Pull complete [2020-11-17T00:55:44.446Z] ecc8261a40a4: Pull complete [2020-11-17T00:55:44.446Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-17T00:55:44.708Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-17T00:55:44.709Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-17T00:55:44.818Z] prd-centos7-docker-4c-2g-12337 does not seem to be running inside a container [2020-11-17T00:55:44.869Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-171 -v /w/workspace/xfoundry_device-modbus-go_PR-171:/w/workspace/xfoundry_device-modbus-go_PR-171:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-171@tmp:/w/workspace/xfoundry_device-modbus-go_PR-171@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-17T00:55:47.045Z] $ docker top 952a476f38a14cefbb6be8a14842b8f4a0b63fd9522ec6a8f7274505d5eb456c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-17T00:55:47.403Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-17T00:55:47.404Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-17T00:55:47.614Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-17T00:55:47.619Z] $ docker exec 952a476f38a14cefbb6be8a14842b8f4a0b63fd9522ec6a8f7274505d5eb456c ssh-agent [2020-11-17T00:55:47.782Z] SSH_AUTH_SOCK=/tmp/ssh-bJMtoFx85j7k/agent.11 [2020-11-17T00:55:47.782Z] SSH_AGENT_PID=16 [2020-11-17T00:55:47.794Z] Running ssh-add (command line suppressed) [2020-11-17T00:55:47.914Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_1901315279906791391.key (/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_1901315279906791391.key) [2020-11-17T00:55:47.963Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-17T00:55:48.300Z] + git tag --points-at HEAD [Pipeline] } [2020-11-17T00:55:48.323Z] $ docker exec --env ******** --env ******** 952a476f38a14cefbb6be8a14842b8f4a0b63fd9522ec6a8f7274505d5eb456c ssh-agent -k [2020-11-17T00:55:48.433Z] unset SSH_AUTH_SOCK; [2020-11-17T00:55:48.433Z] unset SSH_AGENT_PID; [2020-11-17T00:55:48.433Z] echo Agent pid 16 killed; [2020-11-17T00:55:48.474Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-17T00:55:48.640Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-17T00:55:48.640Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-17T00:55:48.815Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-17T00:55:48.820Z] $ docker exec 952a476f38a14cefbb6be8a14842b8f4a0b63fd9522ec6a8f7274505d5eb456c ssh-agent [2020-11-17T00:55:48.980Z] SSH_AUTH_SOCK=/tmp/ssh-R7jqiJPwXqJe/agent.44 [2020-11-17T00:55:48.980Z] SSH_AGENT_PID=50 [2020-11-17T00:55:48.986Z] Running ssh-add (command line suppressed) [2020-11-17T00:55:49.107Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_4616131079059448702.key (/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_4616131079059448702.key) [2020-11-17T00:55:49.154Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-17T00:55:49.507Z] + git semver init [2020-11-17T00:55:49.507Z] # -> Open(): unable to determine branch for HEAD [2020-11-17T00:55:49.507Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-171/.git [2020-11-17T00:55:49.507Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-171 [2020-11-17T00:55:49.507Z] # $SEMVER_REMOTE_NAME = origin [2020-11-17T00:55:49.507Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-17T00:55:49.507Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-17T00:55:49.507Z] # $SEMVER_BRANCH = PR-171 [2020-11-17T00:55:49.507Z] # $SEMVER_TEMP = /tmp/semver-128559579 [2020-11-17T00:55:49.507Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-11-17T00:55:50.512Z] # '/tmp/semver-128559579' -> '/w/workspace/xfoundry_device-modbus-go_PR-171/.semver' [2020-11-17T00:55:50.512Z] # -> Force: false [2020-11-17T00:55:50.512Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-171/.semver [Pipeline] } [2020-11-17T00:55:50.528Z] $ docker exec --env ******** --env ******** 952a476f38a14cefbb6be8a14842b8f4a0b63fd9522ec6a8f7274505d5eb456c ssh-agent -k [2020-11-17T00:55:50.638Z] unset SSH_AUTH_SOCK; [2020-11-17T00:55:50.639Z] unset SSH_AGENT_PID; [2020-11-17T00:55:50.639Z] echo Agent pid 50 killed; [2020-11-17T00:55:50.679Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-17T00:55:51.217Z] + git semver [Pipeline] } [2020-11-17T00:55:51.236Z] $ docker stop --time=1 952a476f38a14cefbb6be8a14842b8f4a0b63fd9522ec6a8f7274505d5eb456c [2020-11-17T00:55:52.590Z] $ docker rm -f 952a476f38a14cefbb6be8a14842b8f4a0b63fd9522ec6a8f7274505d5eb456c [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-17T00:55:53.099Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-17T00:55:53.619Z] Stashed 1 file(s) [Pipeline] echo [2020-11-17T00:55:53.623Z] [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-17T00:56:09.222Z] Still waiting to schedule task [2020-11-17T00:56:09.222Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-11-17T00:56:09.226Z] Still waiting to schedule task [2020-11-17T00:56:09.226Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-11-17T00:59:37.750Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-12338 in /w/workspace/xfoundry_device-modbus-go_PR-171 [Pipeline] { [Pipeline] ws [2020-11-17T00:59:37.815Z] Running in /w/workspace/device-modbus-go/9 [Pipeline] { [Pipeline] checkout [2020-11-17T00:59:43.602Z] using credential edgex-jenkins-ssh [2020-11-17T00:59:43.668Z] Cloning the remote Git repository [2020-11-17T00:59:43.742Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-11-17T00:59:43.862Z] > git init /w/workspace/device-modbus-go/9 # timeout=10 [2020-11-17T00:59:43.951Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-11-17T00:59:43.952Z] > git --version # timeout=10 [2020-11-17T00:59:43.973Z] > git --version # 'git version 2.17.1' [2020-11-17T00:59:43.976Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-17T00:59:44.049Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-17T00:59:45.622Z] Merging remotes/origin/master commit 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b into PR head commit 205d20470621f6877b30549a0d87a32e67fc54e2 [2020-11-17T00:59:44.841Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-11-17T00:59:44.864Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-17T00:59:44.903Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-11-17T00:59:44.955Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-11-17T00:59:44.955Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-17T00:59:44.969Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-17T00:59:45.655Z] > git config core.sparsecheckout # timeout=10 [2020-11-17T00:59:45.988Z] Merge succeeded, producing 0691eecd23000850f4ec8b51f05057912ecdffd4 [2020-11-17T00:59:45.989Z] Checking out Revision 0691eecd23000850f4ec8b51f05057912ecdffd4 (PR-171) [2020-11-17T00:59:45.708Z] > git checkout -f 205d20470621f6877b30549a0d87a32e67fc54e2 # timeout=10 [2020-11-17T00:59:45.834Z] > git remote # timeout=10 [2020-11-17T00:59:45.875Z] > git config --get remote.origin.url # timeout=10 [2020-11-17T00:59:45.901Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-17T00:59:45.912Z] > git merge 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b # timeout=10 [2020-11-17T00:59:45.971Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-17T00:59:46.001Z] > git config core.sparsecheckout # timeout=10 [2020-11-17T00:59:46.013Z] > git checkout -f 0691eecd23000850f4ec8b51f05057912ecdffd4 # timeout=10 [2020-11-17T00:59:48.577Z] Running on prd-centos7-docker-4c-2g-12339 in /w/workspace/xfoundry_device-modbus-go_PR-171 [Pipeline] { [Pipeline] ws [2020-11-17T00:59:48.674Z] Running in /w/workspace/device-modbus-go/9 [Pipeline] { [Pipeline] checkout [2020-11-17T00:59:50.375Z] Commit message: "Merge commit '8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b' into HEAD" [2020-11-17T00:59:50.404Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-17T00:59:51.281Z] provisioning config files... [2020-11-17T00:59:51.349Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/9@tmp/config143691744487216229tmp [2020-11-17T00:59:50.388Z] > git rev-list --no-walk 74a5d08c6892181a452d79a3ab0b11b18104ed47 # timeout=10 [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-17T00:59:52.429Z] ---> docker-login.sh [2020-11-17T00:59:52.429Z] nexus3.edgexfoundry.org:10001 [2020-11-17T00:59:53.028Z] using credential edgex-jenkins-ssh [2020-11-17T00:59:53.095Z] Cloning the remote Git repository [2020-11-17T00:59:53.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T00:59:53.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T00:59:53.691Z] Configure a credential helper to remove this warning. See [2020-11-17T00:59:53.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T00:59:53.691Z] [2020-11-17T00:59:53.691Z] Login Succeeded [2020-11-17T00:59:53.691Z] nexus3.edgexfoundry.org:10002 [2020-11-17T00:59:53.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T00:59:53.158Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-11-17T00:59:53.237Z] > git init /w/workspace/device-modbus-go/9 # timeout=10 [2020-11-17T00:59:53.317Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-11-17T00:59:53.317Z] > git --version # timeout=10 [2020-11-17T00:59:53.343Z] > git --version # 'git version 2.16.5' [2020-11-17T00:59:53.344Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-17T00:59:53.378Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-17T00:59:54.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T00:59:54.250Z] Configure a credential helper to remove this warning. See [2020-11-17T00:59:54.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T00:59:54.250Z] [2020-11-17T00:59:54.250Z] Login Succeeded [2020-11-17T00:59:54.250Z] nexus3.edgexfoundry.org:10003 [2020-11-17T00:59:54.848Z] Merging remotes/origin/master commit 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b into PR head commit 205d20470621f6877b30549a0d87a32e67fc54e2 [2020-11-17T00:59:54.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T00:59:54.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T00:59:54.851Z] Configure a credential helper to remove this warning. See [2020-11-17T00:59:54.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T00:59:54.851Z] [2020-11-17T00:59:54.851Z] Login Succeeded [2020-11-17T00:59:54.851Z] nexus3.edgexfoundry.org:10004 [2020-11-17T00:59:54.990Z] Merge succeeded, producing cf632e9f455c6975f40b4c098dcde9585b3c65d2 [2020-11-17T00:59:54.991Z] Checking out Revision cf632e9f455c6975f40b4c098dcde9585b3c65d2 (PR-171) [2020-11-17T00:59:55.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T00:59:54.272Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-11-17T00:59:54.299Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-17T00:59:54.319Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-11-17T00:59:54.340Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-11-17T00:59:54.341Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-17T00:59:54.350Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-17T00:59:54.864Z] > git config core.sparsecheckout # timeout=10 [2020-11-17T00:59:54.875Z] > git checkout -f 205d20470621f6877b30549a0d87a32e67fc54e2 # timeout=10 [2020-11-17T00:59:54.925Z] > git remote # timeout=10 [2020-11-17T00:59:54.940Z] > git config --get remote.origin.url # timeout=10 [2020-11-17T00:59:54.950Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-17T00:59:54.955Z] > git merge 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b # timeout=10 [2020-11-17T00:59:54.981Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-17T00:59:54.997Z] > git config core.sparsecheckout # timeout=10 [2020-11-17T00:59:55.011Z] > git checkout -f cf632e9f455c6975f40b4c098dcde9585b3c65d2 # timeout=10 [2020-11-17T00:59:55.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T00:59:55.404Z] Configure a credential helper to remove this warning. See [2020-11-17T00:59:55.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T00:59:55.404Z] [2020-11-17T00:59:55.404Z] Login Succeeded [2020-11-17T00:59:55.404Z] docker.io [2020-11-17T00:59:56.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T00:59:56.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T00:59:56.285Z] Configure a credential helper to remove this warning. See [2020-11-17T00:59:56.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T00:59:56.285Z] [2020-11-17T00:59:56.285Z] Login Succeeded [2020-11-17T00:59:56.285Z] ---> docker-login.sh ends [Pipeline] } [2020-11-17T00:59:56.369Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-17T00:59:56.881Z] ========================================================= [2020-11-17T00:59:56.881Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-17T00:59:56.881Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-17T00:59:57.286Z] + 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-17T00:59:57.569Z] Sending build context to Docker daemon 582.1kB [2020-11-17T00:59:57.853Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-17T00:59:57.853Z] Step 2/8 : FROM ${BASE} [2020-11-17T00:59:57.853Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-17T00:59:57.853Z] b538f80385f9: Pulling fs layer [2020-11-17T00:59:57.853Z] 74f711af9a0d: Pulling fs layer [2020-11-17T00:59:57.853Z] 99f96fe45779: Pulling fs layer [2020-11-17T00:59:57.853Z] 8529a6b9a6be: Pulling fs layer [2020-11-17T00:59:57.853Z] 45590311c82a: Pulling fs layer [2020-11-17T00:59:57.853Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-17T00:59:57.853Z] 209524e5b208: Pulling fs layer [2020-11-17T00:59:57.853Z] 8529a6b9a6be: Waiting [2020-11-17T00:59:57.853Z] 45590311c82a: Waiting [2020-11-17T00:59:57.853Z] 69ca0ff8b7b3: Waiting [2020-11-17T00:59:57.853Z] 209524e5b208: Waiting [2020-11-17T00:59:57.853Z] 99f96fe45779: Download complete [2020-11-17T00:59:57.853Z] 74f711af9a0d: Verifying Checksum [2020-11-17T00:59:57.853Z] 74f711af9a0d: Download complete [2020-11-17T00:59:57.853Z] 45590311c82a: Verifying Checksum [2020-11-17T00:59:57.853Z] 45590311c82a: Download complete [2020-11-17T00:59:57.853Z] b538f80385f9: Verifying Checksum [2020-11-17T00:59:57.853Z] b538f80385f9: Download complete [2020-11-17T00:59:57.853Z] 69ca0ff8b7b3: Verifying Checksum [2020-11-17T00:59:57.853Z] 69ca0ff8b7b3: Download complete [2020-11-17T00:59:58.814Z] Commit message: "Merge commit '8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b' into HEAD" [2020-11-17T00:59:58.833Z] First time build. Skipping changelog. [2020-11-17T00:59:58.895Z] b538f80385f9: Pull complete [Pipeline] withEnv [Pipeline] { [2020-11-17T00:59:58.821Z] > git rev-list --no-walk 74a5d08c6892181a452d79a3ab0b11b18104ed47 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [2020-11-17T00:59:59.506Z] 74f711af9a0d: Pull complete [Pipeline] wrap [2020-11-17T00:59:59.533Z] provisioning config files... [2020-11-17T00:59:59.568Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/9@tmp/config8632124234280139369tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-17T00:59:59.788Z] 99f96fe45779: Pull complete [2020-11-17T01:00:00.336Z] ---> docker-login.sh [2020-11-17T01:00:00.336Z] nexus3.edgexfoundry.org:10001 [2020-11-17T01:00:00.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T01:00:00.777Z] 209524e5b208: Verifying Checksum [2020-11-17T01:00:00.777Z] 209524e5b208: Download complete [2020-11-17T01:00:00.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T01:00:00.995Z] Configure a credential helper to remove this warning. See [2020-11-17T01:00:00.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T01:00:00.995Z] [2020-11-17T01:00:00.995Z] Login Succeeded [2020-11-17T01:00:00.995Z] nexus3.edgexfoundry.org:10002 [2020-11-17T01:00:01.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T01:00:01.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T01:00:01.269Z] Configure a credential helper to remove this warning. See [2020-11-17T01:00:01.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T01:00:01.269Z] [2020-11-17T01:00:01.269Z] Login Succeeded [2020-11-17T01:00:01.269Z] nexus3.edgexfoundry.org:10003 [2020-11-17T01:00:01.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T01:00:01.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T01:00:01.909Z] Configure a credential helper to remove this warning. See [2020-11-17T01:00:01.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T01:00:01.909Z] [2020-11-17T01:00:01.909Z] Login Succeeded [2020-11-17T01:00:01.909Z] nexus3.edgexfoundry.org:10004 [2020-11-17T01:00:02.224Z] 8529a6b9a6be: Verifying Checksum [2020-11-17T01:00:02.224Z] 8529a6b9a6be: Download complete [2020-11-17T01:00:02.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T01:00:02.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T01:00:02.257Z] Configure a credential helper to remove this warning. See [2020-11-17T01:00:02.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T01:00:02.257Z] [2020-11-17T01:00:02.257Z] Login Succeeded [2020-11-17T01:00:02.257Z] docker.io [2020-11-17T01:00:02.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T01:00:02.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T01:00:02.858Z] Configure a credential helper to remove this warning. See [2020-11-17T01:00:02.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T01:00:02.858Z] [2020-11-17T01:00:02.858Z] Login Succeeded [2020-11-17T01:00:02.858Z] ---> docker-login.sh ends [Pipeline] } [2020-11-17T01:00:02.941Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-17T01:00:03.526Z] ========================================================= [2020-11-17T01:00:03.526Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-17T01:00:03.526Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-17T01:00:04.007Z] + 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-17T01:00:04.278Z] Sending build context to Docker daemon 582.1kB [2020-11-17T01:00:04.278Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-17T01:00:04.278Z] Step 2/8 : FROM ${BASE} [2020-11-17T01:00:04.578Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-17T01:00:04.578Z] df20fa9351a1: Pulling fs layer [2020-11-17T01:00:04.578Z] ed8968b2872e: Pulling fs layer [2020-11-17T01:00:04.578Z] a92cc7c5fd73: Pulling fs layer [2020-11-17T01:00:04.578Z] e871e8e8d7a9: Pulling fs layer [2020-11-17T01:00:04.578Z] e73272ec9a57: Pulling fs layer [2020-11-17T01:00:04.578Z] 1e910a182e73: Pulling fs layer [2020-11-17T01:00:04.578Z] 4e634b169226: Pulling fs layer [2020-11-17T01:00:04.578Z] 1e910a182e73: Waiting [2020-11-17T01:00:04.578Z] e73272ec9a57: Waiting [2020-11-17T01:00:04.578Z] 4e634b169226: Waiting [2020-11-17T01:00:04.578Z] a92cc7c5fd73: Verifying Checksum [2020-11-17T01:00:04.578Z] a92cc7c5fd73: Download complete [2020-11-17T01:00:04.578Z] ed8968b2872e: Verifying Checksum [2020-11-17T01:00:04.578Z] ed8968b2872e: Download complete [2020-11-17T01:00:04.578Z] e73272ec9a57: Verifying Checksum [2020-11-17T01:00:04.578Z] e73272ec9a57: Download complete [2020-11-17T01:00:04.578Z] 1e910a182e73: Download complete [2020-11-17T01:00:04.961Z] df20fa9351a1: Verifying Checksum [2020-11-17T01:00:04.961Z] df20fa9351a1: Download complete [2020-11-17T01:00:05.590Z] df20fa9351a1: Pull complete [2020-11-17T01:00:05.590Z] ed8968b2872e: Pull complete [2020-11-17T01:00:05.971Z] a92cc7c5fd73: Pull complete [2020-11-17T01:00:08.946Z] 4e634b169226: Verifying Checksum [2020-11-17T01:00:08.946Z] 4e634b169226: Download complete [2020-11-17T01:00:11.091Z] e871e8e8d7a9: Verifying Checksum [2020-11-17T01:00:11.091Z] e871e8e8d7a9: Download complete [2020-11-17T01:00:12.507Z] 8529a6b9a6be: Pull complete [2020-11-17T01:00:12.507Z] 45590311c82a: Pull complete [2020-11-17T01:00:12.783Z] 69ca0ff8b7b3: Pull complete [2020-11-17T01:00:17.116Z] 209524e5b208: Pull complete [2020-11-17T01:00:17.116Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-17T01:00:17.116Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-17T01:00:17.116Z] ---> 5bddaf1c2fca [2020-11-17T01:00:17.116Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-11-17T01:00:19.328Z] e871e8e8d7a9: Pull complete [2020-11-17T01:00:19.328Z] e73272ec9a57: Pull complete [2020-11-17T01:00:19.328Z] 1e910a182e73: Pull complete [2020-11-17T01:00:19.747Z] ---> Running in 26fdb59c2e29 [2020-11-17T01:00:20.031Z] Removing intermediate container 26fdb59c2e29 [2020-11-17T01:00:20.032Z] ---> 244224e4d8e1 [2020-11-17T01:00:20.032Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-17T01:00:20.032Z] ---> Running in bb6aac508f8e [2020-11-17T01:00:23.436Z] Removing intermediate container bb6aac508f8e [2020-11-17T01:00:23.436Z] ---> 7e3aa213dfd4 [2020-11-17T01:00:23.436Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-11-17T01:00:23.436Z] ---> Running in 6aa0cefdfb2a [2020-11-17T01:00:23.616Z] 4e634b169226: Pull complete [2020-11-17T01:00:23.616Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-17T01:00:23.616Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-17T01:00:23.616Z] ---> f7629b54cfaa [2020-11-17T01:00:23.616Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-11-17T01:00:23.616Z] ---> Running in 15bbd93df996 [2020-11-17T01:00:23.616Z] Removing intermediate container 15bbd93df996 [2020-11-17T01:00:23.616Z] ---> d5bb87dc54cd [2020-11-17T01:00:23.616Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-17T01:00:23.889Z] ---> Running in fcb1a4fa1f0c [2020-11-17T01:00:24.421Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-17T01:00:24.864Z] Removing intermediate container fcb1a4fa1f0c [2020-11-17T01:00:24.864Z] ---> 24ae47823c07 [2020-11-17T01:00:24.864Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-11-17T01:00:25.137Z] ---> Running in 14d7a510ffbf [2020-11-17T01:00:25.394Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-17T01:00:25.737Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-17T01:00:25.987Z] (1/14) Installing libmagic (5.38-r0) [2020-11-17T01:00:26.258Z] (2/14) Installing file (5.38-r0) [2020-11-17T01:00:26.258Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-11-17T01:00:26.529Z] (4/14) Installing g++ (9.3.0-r2) [2020-11-17T01:00:26.730Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-17T01:00:27.327Z] (1/14) Installing libmagic (5.38-r0) [2020-11-17T01:00:27.327Z] (2/14) Installing file (5.38-r0) [2020-11-17T01:00:27.592Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-11-17T01:00:27.592Z] (4/14) Installing g++ (9.3.0-r2) [2020-11-17T01:00:29.930Z] (5/14) Installing fortify-headers (1.1-r0) [2020-11-17T01:00:30.201Z] (6/14) Installing patch (2.7.6-r6) [2020-11-17T01:00:30.201Z] (7/14) Installing build-base (0.5-r2) [2020-11-17T01:00:30.201Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-11-17T01:00:30.479Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-11-17T01:00:30.479Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-11-17T01:00:30.754Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-11-17T01:00:31.026Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-11-17T01:00:31.026Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-11-17T01:00:31.299Z] (14/14) Installing openssh (8.3_p1-r0) [2020-11-17T01:00:31.299Z] Executing busybox-1.31.1-r16.trigger [2020-11-17T01:00:31.299Z] OK: 221 MiB in 53 packages [2020-11-17T01:00:31.863Z] (5/14) Installing fortify-headers (1.1-r0) [2020-11-17T01:00:31.863Z] (6/14) Installing patch (2.7.6-r6) [2020-11-17T01:00:31.863Z] (7/14) Installing build-base (0.5-r2) [2020-11-17T01:00:31.863Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-11-17T01:00:31.863Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-11-17T01:00:31.863Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-11-17T01:00:32.440Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-11-17T01:00:32.440Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-11-17T01:00:32.440Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-11-17T01:00:32.704Z] (14/14) Installing openssh (8.3_p1-r0) [2020-11-17T01:00:32.704Z] Executing busybox-1.31.1-r16.trigger [2020-11-17T01:00:32.704Z] OK: 237 MiB in 53 packages [2020-11-17T01:00:35.620Z] Removing intermediate container 6aa0cefdfb2a [2020-11-17T01:00:35.620Z] ---> 3a4023945060 [2020-11-17T01:00:35.620Z] Step 6/8 : WORKDIR /device-modbus-go [2020-11-17T01:00:35.620Z] ---> Running in 0c270bd1f4b2 [2020-11-17T01:00:36.065Z] Removing intermediate container 14d7a510ffbf [2020-11-17T01:00:36.065Z] ---> 76cd34e591ea [2020-11-17T01:00:36.065Z] Step 6/8 : WORKDIR /device-modbus-go [2020-11-17T01:00:36.065Z] ---> Running in c3781cd12f7e [2020-11-17T01:00:36.217Z] Removing intermediate container 0c270bd1f4b2 [2020-11-17T01:00:36.217Z] ---> 985fd1b3ac1c [2020-11-17T01:00:36.217Z] Step 7/8 : COPY . . [2020-11-17T01:00:36.659Z] Removing intermediate container c3781cd12f7e [2020-11-17T01:00:36.659Z] ---> 1c28313235f6 [2020-11-17T01:00:36.659Z] Step 7/8 : COPY . . [2020-11-17T01:00:37.200Z] ---> e5f8c79d5c54 [2020-11-17T01:00:37.200Z] Step 8/8 : RUN go mod download [2020-11-17T01:00:37.200Z] ---> Running in d984dd5b4c51 [2020-11-17T01:00:37.663Z] ---> bea737afab37 [2020-11-17T01:00:37.663Z] Step 8/8 : RUN go mod download [2020-11-17T01:00:37.663Z] ---> Running in 67b2d28daa13 [2020-11-17T01:00:59.957Z] Removing intermediate container 67b2d28daa13 [2020-11-17T01:00:59.957Z] ---> 939a3af76a74 [2020-11-17T01:00:59.958Z] Successfully built 939a3af76a74 [2020-11-17T01:00:59.958Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-17T01:01:00.308Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-17T01:01:00.308Z] . [Pipeline] withDockerContainer [2020-11-17T01:01:00.456Z] prd-centos7-docker-4c-2g-12339 does not seem to be running inside a container [2020-11-17T01:01:00.568Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/9 -v /w/workspace/device-modbus-go/9:/w/workspace/device-modbus-go/9:rw,z -v /w/workspace/device-modbus-go/9@tmp:/w/workspace/device-modbus-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-17T01:01:01.595Z] $ docker top 1cc98e9f16e90f604228bf3713eba6d7967ebd6e504b22be4fb7ff48c75a579f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-17T01:01:02.398Z] + go version [2020-11-17T01:01:02.398Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-17T01:01:02.432Z] $ docker stop --time=1 1cc98e9f16e90f604228bf3713eba6d7967ebd6e504b22be4fb7ff48c75a579f [2020-11-17T01:01:04.036Z] Removing intermediate container d984dd5b4c51 [2020-11-17T01:01:04.036Z] ---> 59a28f66a087 [2020-11-17T01:01:04.036Z] Successfully built 59a28f66a087 [2020-11-17T01:01:04.036Z] Successfully tagged ci-base-image-arm64:latest [2020-11-17T01:01:04.048Z] $ docker rm -f 1cc98e9f16e90f604228bf3713eba6d7967ebd6e504b22be4fb7ff48c75a579f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-17T01:01:04.977Z] + docker inspect -f . ci-base-image-arm64 [2020-11-17T01:01:04.977Z] . [Pipeline] withDockerContainer [2020-11-17T01:01:05.164Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-17T01:01:05.164Z] . [2020-11-17T01:01:05.296Z] prd-ubuntu18.04-docker-arm64-4c-16g-12338 does not seem to be running inside a container [2020-11-17T01:01:05.383Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/9 -v /w/workspace/device-modbus-go/9:/w/workspace/device-modbus-go/9:rw,z -v /w/workspace/device-modbus-go/9@tmp:/w/workspace/device-modbus-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-17T01:01:07.324Z] $ docker top 52d8f99e2f8d6d5636bb80fc74e8203e01d219aaed5f1db3fa9a2714d1bbbd82 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2020-11-17T01:01:07.937Z] prd-centos7-docker-4c-2g-12339 does not seem to be running inside a container [2020-11-17T01:01:08.039Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/9 -v /w/workspace/device-modbus-go/9:/w/workspace/device-modbus-go/9:rw,z -v /w/workspace/device-modbus-go/9@tmp:/w/workspace/device-modbus-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-17T01:01:08.966Z] $ docker top 9842a34fbf82f7395e83390367a8319c9b24a2f20fedc8eb681d35d0ebaa443c -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2020-11-17T01:01:09.606Z] + make test [2020-11-17T01:01:09.606Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-17T01:01:10.250Z] + go version [2020-11-17T01:01:10.250Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-17T01:01:10.278Z] $ docker stop --time=1 52d8f99e2f8d6d5636bb80fc74e8203e01d219aaed5f1db3fa9a2714d1bbbd82 [2020-11-17T01:01:11.106Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-11-17T01:01:12.278Z] $ docker rm -f 52d8f99e2f8d6d5636bb80fc74e8203e01d219aaed5f1db3fa9a2714d1bbbd82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-17T01:01:13.432Z] + docker inspect -f . ci-base-image-arm64 [2020-11-17T01:01:13.432Z] . [Pipeline] withDockerContainer [2020-11-17T01:01:13.672Z] prd-ubuntu18.04-docker-arm64-4c-16g-12338 does not seem to be running inside a container [2020-11-17T01:01:13.759Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/9 -v /w/workspace/device-modbus-go/9:/w/workspace/device-modbus-go/9:rw,z -v /w/workspace/device-modbus-go/9@tmp:/w/workspace/device-modbus-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-17T01:01:15.610Z] $ docker top 7b896b618ce9a54c511c7315de5e9cced9bd8e1c0f2619735e949e45eb5e433e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-17T01:01:17.110Z] + make test [2020-11-17T01:01:17.111Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-17T01:01:18.103Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-11-17T01:01:30.164Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-11-17T01:01:30.454Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.321s coverage: 50.2% of statements [2020-11-17T01:01:30.454Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-17T01:01:34.949Z] gofmt -l . [2020-11-17T01:01:34.949Z] internal/driver/config.go [2020-11-17T01:01:34.949Z] internal/driver/config_test.go [2020-11-17T01:01:34.949Z] internal/driver/protocolpropertykey.go [2020-11-17T01:01:34.949Z] [ "`gofmt -l .`" = "" ] [2020-11-17T01:01:34.949Z] make: *** [Makefile:27: test] Error 1 [Pipeline] } [2020-11-17T01:01:34.975Z] $ docker stop --time=1 9842a34fbf82f7395e83390367a8319c9b24a2f20fedc8eb681d35d0ebaa443c [2020-11-17T01:01:38.160Z] $ docker rm -f 9842a34fbf82f7395e83390367a8319c9b24a2f20fedc8eb681d35d0ebaa443c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-11-17T01:01:40.270Z] Failed in branch amd64 [2020-11-17T01:01:57.211Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-11-17T01:01:57.211Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.353s coverage: 50.2% of statements [2020-11-17T01:01:57.211Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-17T01:02:00.361Z] gofmt -l . [2020-11-17T01:02:00.361Z] internal/driver/config.go [2020-11-17T01:02:00.361Z] internal/driver/config_test.go [2020-11-17T01:02:00.361Z] internal/driver/protocolpropertykey.go [2020-11-17T01:02:00.361Z] [ "`gofmt -l .`" = "" ] [2020-11-17T01:02:00.361Z] make: *** [Makefile:27: test] Error 1 [Pipeline] } [2020-11-17T01:02:00.390Z] $ docker stop --time=1 7b896b618ce9a54c511c7315de5e9cced9bd8e1c0f2619735e949e45eb5e433e [2020-11-17T01:02:02.589Z] $ docker rm -f 7b896b618ce9a54c511c7315de5e9cced9bd8e1c0f2619735e949e45eb5e433e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-11-17T01:02:04.792Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-11-17T01:02:08.255Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-17T01:02:08.824Z] ---> package-listing.sh [2020-11-17T01:02:08.824Z] ++ facter osfamily [2020-11-17T01:02:08.824Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-17T01:02:08.824Z] + OS_FAMILY=redhat [2020-11-17T01:02:08.824Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-171 [2020-11-17T01:02:08.824Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-17T01:02:08.824Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-17T01:02:08.824Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-17T01:02:08.824Z] + PACKAGES=/tmp/packages_start.txt [2020-11-17T01:02:08.824Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-171 ']' [2020-11-17T01:02:08.824Z] + PACKAGES=/tmp/packages_end.txt [2020-11-17T01:02:08.824Z] + case "${OS_FAMILY}" in [2020-11-17T01:02:08.824Z] + rpm -qa [2020-11-17T01:02:08.824Z] + sort [2020-11-17T01:02:13.062Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-17T01:02:13.062Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-17T01:02:13.062Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-17T01:02:13.062Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-171 ']' [2020-11-17T01:02:13.062Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-171/archives/ [2020-11-17T01:02:13.062Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-171/archives/ [Pipeline] echo [2020-11-17T01:02:13.076Z] 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-171/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-11-17T01:02:13.370Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-17T01:02:13.677Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-17T01:02:13.678Z] [2020-11-17T01:02:13.678Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-17T01:02:14.038Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-17T01:02:14.038Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-17T01:02:14.038Z] df20fa9351a1: Pulling fs layer [2020-11-17T01:02:14.038Z] 36b3adc4ff6f: Pulling fs layer [2020-11-17T01:02:14.038Z] 8ad3a11d3b57: Pulling fs layer [2020-11-17T01:02:14.038Z] 46f8f816bc3b: Pulling fs layer [2020-11-17T01:02:14.038Z] 93b61091891f: Pulling fs layer [2020-11-17T01:02:14.038Z] 93b9cdb0e59b: Pulling fs layer [2020-11-17T01:02:14.038Z] 5e14af77c1be: Pulling fs layer [2020-11-17T01:02:14.038Z] 01666e4c0597: Pulling fs layer [2020-11-17T01:02:14.038Z] aa168da1d23b: Pulling fs layer [2020-11-17T01:02:14.038Z] 93b61091891f: Waiting [2020-11-17T01:02:14.038Z] 5e14af77c1be: Waiting [2020-11-17T01:02:14.038Z] 01666e4c0597: Waiting [2020-11-17T01:02:14.038Z] aa168da1d23b: Waiting [2020-11-17T01:02:14.038Z] 93b9cdb0e59b: Waiting [2020-11-17T01:02:14.038Z] 46f8f816bc3b: Waiting [2020-11-17T01:02:14.038Z] 36b3adc4ff6f: Verifying Checksum [2020-11-17T01:02:14.038Z] 36b3adc4ff6f: Download complete [2020-11-17T01:02:14.304Z] 46f8f816bc3b: Verifying Checksum [2020-11-17T01:02:14.304Z] 46f8f816bc3b: Download complete [2020-11-17T01:02:14.304Z] df20fa9351a1: Download complete [2020-11-17T01:02:14.304Z] 93b9cdb0e59b: Verifying Checksum [2020-11-17T01:02:14.304Z] 93b9cdb0e59b: Download complete [2020-11-17T01:02:14.304Z] 5e14af77c1be: Verifying Checksum [2020-11-17T01:02:14.304Z] 5e14af77c1be: Download complete [2020-11-17T01:02:14.304Z] 01666e4c0597: Download complete [2020-11-17T01:02:14.304Z] 8ad3a11d3b57: Verifying Checksum [2020-11-17T01:02:14.304Z] 8ad3a11d3b57: Download complete [2020-11-17T01:02:14.304Z] 93b61091891f: Verifying Checksum [2020-11-17T01:02:14.304Z] 93b61091891f: Download complete [2020-11-17T01:02:14.575Z] df20fa9351a1: Pull complete [2020-11-17T01:02:14.839Z] 36b3adc4ff6f: Pull complete [2020-11-17T01:02:15.417Z] 8ad3a11d3b57: Pull complete [2020-11-17T01:02:15.687Z] 46f8f816bc3b: Pull complete [2020-11-17T01:02:15.952Z] 93b61091891f: Pull complete [2020-11-17T01:02:16.220Z] 93b9cdb0e59b: Pull complete [2020-11-17T01:02:16.220Z] 5e14af77c1be: Pull complete [2020-11-17T01:02:16.484Z] aa168da1d23b: Verifying Checksum [2020-11-17T01:02:16.484Z] aa168da1d23b: Download complete [2020-11-17T01:02:16.484Z] 01666e4c0597: Pull complete [2020-11-17T01:02:23.117Z] aa168da1d23b: Pull complete [2020-11-17T01:02:23.117Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-17T01:02:23.117Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-17T01:02:23.117Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-17T01:02:23.244Z] prd-centos7-docker-4c-2g-12337 does not seem to be running inside a container [2020-11-17T01:02:23.298Z] $ 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-171/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-171 -v /w/workspace/xfoundry_device-modbus-go_PR-171:/w/workspace/xfoundry_device-modbus-go_PR-171:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-171@tmp:/w/workspace/xfoundry_device-modbus-go_PR-171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-11-17T01:02:28.709Z] $ docker top dc6348b55be2af66fed3cca4ae945acb67f89172121a3c467598a8efa5282b6a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-17T01:02:29.273Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-17T01:02:29.572Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-17T01:02:29.877Z] + ls /var/log/sa-host [2020-11-17T01:02:29.877Z] + sadf -c /var/log/sa-host/sa05 [2020-11-17T01:02:29.877Z] file_magic: OK [2020-11-17T01:02:29.877Z] HZ: Using current value: 100 [2020-11-17T01:02:29.877Z] file_header: OK [2020-11-17T01:02:29.877Z] 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-17T01:02:29.877Z] Statistics: [2020-11-17T01:02:29.877Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-17T01:02:29.877Z] File successfully converted to sysstat format version 12.2.1 [2020-11-17T01:02:29.877Z] + sadf -c /var/log/sa-host/sa17 [2020-11-17T01:02:29.877Z] file_magic: OK [2020-11-17T01:02:29.877Z] HZ: Using current value: 100 [2020-11-17T01:02:29.877Z] file_header: OK [2020-11-17T01:02:29.877Z] 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-17T01:02:29.877Z] Statistics: [2020-11-17T01:02:29.877Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-17T01:02:29.877Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-17T01:02:30.721Z] provisioning config files... [2020-11-17T01:02:30.736Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/config1331944867581395514tmp [Pipeline] { [Pipeline] echo [2020-11-17T01:02:30.838Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-17T01:02:31.137Z] ---> create-netrc.sh [Pipeline] } [2020-11-17T01:02:31.148Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-17T01:02:31.241Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-17T01:02:31.538Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-17T01:02:31.549Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-17T01:02:31.845Z] ---> sudo-logs.sh [2020-11-17T01:02:31.845Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-17T01:02:31.856Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-17T01:02:32.155Z] ---> job-cost.sh [2020-11-17T01:02:32.155Z] lf-activate-venv: SKIPPING [2020-11-17T01:02:32.155Z] INFO: No Stack... [2020-11-17T01:02:33.103Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-17T01:02:33.365Z] INFO: Archiving Costs [Pipeline] echo [2020-11-17T01:02:33.378Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-17T01:02:33.672Z] ---> logs-deploy.sh [2020-11-17T01:02:33.672Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-171/9 [2020-11-17T01:02:33.672Z] INFO: archiving workspace using pattern(s): [2020-11-17T01:02:35.596Z] Archives upload complete. [2020-11-17T01:02:35.596Z] INFO: archiving logs to Nexus