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 3f5da14ea87806f80aeb9fe9acaeb57a617c1318 rather than 205d20470621f6877b30549a0d87a32e67fc54e2 Obtained Jenkinsfile from 3f5da14ea87806f80aeb9fe9acaeb57a617c1318 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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 SNYK_DOCKER_SCAN: false [Pipeline] node Running on prd-centos7-docker-4c-2g-17130 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.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3f5da14ea87806f80aeb9fe9acaeb57a617c1318 into PR head commit 205d20470621f6877b30549a0d87a32e67fc54e2 Merge succeeded, producing 8bc9c3bbd92c26ad47a5bd77389ef1af1f94b53f Checking out Revision 8bc9c3bbd92c26ad47a5bd77389ef1af1f94b53f (PR-171) > 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 3f5da14ea87806f80aeb9fe9acaeb57a617c1318 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8bc9c3bbd92c26ad47a5bd77389ef1af1f94b53f # timeout=10 Commit message: "Merge commit '3f5da14ea87806f80aeb9fe9acaeb57a617c1318' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-22T00:51:26.543Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk 123ecb90bdaabdcd76427ba92d3aefc391518fee # timeout=10 [2020-12-22T00:51:26.880Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-22T00:51:26.980Z] ========================================================= [2020-12-22T00:51:26.980Z] EdgeX Global Pipelines Version Info [2020-12-22T00:51:26.980Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-22T00:51:28.476Z] ------------------- [2020-12-22T00:51:28.476Z] stable info: [2020-12-22T00:51:28.476Z] ------------------- [2020-12-22T00:51:28.476Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-22T00:51:28.476Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-22T00:51:28.476Z] Message: update stable to v1.0.173 [2020-12-22T00:51:30.402Z] ------------------- [2020-12-22T00:51:30.402Z] experimental info: [2020-12-22T00:51:30.402Z] ------------------- [2020-12-22T00:51:30.402Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-22T00:51:30.402Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-22T00:51:30.402Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-22T00:51:30.729Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2020-12-22T00:51:30.850Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2020-12-22T00:51:30.937Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-22T00:51:31.034Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-22T00:51:31.128Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-22T00:51:31.220Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-22T00:51:31.306Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-22T00:51:31.461Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-22T00:51:31.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-22T00:51:31.653Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-22T00:51:31.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-22T00:51:31.873Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo [2020-12-22T00:51:31.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-22T00:51:32.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-22T00:51:32.142Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-22T00:51:32.233Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-22T00:51:32.357Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-22T00:51:32.444Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-22T00:51:32.532Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-22T00:51:32.626Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-12-22T00:51:32.714Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-22T00:51:32.807Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-22T00:51:32.921Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-22T00:51:33.008Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-22T00:51:33.097Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-22T00:51:33.184Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-22T00:51:33.276Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-22T00:51:33.366Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-171 [Pipeline] echo [2020-12-22T00:51:33.454Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-171 [Pipeline] echo [2020-12-22T00:51:33.547Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-171 [Pipeline] echo [2020-12-22T00:51:33.636Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8bc9c3bbd92c26ad47a5bd77389ef1af1f94b53f [Pipeline] echo [2020-12-22T00:51:33.725Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8bc9c3b [Pipeline] echo [2020-12-22T00:51:33.827Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-22T00:51:34.052Z] provisioning config files... [2020-12-22T00:51:34.106Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/config8619593133666482758tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-22T00:51:34.470Z] ---> docker-login.sh [2020-12-22T00:51:34.470Z] nexus3.edgexfoundry.org:10001 [2020-12-22T00:51:34.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T00:51:34.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T00:51:34.996Z] Configure a credential helper to remove this warning. See [2020-12-22T00:51:34.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T00:51:34.996Z] [2020-12-22T00:51:34.996Z] Login Succeeded [2020-12-22T00:51:34.996Z] nexus3.edgexfoundry.org:10002 [2020-12-22T00:51:34.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T00:51:34.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T00:51:34.996Z] Configure a credential helper to remove this warning. See [2020-12-22T00:51:34.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T00:51:34.996Z] [2020-12-22T00:51:34.996Z] Login Succeeded [2020-12-22T00:51:34.996Z] nexus3.edgexfoundry.org:10003 [2020-12-22T00:51:35.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T00:51:35.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T00:51:35.258Z] Configure a credential helper to remove this warning. See [2020-12-22T00:51:35.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T00:51:35.258Z] [2020-12-22T00:51:35.258Z] Login Succeeded [2020-12-22T00:51:35.258Z] nexus3.edgexfoundry.org:10004 [2020-12-22T00:51:35.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T00:51:35.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T00:51:35.520Z] Configure a credential helper to remove this warning. See [2020-12-22T00:51:35.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T00:51:35.520Z] [2020-12-22T00:51:35.520Z] Login Succeeded [2020-12-22T00:51:35.520Z] docker.io [2020-12-22T00:51:35.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T00:51:35.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T00:51:35.783Z] Configure a credential helper to remove this warning. See [2020-12-22T00:51:35.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T00:51:35.783Z] [2020-12-22T00:51:35.783Z] Login Succeeded [2020-12-22T00:51:35.783Z] ---> docker-login.sh ends [Pipeline] } [2020-12-22T00:51:35.794Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-22T00:51:36.750Z] + git log --format=format:%s -1 8bc9c3bbd92c26ad47a5bd77389ef1af1f94b53f [Pipeline] echo [2020-12-22T00:51:36.826Z] GIT_COMMIT: 8bc9c3bbd92c26ad47a5bd77389ef1af1f94b53f, Commit Message: Merge commit '3f5da14ea87806f80aeb9fe9acaeb57a617c1318' into HEAD [Pipeline] echo [2020-12-22T00:51:36.872Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-22T00:51:37.881Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-22T00:51:37.881Z] [2020-12-22T00:51:37.881Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-22T00:51:38.233Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-22T00:51:38.233Z] latest: Pulling from edgex-devops/git-semver [2020-12-22T00:51:38.233Z] 31603596830f: Pulling fs layer [2020-12-22T00:51:38.233Z] 2a8b12db71e7: Pulling fs layer [2020-12-22T00:51:38.233Z] 6ca5941a6612: Pulling fs layer [2020-12-22T00:51:38.233Z] ecc8261a40a4: Pulling fs layer [2020-12-22T00:51:38.233Z] ecc8261a40a4: Waiting [2020-12-22T00:51:38.233Z] 2a8b12db71e7: Download complete [2020-12-22T00:51:38.233Z] 31603596830f: Download complete [2020-12-22T00:51:38.506Z] 6ca5941a6612: Verifying Checksum [2020-12-22T00:51:38.506Z] 6ca5941a6612: Download complete [2020-12-22T00:51:38.506Z] ecc8261a40a4: Verifying Checksum [2020-12-22T00:51:38.506Z] ecc8261a40a4: Download complete [2020-12-22T00:51:38.770Z] 31603596830f: Pull complete [2020-12-22T00:51:38.770Z] 2a8b12db71e7: Pull complete [2020-12-22T00:51:39.750Z] 6ca5941a6612: Pull complete [2020-12-22T00:51:40.015Z] ecc8261a40a4: Pull complete [2020-12-22T00:51:40.015Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-22T00:51:40.015Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-22T00:51:40.015Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-22T00:51:40.135Z] prd-centos7-docker-4c-2g-17130 does not seem to be running inside a container [2020-12-22T00:51:40.192Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-22T00:51:42.356Z] $ docker top ea24f740243fa5ae26a922330038d028031947a9ee43638c16d0057f2b9f228e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-22T00:51:42.726Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-22T00:51:42.726Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-22T00:51:42.943Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-22T00:51:42.949Z] $ docker exec ea24f740243fa5ae26a922330038d028031947a9ee43638c16d0057f2b9f228e ssh-agent [2020-12-22T00:51:43.106Z] SSH_AUTH_SOCK=/tmp/ssh-D5BkulvG7GF0/agent.12 [2020-12-22T00:51:43.106Z] SSH_AGENT_PID=18 [2020-12-22T00:51:43.119Z] Running ssh-add (command line suppressed) [2020-12-22T00:51:43.238Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_5861451559443619671.key (/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_5861451559443619671.key) [2020-12-22T00:51:43.286Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-22T00:51:43.624Z] + git tag --points-at HEAD [Pipeline] } [2020-12-22T00:51:43.651Z] $ docker exec --env ******** --env ******** ea24f740243fa5ae26a922330038d028031947a9ee43638c16d0057f2b9f228e ssh-agent -k [2020-12-22T00:51:43.770Z] unset SSH_AUTH_SOCK; [2020-12-22T00:51:43.771Z] unset SSH_AGENT_PID; [2020-12-22T00:51:43.771Z] echo Agent pid 18 killed; [2020-12-22T00:51:43.815Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-22T00:51:43.960Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-22T00:51:43.960Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-22T00:51:44.119Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-22T00:51:44.126Z] $ docker exec ea24f740243fa5ae26a922330038d028031947a9ee43638c16d0057f2b9f228e ssh-agent [2020-12-22T00:51:44.284Z] SSH_AUTH_SOCK=/tmp/ssh-x6kXW0vYTj94/agent.48 [2020-12-22T00:51:44.284Z] SSH_AGENT_PID=53 [2020-12-22T00:51:44.292Z] Running ssh-add (command line suppressed) [2020-12-22T00:51:44.421Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_8267111449547276069.key (/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_8267111449547276069.key) [2020-12-22T00:51:44.466Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-22T00:51:44.808Z] + git semver init [2020-12-22T00:51:44.808Z] # -> Open(): unable to determine branch for HEAD [2020-12-22T00:51:44.808Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-171/.git [2020-12-22T00:51:44.808Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-171 [2020-12-22T00:51:44.808Z] # $SEMVER_REMOTE_NAME = origin [2020-12-22T00:51:44.808Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-22T00:51:44.808Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-22T00:51:44.808Z] # $SEMVER_BRANCH = PR-171 [2020-12-22T00:51:44.808Z] # $SEMVER_TEMP = /tmp/semver-552124069 [2020-12-22T00:51:44.808Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-12-22T00:51:45.073Z] # '/tmp/semver-552124069' -> '/w/workspace/xfoundry_device-modbus-go_PR-171/.semver' [2020-12-22T00:51:45.336Z] # -> Force: false [2020-12-22T00:51:45.336Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-171/.semver [Pipeline] } [2020-12-22T00:51:45.351Z] $ docker exec --env ******** --env ******** ea24f740243fa5ae26a922330038d028031947a9ee43638c16d0057f2b9f228e ssh-agent -k [2020-12-22T00:51:45.468Z] unset SSH_AUTH_SOCK; [2020-12-22T00:51:45.469Z] unset SSH_AGENT_PID; [2020-12-22T00:51:45.469Z] echo Agent pid 53 killed; [2020-12-22T00:51:45.517Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-22T00:51:46.014Z] + git semver [Pipeline] } [2020-12-22T00:51:46.035Z] $ docker stop --time=1 ea24f740243fa5ae26a922330038d028031947a9ee43638c16d0057f2b9f228e [2020-12-22T00:51:47.421Z] $ docker rm -f ea24f740243fa5ae26a922330038d028031947a9ee43638c16d0057f2b9f228e [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-22T00:51:47.914Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-22T00:51:48.468Z] Stashed 1 file(s) [Pipeline] echo [2020-12-22T00:51:48.471Z] [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-12-22T00:51:49.240Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-17139 in /w/workspace/xfoundry_device-modbus-go_PR-171 [Pipeline] { [Pipeline] ws [2020-12-22T00:51:49.292Z] Running in /w/workspace/device-modbus-go/13 [Pipeline] { [Pipeline] checkout [2020-12-22T00:51:54.465Z] using credential edgex-jenkins-ssh [2020-12-22T00:51:54.534Z] Cloning the remote Git repository [2020-12-22T00:51:54.606Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-12-22T00:51:54.712Z] > git init /w/workspace/device-modbus-go/13 # timeout=10 [2020-12-22T00:51:54.816Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-12-22T00:51:54.817Z] > git --version # timeout=10 [2020-12-22T00:51:54.841Z] > git --version # 'git version 2.17.1' [2020-12-22T00:51:54.843Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-22T00:51:54.889Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-22T00:51:56.409Z] Merging remotes/origin/master commit 3f5da14ea87806f80aeb9fe9acaeb57a617c1318 into PR head commit 205d20470621f6877b30549a0d87a32e67fc54e2 [2020-12-22T00:51:56.655Z] Merge succeeded, producing 0508de8490d75bbe71bb5c138f90fd3e2d7c763d [2020-12-22T00:51:56.656Z] Checking out Revision 0508de8490d75bbe71bb5c138f90fd3e2d7c763d (PR-171) [2020-12-22T00:51:55.658Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-12-22T00:51:55.690Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-22T00:51:55.723Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-12-22T00:51:55.776Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-12-22T00:51:55.777Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-22T00:51:55.790Z] > 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-12-22T00:51:56.436Z] > git config core.sparsecheckout # timeout=10 [2020-12-22T00:51:56.458Z] > git checkout -f 205d20470621f6877b30549a0d87a32e67fc54e2 # timeout=10 [2020-12-22T00:51:56.546Z] > git remote # timeout=10 [2020-12-22T00:51:56.562Z] > git config --get remote.origin.url # timeout=10 [2020-12-22T00:51:56.577Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-22T00:51:56.587Z] > git merge 3f5da14ea87806f80aeb9fe9acaeb57a617c1318 # timeout=10 [2020-12-22T00:51:56.644Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-22T00:51:56.667Z] > git config core.sparsecheckout # timeout=10 [2020-12-22T00:51:56.683Z] > git checkout -f 0508de8490d75bbe71bb5c138f90fd3e2d7c763d # timeout=10 [2020-12-22T00:52:01.076Z] Commit message: "Merge commit '3f5da14ea87806f80aeb9fe9acaeb57a617c1318' into HEAD" [2020-12-22T00:52:01.108Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-22T00:52:01.088Z] > git rev-list --no-walk 123ecb90bdaabdcd76427ba92d3aefc391518fee # timeout=10 [2020-12-22T00:52:02.711Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-22T00:52:03.124Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-22T00:52:03.482Z] + true [2020-12-22T00:52:03.482Z] + sudo service docker restart [2020-12-22T00:52:04.039Z] Still waiting to schedule task [2020-12-22T00:52:04.039Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-22T00:52:05.542Z] provisioning config files... [2020-12-22T00:52:05.584Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/13@tmp/config2994182146742345398tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-22T00:52:06.001Z] ---> docker-login.sh [2020-12-22T00:52:06.001Z] nexus3.edgexfoundry.org:10001 [2020-12-22T00:52:06.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T00:52:07.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T00:52:07.193Z] Configure a credential helper to remove this warning. See [2020-12-22T00:52:07.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T00:52:07.193Z] [2020-12-22T00:52:07.193Z] Login Succeeded [2020-12-22T00:52:07.193Z] nexus3.edgexfoundry.org:10002 [2020-12-22T00:52:07.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T00:52:07.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T00:52:07.472Z] Configure a credential helper to remove this warning. See [2020-12-22T00:52:07.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T00:52:07.472Z] [2020-12-22T00:52:07.472Z] Login Succeeded [2020-12-22T00:52:07.472Z] nexus3.edgexfoundry.org:10003 [2020-12-22T00:52:07.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T00:52:08.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T00:52:08.030Z] Configure a credential helper to remove this warning. See [2020-12-22T00:52:08.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T00:52:08.030Z] [2020-12-22T00:52:08.030Z] Login Succeeded [2020-12-22T00:52:08.030Z] nexus3.edgexfoundry.org:10004 [2020-12-22T00:52:08.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T00:52:08.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T00:52:08.575Z] Configure a credential helper to remove this warning. See [2020-12-22T00:52:08.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T00:52:08.575Z] [2020-12-22T00:52:08.575Z] Login Succeeded [2020-12-22T00:52:08.575Z] docker.io [2020-12-22T00:52:08.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T00:52:09.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T00:52:09.118Z] Configure a credential helper to remove this warning. See [2020-12-22T00:52:09.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T00:52:09.118Z] [2020-12-22T00:52:09.118Z] Login Succeeded [2020-12-22T00:52:09.118Z] ---> docker-login.sh ends [Pipeline] } [2020-12-22T00:52:09.135Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-22T00:52:09.558Z] ========================================================= [2020-12-22T00:52:09.558Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-22T00:52:09.558Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-22T00:52:09.985Z] + 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-12-22T00:52:10.265Z] Sending build context to Docker daemon 615.9kB [2020-12-22T00:52:10.265Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2020-12-22T00:52:10.265Z] Step 2/8 : FROM ${BASE} [2020-12-22T00:52:10.549Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-22T00:52:10.549Z] 5f621e34cdf4: Pulling fs layer [2020-12-22T00:52:10.549Z] a4357932f1b6: Pulling fs layer [2020-12-22T00:52:10.549Z] 18c013af1878: Pulling fs layer [2020-12-22T00:52:10.549Z] 00ac8860ef70: Pulling fs layer [2020-12-22T00:52:10.549Z] 63d7cb157983: Pulling fs layer [2020-12-22T00:52:10.549Z] b116817d02f9: Pulling fs layer [2020-12-22T00:52:10.549Z] 745a02a5169b: Pulling fs layer [2020-12-22T00:52:10.549Z] 63d7cb157983: Waiting [2020-12-22T00:52:10.549Z] 00ac8860ef70: Waiting [2020-12-22T00:52:10.549Z] b116817d02f9: Waiting [2020-12-22T00:52:10.549Z] 745a02a5169b: Waiting [2020-12-22T00:52:10.549Z] 18c013af1878: Verifying Checksum [2020-12-22T00:52:10.549Z] 18c013af1878: Download complete [2020-12-22T00:52:10.549Z] a4357932f1b6: Verifying Checksum [2020-12-22T00:52:10.549Z] a4357932f1b6: Download complete [2020-12-22T00:52:10.549Z] 63d7cb157983: Verifying Checksum [2020-12-22T00:52:10.549Z] 63d7cb157983: Download complete [2020-12-22T00:52:10.549Z] b116817d02f9: Verifying Checksum [2020-12-22T00:52:10.549Z] 5f621e34cdf4: Verifying Checksum [2020-12-22T00:52:10.549Z] 5f621e34cdf4: Download complete [2020-12-22T00:52:11.158Z] 5f621e34cdf4: Pull complete [2020-12-22T00:52:11.810Z] a4357932f1b6: Pull complete [2020-12-22T00:52:12.415Z] 18c013af1878: Pull complete [2020-12-22T00:52:12.693Z] 745a02a5169b: Verifying Checksum [2020-12-22T00:52:12.693Z] 745a02a5169b: Download complete [2020-12-22T00:52:14.132Z] 00ac8860ef70: Download complete [2020-12-22T00:52:24.303Z] 00ac8860ef70: Pull complete [2020-12-22T00:52:24.303Z] 63d7cb157983: Pull complete [2020-12-22T00:52:24.303Z] b116817d02f9: Pull complete [2020-12-22T00:52:28.629Z] 745a02a5169b: Pull complete [2020-12-22T00:52:28.629Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-22T00:52:28.629Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-22T00:52:28.629Z] ---> b7e6874047d6 [2020-12-22T00:52:28.629Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-22T00:52:31.251Z] ---> Running in b617da2dba71 [2020-12-22T00:52:31.251Z] Removing intermediate container b617da2dba71 [2020-12-22T00:52:31.251Z] ---> 38b1dc9e49c0 [2020-12-22T00:52:31.251Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-22T00:52:31.525Z] ---> Running in 3aa89183eb71 [2020-12-22T00:52:34.169Z] Removing intermediate container 3aa89183eb71 [2020-12-22T00:52:34.169Z] ---> c87f402e7c7d [2020-12-22T00:52:34.169Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-22T00:52:34.169Z] ---> Running in c200088bf864 [2020-12-22T00:52:35.151Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-22T00:52:35.807Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-22T00:52:36.451Z] (1/14) Installing libmagic (5.38-r0) [2020-12-22T00:52:37.608Z] (2/14) Installing file (5.38-r0) [2020-12-22T00:52:37.608Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-22T00:52:37.608Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-22T00:52:40.229Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-22T00:52:40.229Z] (6/14) Installing patch (2.7.6-r6) [2020-12-22T00:52:40.229Z] (7/14) Installing build-base (0.5-r2) [2020-12-22T00:52:40.229Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2020-12-22T00:52:40.229Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-22T00:52:40.229Z] (10/14) Installing openssh-client (8.3_p1-r1) [2020-12-22T00:52:40.499Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2020-12-22T00:52:40.771Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2020-12-22T00:52:40.771Z] (13/14) Installing openssh-server (8.3_p1-r1) [2020-12-22T00:52:41.744Z] (14/14) Installing openssh (8.3_p1-r1) [2020-12-22T00:52:42.016Z] Executing busybox-1.31.1-r19.trigger [2020-12-22T00:52:42.016Z] OK: 221 MiB in 53 packages [2020-12-22T00:52:46.355Z] Removing intermediate container c200088bf864 [2020-12-22T00:52:46.355Z] ---> 97cddb2ad9c6 [2020-12-22T00:52:46.355Z] Step 6/8 : WORKDIR /device-modbus-go [2020-12-22T00:52:46.355Z] ---> Running in 2fccc77c7292 [2020-12-22T00:52:46.355Z] Removing intermediate container 2fccc77c7292 [2020-12-22T00:52:46.355Z] ---> 5227fd7a04b9 [2020-12-22T00:52:46.355Z] Step 7/8 : COPY . . [2020-12-22T00:52:47.790Z] ---> 1852b7d16d68 [2020-12-22T00:52:47.790Z] Step 8/8 : RUN go mod download [2020-12-22T00:52:47.790Z] ---> Running in ee7cc2230779 [2020-12-22T00:53:10.004Z] Removing intermediate container ee7cc2230779 [2020-12-22T00:53:10.004Z] ---> 8a199524e969 [2020-12-22T00:53:10.004Z] Successfully built 8a199524e969 [2020-12-22T00:53:10.004Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-22T00:53:10.340Z] + docker inspect -f . ci-base-image-arm64 [2020-12-22T00:53:10.340Z] . [Pipeline] withDockerContainer [2020-12-22T00:53:10.568Z] prd-ubuntu18.04-docker-arm64-4c-16g-17139 does not seem to be running inside a container [2020-12-22T00:53:10.655Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/13 -v /w/workspace/device-modbus-go/13:/w/workspace/device-modbus-go/13:rw,z -v /w/workspace/device-modbus-go/13@tmp:/w/workspace/device-modbus-go/13@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-12-22T00:53:12.079Z] $ docker top a787d5b178a6cb85c910e0ac032bbb4802fc280f7871a7c5f510010921aa9c7c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-22T00:53:13.110Z] + go version [2020-12-22T00:53:13.111Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-22T00:53:13.138Z] $ docker stop --time=1 a787d5b178a6cb85c910e0ac032bbb4802fc280f7871a7c5f510010921aa9c7c [2020-12-22T00:53:15.135Z] $ docker rm -f a787d5b178a6cb85c910e0ac032bbb4802fc280f7871a7c5f510010921aa9c7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-22T00:53:16.176Z] + docker inspect -f . ci-base-image-arm64 [2020-12-22T00:53:16.176Z] . [Pipeline] withDockerContainer [2020-12-22T00:53:16.447Z] prd-ubuntu18.04-docker-arm64-4c-16g-17139 does not seem to be running inside a container [2020-12-22T00:53:16.540Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/13 -v /w/workspace/device-modbus-go/13:/w/workspace/device-modbus-go/13:rw,z -v /w/workspace/device-modbus-go/13@tmp:/w/workspace/device-modbus-go/13@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-12-22T00:53:18.154Z] $ docker top 3aaf80d0557359f459bcc2b634f7ddd197cabc90e946e25bb2de34094096f46f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-22T00:53:19.228Z] + make test [2020-12-22T00:53:19.228Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-22T00:53:20.223Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-12-22T00:53:52.730Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-12-22T00:53:53.709Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.375s coverage: 50.2% of statements [2020-12-22T00:53:53.709Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-22T00:54:02.019Z] gofmt -l . [2020-12-22T00:54:02.020Z] internal/driver/config.go [2020-12-22T00:54:02.020Z] internal/driver/config_test.go [2020-12-22T00:54:02.020Z] internal/driver/protocolpropertykey.go [2020-12-22T00:54:02.020Z] [ "`gofmt -l .`" = "" ] [2020-12-22T00:54:02.020Z] make: *** [Makefile:27: test] Error 1 [Pipeline] } [2020-12-22T00:54:02.060Z] $ docker stop --time=1 3aaf80d0557359f459bcc2b634f7ddd197cabc90e946e25bb2de34094096f46f [2020-12-22T00:54:04.324Z] $ docker rm -f 3aaf80d0557359f459bcc2b634f7ddd197cabc90e946e25bb2de34094096f46f [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-12-22T00:54:06.083Z] Failed in branch arm64 [2020-12-22T00:56:08.393Z] Running on prd-centos7-docker-4c-2g-17146 in /w/workspace/xfoundry_device-modbus-go_PR-171 [Pipeline] { [Pipeline] ws [2020-12-22T00:56:08.474Z] Running in /w/workspace/device-modbus-go/13 [Pipeline] { [Pipeline] checkout [2020-12-22T00:56:11.027Z] using credential edgex-jenkins-ssh [2020-12-22T00:56:11.087Z] Cloning the remote Git repository [2020-12-22T00:56:10.997Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-12-22T00:56:11.067Z] > git init /w/workspace/device-modbus-go/13 # timeout=10 [2020-12-22T00:56:11.128Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-12-22T00:56:11.129Z] > git --version # timeout=10 [2020-12-22T00:56:11.137Z] > git --version # 'git version 2.24.3' [2020-12-22T00:56:11.138Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-22T00:56:11.169Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-22T00:56:11.799Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-12-22T00:56:11.807Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-22T00:56:12.356Z] Merging remotes/origin/master commit 3f5da14ea87806f80aeb9fe9acaeb57a617c1318 into PR head commit 205d20470621f6877b30549a0d87a32e67fc54e2 [2020-12-22T00:56:12.463Z] Merge succeeded, producing 50c0db2e211ed61151e38e638075f6efb8dab751 [2020-12-22T00:56:12.464Z] Checking out Revision 50c0db2e211ed61151e38e638075f6efb8dab751 (PR-171) [2020-12-22T00:56:11.820Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-12-22T00:56:11.835Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-12-22T00:56:11.835Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-22T00:56:11.839Z] > git fetch --tags --force --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-12-22T00:56:12.352Z] > git config core.sparsecheckout # timeout=10 [2020-12-22T00:56:12.359Z] > git checkout -f 205d20470621f6877b30549a0d87a32e67fc54e2 # timeout=10 [2020-12-22T00:56:12.395Z] > git remote # timeout=10 [2020-12-22T00:56:12.406Z] > git config --get remote.origin.url # timeout=10 [2020-12-22T00:56:12.417Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-22T00:56:12.421Z] > git merge 3f5da14ea87806f80aeb9fe9acaeb57a617c1318 # timeout=10 [2020-12-22T00:56:12.450Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-22T00:56:12.461Z] > git config core.sparsecheckout # timeout=10 [2020-12-22T00:56:12.464Z] > git checkout -f 50c0db2e211ed61151e38e638075f6efb8dab751 # timeout=10 [2020-12-22T00:56:16.103Z] Commit message: "Merge commit '3f5da14ea87806f80aeb9fe9acaeb57a617c1318' into HEAD" [2020-12-22T00:56:16.114Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2020-12-22T00:56:16.108Z] > git rev-list --no-walk 123ecb90bdaabdcd76427ba92d3aefc391518fee # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-22T00:56:17.537Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-22T00:56:17.875Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-22T00:56:18.173Z] + sudo service docker restart [2020-12-22T00:56:18.173Z] + true [2020-12-22T00:56:18.173Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-22T00:56:19.202Z] provisioning config files... [2020-12-22T00:56:19.236Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/13@tmp/config2281644563113546081tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-22T00:56:19.599Z] ---> docker-login.sh [2020-12-22T00:56:19.599Z] nexus3.edgexfoundry.org:10001 [2020-12-22T00:56:19.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T00:56:19.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T00:56:19.861Z] Configure a credential helper to remove this warning. See [2020-12-22T00:56:19.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T00:56:19.861Z] [2020-12-22T00:56:19.861Z] Login Succeeded [2020-12-22T00:56:19.861Z] nexus3.edgexfoundry.org:10002 [2020-12-22T00:56:20.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T00:56:20.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T00:56:20.146Z] Configure a credential helper to remove this warning. See [2020-12-22T00:56:20.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T00:56:20.146Z] [2020-12-22T00:56:20.146Z] Login Succeeded [2020-12-22T00:56:20.146Z] nexus3.edgexfoundry.org:10003 [2020-12-22T00:56:20.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T00:56:20.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T00:56:20.408Z] Configure a credential helper to remove this warning. See [2020-12-22T00:56:20.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T00:56:20.408Z] [2020-12-22T00:56:20.408Z] Login Succeeded [2020-12-22T00:56:20.408Z] nexus3.edgexfoundry.org:10004 [2020-12-22T00:56:20.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T00:56:20.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T00:56:20.669Z] Configure a credential helper to remove this warning. See [2020-12-22T00:56:20.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T00:56:20.669Z] [2020-12-22T00:56:20.669Z] Login Succeeded [2020-12-22T00:56:20.669Z] docker.io [2020-12-22T00:56:20.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-22T00:56:20.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-22T00:56:20.931Z] Configure a credential helper to remove this warning. See [2020-12-22T00:56:20.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-22T00:56:20.931Z] [2020-12-22T00:56:20.931Z] Login Succeeded [2020-12-22T00:56:20.931Z] ---> docker-login.sh ends [Pipeline] } [2020-12-22T00:56:20.941Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-22T00:56:21.320Z] ========================================================= [2020-12-22T00:56:21.320Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-22T00:56:21.320Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-22T00:56:21.661Z] + 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-12-22T00:56:21.661Z] Sending build context to Docker daemon 617kB [2020-12-22T00:56:21.661Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2020-12-22T00:56:21.661Z] Step 2/8 : FROM ${BASE} [2020-12-22T00:56:21.923Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-22T00:56:21.923Z] 188c0c94c7c5: Pulling fs layer [2020-12-22T00:56:21.923Z] 0ef7d3d256c8: Pulling fs layer [2020-12-22T00:56:21.923Z] de9db76c5a1d: Pulling fs layer [2020-12-22T00:56:21.923Z] bca2f99d35d6: Pulling fs layer [2020-12-22T00:56:21.923Z] 93359f2a8cfa: Pulling fs layer [2020-12-22T00:56:21.923Z] 7c6f9722023f: Pulling fs layer [2020-12-22T00:56:21.923Z] a35cf1a2eb13: Pulling fs layer [2020-12-22T00:56:21.923Z] 93359f2a8cfa: Waiting [2020-12-22T00:56:21.923Z] 7c6f9722023f: Waiting [2020-12-22T00:56:21.923Z] a35cf1a2eb13: Waiting [2020-12-22T00:56:21.923Z] bca2f99d35d6: Waiting [2020-12-22T00:56:21.923Z] de9db76c5a1d: Download complete [2020-12-22T00:56:21.923Z] 0ef7d3d256c8: Verifying Checksum [2020-12-22T00:56:21.923Z] 0ef7d3d256c8: Download complete [2020-12-22T00:56:21.923Z] 93359f2a8cfa: Verifying Checksum [2020-12-22T00:56:21.923Z] 93359f2a8cfa: Download complete [2020-12-22T00:56:21.923Z] 7c6f9722023f: Verifying Checksum [2020-12-22T00:56:21.923Z] 7c6f9722023f: Download complete [2020-12-22T00:56:21.923Z] 188c0c94c7c5: Verifying Checksum [2020-12-22T00:56:21.923Z] 188c0c94c7c5: Download complete [2020-12-22T00:56:22.186Z] 188c0c94c7c5: Pull complete [2020-12-22T00:56:22.186Z] 0ef7d3d256c8: Pull complete [2020-12-22T00:56:22.448Z] de9db76c5a1d: Pull complete [2020-12-22T00:56:25.015Z] a35cf1a2eb13: Verifying Checksum [2020-12-22T00:56:25.015Z] a35cf1a2eb13: Download complete [2020-12-22T00:56:25.015Z] bca2f99d35d6: Verifying Checksum [2020-12-22T00:56:25.015Z] bca2f99d35d6: Download complete [2020-12-22T00:56:30.333Z] bca2f99d35d6: Pull complete [2020-12-22T00:56:30.333Z] 93359f2a8cfa: Pull complete [2020-12-22T00:56:30.333Z] 7c6f9722023f: Pull complete [2020-12-22T00:56:35.655Z] a35cf1a2eb13: Pull complete [2020-12-22T00:56:35.655Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-22T00:56:35.655Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-22T00:56:35.655Z] ---> a62c8e92a672 [2020-12-22T00:56:35.655Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-22T00:56:36.231Z] ---> Running in 1d3959573a61 [2020-12-22T00:56:36.494Z] Removing intermediate container 1d3959573a61 [2020-12-22T00:56:36.494Z] ---> 2fad298f2f3d [2020-12-22T00:56:36.494Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-22T00:56:36.494Z] ---> Running in 6b638281fbe0 [2020-12-22T00:56:37.444Z] Removing intermediate container 6b638281fbe0 [2020-12-22T00:56:37.444Z] ---> d67379ddf721 [2020-12-22T00:56:37.444Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-22T00:56:37.444Z] ---> Running in 7adf4fdb73ac [2020-12-22T00:56:38.018Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-22T00:56:38.595Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-22T00:56:38.859Z] (1/14) Installing libmagic (5.38-r0) [2020-12-22T00:56:39.433Z] (2/14) Installing file (5.38-r0) [2020-12-22T00:56:39.433Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-22T00:56:39.433Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-22T00:56:47.612Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-22T00:56:47.612Z] (6/14) Installing patch (2.7.6-r6) [2020-12-22T00:56:47.612Z] (7/14) Installing build-base (0.5-r2) [2020-12-22T00:56:47.612Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2020-12-22T00:56:47.612Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-22T00:56:47.612Z] (10/14) Installing openssh-client (8.3_p1-r1) [2020-12-22T00:56:47.612Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2020-12-22T00:56:47.612Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2020-12-22T00:56:47.612Z] (13/14) Installing openssh-server (8.3_p1-r1) [2020-12-22T00:56:47.612Z] (14/14) Installing openssh (8.3_p1-r1) [2020-12-22T00:56:47.879Z] Executing busybox-1.31.1-r19.trigger [2020-12-22T00:56:47.880Z] OK: 237 MiB in 53 packages [2020-12-22T00:56:51.234Z] Removing intermediate container 7adf4fdb73ac [2020-12-22T00:56:51.234Z] ---> 1ae4d36e769e [2020-12-22T00:56:51.234Z] Step 6/8 : WORKDIR /device-modbus-go [2020-12-22T00:56:51.234Z] ---> Running in 8763dc6d613e [2020-12-22T00:56:51.234Z] Removing intermediate container 8763dc6d613e [2020-12-22T00:56:51.234Z] ---> 5ec27cf258ed [2020-12-22T00:56:51.234Z] Step 7/8 : COPY . . [2020-12-22T00:56:52.181Z] ---> 939cf2809316 [2020-12-22T00:56:52.181Z] Step 8/8 : RUN go mod download [2020-12-22T00:56:52.453Z] ---> Running in 5841379768b2 [2020-12-22T00:57:10.804Z] Removing intermediate container 5841379768b2 [2020-12-22T00:57:10.804Z] ---> 541db72128ef [2020-12-22T00:57:10.804Z] Successfully built 541db72128ef [2020-12-22T00:57:10.804Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-22T00:57:11.146Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-22T00:57:11.146Z] . [Pipeline] withDockerContainer [2020-12-22T00:57:11.356Z] prd-centos7-docker-4c-2g-17146 does not seem to be running inside a container [2020-12-22T00:57:11.429Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/13 -v /w/workspace/device-modbus-go/13:/w/workspace/device-modbus-go/13:rw,z -v /w/workspace/device-modbus-go/13@tmp:/w/workspace/device-modbus-go/13@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-12-22T00:57:12.168Z] $ docker top fd862bae8e11c25fa47b2a474fdf0f7108e8403ba39c4c616afc8e6face55f28 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-22T00:57:12.644Z] + go version [2020-12-22T00:57:12.644Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-22T00:57:12.671Z] $ docker stop --time=1 fd862bae8e11c25fa47b2a474fdf0f7108e8403ba39c4c616afc8e6face55f28 [2020-12-22T00:57:14.022Z] $ docker rm -f fd862bae8e11c25fa47b2a474fdf0f7108e8403ba39c4c616afc8e6face55f28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-22T00:57:14.875Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-22T00:57:14.875Z] . [Pipeline] withDockerContainer [2020-12-22T00:57:14.979Z] prd-centos7-docker-4c-2g-17146 does not seem to be running inside a container [2020-12-22T00:57:15.035Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/13 -v /w/workspace/device-modbus-go/13:/w/workspace/device-modbus-go/13:rw,z -v /w/workspace/device-modbus-go/13@tmp:/w/workspace/device-modbus-go/13@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-12-22T00:57:15.664Z] $ docker top 5ec2bb6e52a86698c3c7fcdb08931381285c7ac73a7b56e06f0b9382ae0c7ff8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-22T00:57:16.178Z] + make test [2020-12-22T00:57:16.178Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-22T00:57:17.143Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-12-22T00:57:27.301Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-12-22T00:57:27.877Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.320s coverage: 50.2% of statements [2020-12-22T00:57:28.143Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-22T00:57:30.089Z] gofmt -l . [2020-12-22T00:57:30.352Z] internal/driver/config.go [2020-12-22T00:57:30.352Z] internal/driver/config_test.go [2020-12-22T00:57:30.352Z] internal/driver/protocolpropertykey.go [2020-12-22T00:57:30.352Z] [ "`gofmt -l .`" = "" ] [2020-12-22T00:57:30.352Z] make: *** [Makefile:27: test] Error 1 [Pipeline] } [2020-12-22T00:57:30.371Z] $ docker stop --time=1 5ec2bb6e52a86698c3c7fcdb08931381285c7ac73a7b56e06f0b9382ae0c7ff8 [2020-12-22T00:57:32.681Z] $ docker rm -f 5ec2bb6e52a86698c3c7fcdb08931381285c7ac73a7b56e06f0b9382ae0c7ff8 [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-12-22T00:57:34.306Z] Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (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-12-22T00:57:37.133Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-22T00:57:37.708Z] ---> package-listing.sh [2020-12-22T00:57:37.708Z] ++ facter osfamily [2020-12-22T00:57:37.708Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-22T00:57:37.708Z] + OS_FAMILY=redhat [2020-12-22T00:57:37.708Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-171 [2020-12-22T00:57:37.708Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-22T00:57:37.708Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-22T00:57:37.708Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-22T00:57:37.708Z] + PACKAGES=/tmp/packages_start.txt [2020-12-22T00:57:37.708Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-171 ']' [2020-12-22T00:57:37.708Z] + PACKAGES=/tmp/packages_end.txt [2020-12-22T00:57:37.708Z] + case "${OS_FAMILY}" in [2020-12-22T00:57:37.708Z] + rpm -qa [2020-12-22T00:57:37.708Z] + sort [2020-12-22T00:57:43.023Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-22T00:57:43.023Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-22T00:57:43.023Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-22T00:57:43.023Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-171 ']' [2020-12-22T00:57:43.023Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-171/archives/ [2020-12-22T00:57:43.023Z] + 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-12-22T00:57:43.036Z] 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-12-22T00:57:43.328Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-22T00:57:43.637Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-22T00:57:43.637Z] [2020-12-22T00:57:43.637Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-22T00:57:44.015Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-22T00:57:44.015Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-22T00:57:44.015Z] df20fa9351a1: Pulling fs layer [2020-12-22T00:57:44.015Z] 36b3adc4ff6f: Pulling fs layer [2020-12-22T00:57:44.015Z] 8ad3a11d3b57: Pulling fs layer [2020-12-22T00:57:44.015Z] 46f8f816bc3b: Pulling fs layer [2020-12-22T00:57:44.015Z] 93b61091891f: Pulling fs layer [2020-12-22T00:57:44.015Z] 93b9cdb0e59b: Pulling fs layer [2020-12-22T00:57:44.015Z] 5e14af77c1be: Pulling fs layer [2020-12-22T00:57:44.015Z] 01666e4c0597: Pulling fs layer [2020-12-22T00:57:44.015Z] aa168da1d23b: Pulling fs layer [2020-12-22T00:57:44.015Z] 46f8f816bc3b: Waiting [2020-12-22T00:57:44.015Z] 93b61091891f: Waiting [2020-12-22T00:57:44.015Z] 93b9cdb0e59b: Waiting [2020-12-22T00:57:44.015Z] 5e14af77c1be: Waiting [2020-12-22T00:57:44.015Z] 01666e4c0597: Waiting [2020-12-22T00:57:44.015Z] aa168da1d23b: Waiting [2020-12-22T00:57:44.015Z] 36b3adc4ff6f: Download complete [2020-12-22T00:57:44.015Z] 46f8f816bc3b: Verifying Checksum [2020-12-22T00:57:44.015Z] 46f8f816bc3b: Download complete [2020-12-22T00:57:44.279Z] df20fa9351a1: Download complete [2020-12-22T00:57:44.279Z] 93b9cdb0e59b: Verifying Checksum [2020-12-22T00:57:44.279Z] 93b9cdb0e59b: Download complete [2020-12-22T00:57:44.279Z] 93b61091891f: Verifying Checksum [2020-12-22T00:57:44.279Z] 93b61091891f: Download complete [2020-12-22T00:57:44.279Z] 5e14af77c1be: Verifying Checksum [2020-12-22T00:57:44.279Z] 5e14af77c1be: Download complete [2020-12-22T00:57:44.279Z] 01666e4c0597: Verifying Checksum [2020-12-22T00:57:44.279Z] 01666e4c0597: Download complete [2020-12-22T00:57:44.279Z] 8ad3a11d3b57: Verifying Checksum [2020-12-22T00:57:44.279Z] 8ad3a11d3b57: Download complete [2020-12-22T00:57:44.548Z] df20fa9351a1: Pull complete [2020-12-22T00:57:44.815Z] 36b3adc4ff6f: Pull complete [2020-12-22T00:57:45.407Z] 8ad3a11d3b57: Pull complete [2020-12-22T00:57:45.680Z] 46f8f816bc3b: Pull complete [2020-12-22T00:57:46.255Z] 93b61091891f: Pull complete [2020-12-22T00:57:46.255Z] aa168da1d23b: Verifying Checksum [2020-12-22T00:57:46.255Z] aa168da1d23b: Download complete [2020-12-22T00:57:46.255Z] 93b9cdb0e59b: Pull complete [2020-12-22T00:57:46.517Z] 5e14af77c1be: Pull complete [2020-12-22T00:57:46.517Z] 01666e4c0597: Pull complete [2020-12-22T00:57:53.168Z] aa168da1d23b: Pull complete [2020-12-22T00:57:53.168Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-22T00:57:53.168Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-22T00:57:53.168Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-22T00:57:53.371Z] prd-centos7-docker-4c-2g-17130 does not seem to be running inside a container [2020-12-22T00:57:53.424Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-22T00:57:57.139Z] $ docker top 8d8e116c7036595d7aa32301c36f867d9167ec0c976509d41a46bf44f96cc212 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-22T00:57:57.626Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-22T00:57:57.925Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-22T00:57:58.233Z] + ls /var/log/sa-host [2020-12-22T00:57:58.233Z] + sadf -c /var/log/sa-host/sa22 [2020-12-22T00:57:58.233Z] file_magic: OK [2020-12-22T00:57:58.233Z] HZ: Using current value: 100 [2020-12-22T00:57:58.233Z] file_header: OK [2020-12-22T00:57:58.233Z] 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-12-22T00:57:58.233Z] Statistics: [2020-12-22T00:57:58.233Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-22T00:57:58.233Z] File successfully converted to sysstat format version 12.2.1 [2020-12-22T00:57:58.233Z] + sadf -c /var/log/sa-host/sa23 [2020-12-22T00:57:58.233Z] file_magic: OK [2020-12-22T00:57:58.233Z] HZ: Using current value: 100 [2020-12-22T00:57:58.233Z] file_header: OK [2020-12-22T00:57:58.233Z] 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-12-22T00:57:58.233Z] Statistics: [2020-12-22T00:57:58.233Z] Hnuu...uuuununununu... [2020-12-22T00:57:58.233Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-22T00:57:58.840Z] provisioning config files... [2020-12-22T00:57:58.860Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/config2332734058058487383tmp [Pipeline] { [Pipeline] echo [2020-12-22T00:57:58.930Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-22T00:57:59.253Z] ---> create-netrc.sh [Pipeline] } [2020-12-22T00:57:59.272Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-22T00:57:59.367Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-22T00:57:59.665Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-22T00:57:59.677Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-22T00:57:59.974Z] ---> sudo-logs.sh [2020-12-22T00:57:59.974Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-22T00:57:59.987Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-22T00:58:00.289Z] ---> job-cost.sh [2020-12-22T00:58:00.289Z] lf-activate-venv: SKIPPING [2020-12-22T00:58:00.289Z] INFO: No Stack... [2020-12-22T00:58:01.236Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-22T00:58:01.818Z] INFO: Archiving Costs [Pipeline] echo [2020-12-22T00:58:01.841Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-22T00:58:02.140Z] ---> logs-deploy.sh [2020-12-22T00:58:02.140Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-171/13 [2020-12-22T00:58:02.140Z] INFO: archiving workspace using pattern(s): [2020-12-22T00:58:04.061Z] Archives upload complete. [2020-12-22T00:58:04.061Z] INFO: archiving logs to Nexus