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 4af33ebb689733641b720494a11ef5733337ae1c rather than 205d20470621f6877b30549a0d87a32e67fc54e2 Obtained Jenkinsfile from 4af33ebb689733641b720494a11ef5733337ae1c 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 Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-16795 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 4af33ebb689733641b720494a11ef5733337ae1c into PR head commit 205d20470621f6877b30549a0d87a32e67fc54e2 Merge succeeded, producing 123ecb90bdaabdcd76427ba92d3aefc391518fee Checking out Revision 123ecb90bdaabdcd76427ba92d3aefc391518fee (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 4af33ebb689733641b720494a11ef5733337ae1c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 123ecb90bdaabdcd76427ba92d3aefc391518fee # timeout=10 Commit message: "Merge commit '4af33ebb689733641b720494a11ef5733337ae1c' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-19T00:53:30.586Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk ada7139d1cd737306f4051a5c6f37f9024dc23cf # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-19T00:53:31.012Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-19T00:53:31.132Z] ========================================================= [2020-12-19T00:53:31.132Z] EdgeX Global Pipelines Version Info [2020-12-19T00:53:31.132Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-19T00:53:32.535Z] ------------------- [2020-12-19T00:53:32.535Z] stable info: [2020-12-19T00:53:32.535Z] ------------------- [2020-12-19T00:53:32.535Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-19T00:53:32.535Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-19T00:53:32.535Z] Message: update stable to v1.0.173 [2020-12-19T00:53:33.479Z] ------------------- [2020-12-19T00:53:33.479Z] experimental info: [2020-12-19T00:53:33.479Z] ------------------- [2020-12-19T00:53:33.479Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-19T00:53:33.479Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-19T00:53:33.479Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-19T00:53:33.767Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2020-12-19T00:53:33.874Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2020-12-19T00:53:33.976Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-19T00:53:34.075Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-19T00:53:34.174Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-19T00:53:34.275Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-19T00:53:34.388Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-19T00:53:34.490Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-19T00:53:34.612Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-19T00:53:34.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-19T00:53:34.814Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-19T00:53:34.914Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo [2020-12-19T00:53:35.013Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-19T00:53:35.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-19T00:53:35.215Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-19T00:53:35.314Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-19T00:53:35.420Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-19T00:53:35.521Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-19T00:53:35.622Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-19T00:53:35.782Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-12-19T00:53:35.881Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-19T00:53:35.980Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-19T00:53:36.082Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-19T00:53:36.186Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-19T00:53:36.279Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-19T00:53:36.374Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-19T00:53:36.473Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-19T00:53:36.564Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-171 [Pipeline] echo [2020-12-19T00:53:36.664Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-171 [Pipeline] echo [2020-12-19T00:53:36.759Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-171 [Pipeline] echo [2020-12-19T00:53:36.903Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 123ecb90bdaabdcd76427ba92d3aefc391518fee [Pipeline] echo [2020-12-19T00:53:36.999Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 123ecb9 [Pipeline] echo [2020-12-19T00:53:37.094Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-19T00:53:37.274Z] provisioning config files... [2020-12-19T00:53:37.303Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/config1893445304715808213tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-19T00:53:37.707Z] ---> docker-login.sh [2020-12-19T00:53:37.707Z] nexus3.edgexfoundry.org:10001 [2020-12-19T00:53:37.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T00:53:37.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T00:53:37.970Z] Configure a credential helper to remove this warning. See [2020-12-19T00:53:37.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T00:53:37.970Z] [2020-12-19T00:53:37.970Z] Login Succeeded [2020-12-19T00:53:37.970Z] nexus3.edgexfoundry.org:10002 [2020-12-19T00:53:38.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T00:53:38.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T00:53:38.231Z] Configure a credential helper to remove this warning. See [2020-12-19T00:53:38.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T00:53:38.231Z] [2020-12-19T00:53:38.231Z] Login Succeeded [2020-12-19T00:53:38.231Z] nexus3.edgexfoundry.org:10003 [2020-12-19T00:53:38.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T00:53:38.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T00:53:38.494Z] Configure a credential helper to remove this warning. See [2020-12-19T00:53:38.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T00:53:38.494Z] [2020-12-19T00:53:38.494Z] Login Succeeded [2020-12-19T00:53:38.494Z] nexus3.edgexfoundry.org:10004 [2020-12-19T00:53:38.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T00:53:38.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T00:53:38.494Z] Configure a credential helper to remove this warning. See [2020-12-19T00:53:38.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T00:53:38.494Z] [2020-12-19T00:53:38.494Z] Login Succeeded [2020-12-19T00:53:38.494Z] docker.io [2020-12-19T00:53:38.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T00:53:39.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T00:53:39.019Z] Configure a credential helper to remove this warning. See [2020-12-19T00:53:39.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T00:53:39.019Z] [2020-12-19T00:53:39.019Z] Login Succeeded [2020-12-19T00:53:39.019Z] ---> docker-login.sh ends [Pipeline] } [2020-12-19T00:53:39.030Z] 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-19T00:53:39.886Z] + git log --format=format:%s -1 123ecb90bdaabdcd76427ba92d3aefc391518fee [Pipeline] echo [2020-12-19T00:53:39.982Z] GIT_COMMIT: 123ecb90bdaabdcd76427ba92d3aefc391518fee, Commit Message: Merge commit '4af33ebb689733641b720494a11ef5733337ae1c' into HEAD [Pipeline] echo [2020-12-19T00:53:40.074Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-19T00:53:41.136Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-19T00:53:41.136Z] [2020-12-19T00:53:41.136Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-19T00:53:41.495Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-19T00:53:41.495Z] latest: Pulling from edgex-devops/git-semver [2020-12-19T00:53:41.495Z] 31603596830f: Pulling fs layer [2020-12-19T00:53:41.495Z] 2a8b12db71e7: Pulling fs layer [2020-12-19T00:53:41.495Z] 6ca5941a6612: Pulling fs layer [2020-12-19T00:53:41.495Z] ecc8261a40a4: Pulling fs layer [2020-12-19T00:53:41.495Z] ecc8261a40a4: Waiting [2020-12-19T00:53:41.495Z] 2a8b12db71e7: Download complete [2020-12-19T00:53:41.495Z] 31603596830f: Verifying Checksum [2020-12-19T00:53:41.495Z] 31603596830f: Download complete [2020-12-19T00:53:42.084Z] 6ca5941a6612: Verifying Checksum [2020-12-19T00:53:42.084Z] 6ca5941a6612: Download complete [2020-12-19T00:53:42.084Z] ecc8261a40a4: Verifying Checksum [2020-12-19T00:53:42.084Z] ecc8261a40a4: Download complete [2020-12-19T00:53:42.084Z] 31603596830f: Pull complete [2020-12-19T00:53:42.084Z] 2a8b12db71e7: Pull complete [2020-12-19T00:53:43.031Z] 6ca5941a6612: Pull complete [2020-12-19T00:53:43.031Z] ecc8261a40a4: Pull complete [2020-12-19T00:53:43.031Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-19T00:53:43.031Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-19T00:53:43.031Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-19T00:53:43.138Z] prd-centos7-docker-4c-2g-16795 does not seem to be running inside a container [2020-12-19T00:53:43.190Z] $ 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-19T00:53:45.247Z] $ docker top df6f5062155d1721ceaa9ca1d1bc655e042802a694f79329b7f701891b2af57a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-19T00:53:45.628Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-19T00:53:45.628Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-19T00:53:45.846Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-19T00:53:45.851Z] $ docker exec df6f5062155d1721ceaa9ca1d1bc655e042802a694f79329b7f701891b2af57a ssh-agent [2020-12-19T00:53:46.019Z] SSH_AUTH_SOCK=/tmp/ssh-sAQHWzySvPhG/agent.11 [2020-12-19T00:53:46.020Z] SSH_AGENT_PID=17 [2020-12-19T00:53:46.032Z] Running ssh-add (command line suppressed) [2020-12-19T00:53:46.157Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_2501347255991998035.key (/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_2501347255991998035.key) [2020-12-19T00:53:46.214Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-19T00:53:46.574Z] + git tag --points-at HEAD [Pipeline] } [2020-12-19T00:53:46.596Z] $ docker exec --env ******** --env ******** df6f5062155d1721ceaa9ca1d1bc655e042802a694f79329b7f701891b2af57a ssh-agent -k [2020-12-19T00:53:46.714Z] unset SSH_AUTH_SOCK; [2020-12-19T00:53:46.714Z] unset SSH_AGENT_PID; [2020-12-19T00:53:46.714Z] echo Agent pid 17 killed; [2020-12-19T00:53:46.758Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-19T00:53:46.959Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-19T00:53:46.959Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-19T00:53:47.126Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-19T00:53:47.131Z] $ docker exec df6f5062155d1721ceaa9ca1d1bc655e042802a694f79329b7f701891b2af57a ssh-agent [2020-12-19T00:53:47.288Z] SSH_AUTH_SOCK=/tmp/ssh-AJhPsANb5KlL/agent.47 [2020-12-19T00:53:47.288Z] SSH_AGENT_PID=52 [2020-12-19T00:53:47.295Z] Running ssh-add (command line suppressed) [2020-12-19T00:53:47.413Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_1079777717646612616.key (/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_1079777717646612616.key) [2020-12-19T00:53:47.462Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-19T00:53:47.800Z] + git semver init [2020-12-19T00:53:47.800Z] # -> Open(): unable to determine branch for HEAD [2020-12-19T00:53:47.800Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-171/.git [2020-12-19T00:53:47.800Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-171 [2020-12-19T00:53:47.800Z] # $SEMVER_REMOTE_NAME = origin [2020-12-19T00:53:47.800Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-19T00:53:47.800Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-19T00:53:47.800Z] # $SEMVER_BRANCH = PR-171 [2020-12-19T00:53:47.800Z] # $SEMVER_TEMP = /tmp/semver-053833095 [2020-12-19T00:53:47.800Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-12-19T00:53:48.374Z] # '/tmp/semver-053833095' -> '/w/workspace/xfoundry_device-modbus-go_PR-171/.semver' [2020-12-19T00:53:48.374Z] # -> Force: false [2020-12-19T00:53:48.374Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-171/.semver [Pipeline] } [2020-12-19T00:53:48.392Z] $ docker exec --env ******** --env ******** df6f5062155d1721ceaa9ca1d1bc655e042802a694f79329b7f701891b2af57a ssh-agent -k [2020-12-19T00:53:48.504Z] unset SSH_AUTH_SOCK; [2020-12-19T00:53:48.505Z] unset SSH_AGENT_PID; [2020-12-19T00:53:48.505Z] echo Agent pid 52 killed; [2020-12-19T00:53:48.547Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-19T00:53:49.031Z] + git semver [Pipeline] } [2020-12-19T00:53:49.051Z] $ docker stop --time=1 df6f5062155d1721ceaa9ca1d1bc655e042802a694f79329b7f701891b2af57a [2020-12-19T00:53:50.544Z] $ docker rm -f df6f5062155d1721ceaa9ca1d1bc655e042802a694f79329b7f701891b2af57a [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-19T00:53:51.019Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-19T00:53:51.558Z] Stashed 1 file(s) [Pipeline] echo [2020-12-19T00:53:51.560Z] [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-19T00:54:07.115Z] Still waiting to schedule task [2020-12-19T00:54:07.115Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-19T00:54:07.117Z] Still waiting to schedule task [2020-12-19T00:54:07.117Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-16794’ [2020-12-19T00:55:49.923Z] Running on prd-centos7-docker-4c-2g-16797 in /w/workspace/xfoundry_device-modbus-go_PR-171 [Pipeline] { [Pipeline] ws [2020-12-19T00:55:49.982Z] Running in /w/workspace/device-modbus-go/12 [Pipeline] { [Pipeline] checkout [2020-12-19T00:55:52.334Z] using credential edgex-jenkins-ssh [2020-12-19T00:55:52.438Z] Cloning the remote Git repository [2020-12-19T00:55:52.328Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-12-19T00:55:52.407Z] > git init /w/workspace/device-modbus-go/12 # timeout=10 [2020-12-19T00:55:52.471Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-12-19T00:55:52.472Z] > git --version # timeout=10 [2020-12-19T00:55:52.479Z] > git --version # 'git version 2.24.3' [2020-12-19T00:55:52.479Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-19T00:55:52.506Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-19T00:55:53.181Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-12-19T00:55:53.191Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-19T00:55:53.203Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-12-19T00:55:53.215Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-12-19T00:55:53.216Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-19T00:55:53.223Z] > 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-19T00:55:53.732Z] Merging remotes/origin/master commit 4af33ebb689733641b720494a11ef5733337ae1c into PR head commit 205d20470621f6877b30549a0d87a32e67fc54e2 [2020-12-19T00:55:53.834Z] Merge succeeded, producing ff0ed155ee10702badaa12615c09f708db18f2b1 [2020-12-19T00:55:53.834Z] Checking out Revision ff0ed155ee10702badaa12615c09f708db18f2b1 (PR-171) [2020-12-19T00:55:53.706Z] > git config core.sparsecheckout # timeout=10 [2020-12-19T00:55:53.714Z] > git checkout -f 205d20470621f6877b30549a0d87a32e67fc54e2 # timeout=10 [2020-12-19T00:55:53.753Z] > git remote # timeout=10 [2020-12-19T00:55:53.759Z] > git config --get remote.origin.url # timeout=10 [2020-12-19T00:55:53.765Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-19T00:55:53.769Z] > git merge 4af33ebb689733641b720494a11ef5733337ae1c # timeout=10 [2020-12-19T00:55:53.796Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-19T00:55:53.811Z] > git config core.sparsecheckout # timeout=10 [2020-12-19T00:55:53.818Z] > git checkout -f ff0ed155ee10702badaa12615c09f708db18f2b1 # timeout=10 [2020-12-19T00:55:57.528Z] Commit message: "Merge commit '4af33ebb689733641b720494a11ef5733337ae1c' into HEAD" [2020-12-19T00:55:57.538Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-19T00:55:57.534Z] > git rev-list --no-walk ada7139d1cd737306f4051a5c6f37f9024dc23cf # timeout=10 [2020-12-19T00:55:58.938Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-19T00:55:59.268Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-19T00:55:59.561Z] + sudo service docker restart [2020-12-19T00:55:59.562Z] + true [2020-12-19T00:55:59.562Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-19T00:56:00.611Z] provisioning config files... [2020-12-19T00:56:00.636Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/12@tmp/config9153608869241728108tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-19T00:56:01.002Z] ---> docker-login.sh [2020-12-19T00:56:01.002Z] nexus3.edgexfoundry.org:10001 [2020-12-19T00:56:01.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T00:56:01.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T00:56:01.264Z] Configure a credential helper to remove this warning. See [2020-12-19T00:56:01.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T00:56:01.264Z] [2020-12-19T00:56:01.264Z] Login Succeeded [2020-12-19T00:56:01.264Z] nexus3.edgexfoundry.org:10002 [2020-12-19T00:56:01.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T00:56:01.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T00:56:01.529Z] Configure a credential helper to remove this warning. See [2020-12-19T00:56:01.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T00:56:01.529Z] [2020-12-19T00:56:01.529Z] Login Succeeded [2020-12-19T00:56:01.529Z] nexus3.edgexfoundry.org:10003 [2020-12-19T00:56:01.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T00:56:01.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T00:56:01.791Z] Configure a credential helper to remove this warning. See [2020-12-19T00:56:01.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T00:56:01.791Z] [2020-12-19T00:56:01.791Z] Login Succeeded [2020-12-19T00:56:01.791Z] nexus3.edgexfoundry.org:10004 [2020-12-19T00:56:02.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T00:56:02.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T00:56:02.054Z] Configure a credential helper to remove this warning. See [2020-12-19T00:56:02.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T00:56:02.054Z] [2020-12-19T00:56:02.054Z] Login Succeeded [2020-12-19T00:56:02.054Z] docker.io [2020-12-19T00:56:02.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T00:56:02.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T00:56:02.632Z] Configure a credential helper to remove this warning. See [2020-12-19T00:56:02.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T00:56:02.632Z] [2020-12-19T00:56:02.632Z] Login Succeeded [2020-12-19T00:56:02.632Z] ---> docker-login.sh ends [Pipeline] } [2020-12-19T00:56:02.648Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-19T00:56:02.962Z] ========================================================= [2020-12-19T00:56:02.962Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-19T00:56:02.962Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-19T00:56:03.338Z] + 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-19T00:56:03.338Z] Sending build context to Docker daemon 620kB [2020-12-19T00:56:03.338Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2020-12-19T00:56:03.338Z] Step 2/8 : FROM ${BASE} [2020-12-19T00:56:03.607Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-19T00:56:03.607Z] 188c0c94c7c5: Pulling fs layer [2020-12-19T00:56:03.607Z] 0ef7d3d256c8: Pulling fs layer [2020-12-19T00:56:03.607Z] de9db76c5a1d: Pulling fs layer [2020-12-19T00:56:03.607Z] bca2f99d35d6: Pulling fs layer [2020-12-19T00:56:03.607Z] 93359f2a8cfa: Pulling fs layer [2020-12-19T00:56:03.607Z] 7c6f9722023f: Pulling fs layer [2020-12-19T00:56:03.607Z] a35cf1a2eb13: Pulling fs layer [2020-12-19T00:56:03.607Z] 93359f2a8cfa: Waiting [2020-12-19T00:56:03.607Z] 7c6f9722023f: Waiting [2020-12-19T00:56:03.607Z] a35cf1a2eb13: Waiting [2020-12-19T00:56:03.607Z] bca2f99d35d6: Waiting [2020-12-19T00:56:03.607Z] de9db76c5a1d: Verifying Checksum [2020-12-19T00:56:03.607Z] de9db76c5a1d: Download complete [2020-12-19T00:56:03.607Z] 93359f2a8cfa: Verifying Checksum [2020-12-19T00:56:03.607Z] 93359f2a8cfa: Download complete [2020-12-19T00:56:03.607Z] 188c0c94c7c5: Verifying Checksum [2020-12-19T00:56:03.607Z] 188c0c94c7c5: Download complete [2020-12-19T00:56:03.607Z] 7c6f9722023f: Verifying Checksum [2020-12-19T00:56:03.607Z] 7c6f9722023f: Download complete [2020-12-19T00:56:03.874Z] 188c0c94c7c5: Pull complete [2020-12-19T00:56:04.135Z] 0ef7d3d256c8: Pull complete [2020-12-19T00:56:04.135Z] de9db76c5a1d: Pull complete [2020-12-19T00:56:05.532Z] a35cf1a2eb13: Verifying Checksum [2020-12-19T00:56:05.532Z] a35cf1a2eb13: Download complete [2020-12-19T00:56:05.794Z] bca2f99d35d6: Verifying Checksum [2020-12-19T00:56:05.794Z] bca2f99d35d6: Download complete [2020-12-19T00:56:11.123Z] bca2f99d35d6: Pull complete [2020-12-19T00:56:11.386Z] 93359f2a8cfa: Pull complete [2020-12-19T00:56:11.651Z] 7c6f9722023f: Pull complete [2020-12-19T00:56:14.985Z] a35cf1a2eb13: Pull complete [2020-12-19T00:56:14.985Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-19T00:56:14.985Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-19T00:56:14.985Z] ---> a62c8e92a672 [2020-12-19T00:56:14.985Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-19T00:56:15.254Z] ---> Running in 02e9a94a8596 [2020-12-19T00:56:15.516Z] Removing intermediate container 02e9a94a8596 [2020-12-19T00:56:15.516Z] ---> e51a81dc1ef9 [2020-12-19T00:56:15.516Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-19T00:56:15.516Z] ---> Running in a1ba89505d2a [2020-12-19T00:56:16.917Z] Removing intermediate container a1ba89505d2a [2020-12-19T00:56:16.917Z] ---> 039a738672a1 [2020-12-19T00:56:16.917Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-19T00:56:16.917Z] ---> Running in d3a9203e9f6b [2020-12-19T00:56:17.865Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-19T00:56:18.438Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-19T00:56:19.013Z] (1/14) Installing libmagic (5.38-r0) [2020-12-19T00:56:19.597Z] (2/14) Installing file (5.38-r0) [2020-12-19T00:56:19.597Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-19T00:56:19.597Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-19T00:56:34.535Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-19T00:56:34.535Z] (6/14) Installing patch (2.7.6-r6) [2020-12-19T00:56:34.535Z] (7/14) Installing build-base (0.5-r2) [2020-12-19T00:56:34.535Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2020-12-19T00:56:34.535Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-19T00:56:34.535Z] (10/14) Installing openssh-client (8.3_p1-r1) [2020-12-19T00:56:37.116Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2020-12-19T00:56:37.116Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2020-12-19T00:56:37.116Z] (13/14) Installing openssh-server (8.3_p1-r1) [2020-12-19T00:56:37.695Z] (14/14) Installing openssh (8.3_p1-r1) [2020-12-19T00:56:37.959Z] Executing busybox-1.31.1-r19.trigger [2020-12-19T00:56:37.959Z] OK: 237 MiB in 53 packages [2020-12-19T00:56:41.280Z] Removing intermediate container d3a9203e9f6b [2020-12-19T00:56:41.280Z] ---> e93aad2b2cf4 [2020-12-19T00:56:41.280Z] Step 6/8 : WORKDIR /device-modbus-go [2020-12-19T00:56:41.280Z] ---> Running in fe238b359168 [2020-12-19T00:56:41.544Z] Removing intermediate container fe238b359168 [2020-12-19T00:56:41.544Z] ---> 349f1b92cb05 [2020-12-19T00:56:41.544Z] Step 7/8 : COPY . . [2020-12-19T00:56:42.495Z] ---> d1e5f1a26174 [2020-12-19T00:56:42.495Z] Step 8/8 : RUN go mod download [2020-12-19T00:56:42.766Z] ---> Running in 85b7637607f3 [2020-12-19T00:57:00.869Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-16798 in /w/workspace/xfoundry_device-modbus-go_PR-171 [Pipeline] { [Pipeline] ws [2020-12-19T00:57:00.940Z] Running in /w/workspace/device-modbus-go/12 [Pipeline] { [Pipeline] checkout [2020-12-19T00:57:04.799Z] Removing intermediate container 85b7637607f3 [2020-12-19T00:57:04.799Z] ---> 8804dba0187b [2020-12-19T00:57:04.799Z] Successfully built 8804dba0187b [2020-12-19T00:57:04.799Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-19T00:57:05.115Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-19T00:57:05.115Z] . [Pipeline] withDockerContainer [2020-12-19T00:57:05.234Z] prd-centos7-docker-4c-2g-16797 does not seem to be running inside a container [2020-12-19T00:57:05.287Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/12 -v /w/workspace/device-modbus-go/12:/w/workspace/device-modbus-go/12:rw,z -v /w/workspace/device-modbus-go/12@tmp:/w/workspace/device-modbus-go/12@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-19T00:57:05.815Z] using credential edgex-jenkins-ssh [2020-12-19T00:57:05.874Z] Cloning the remote Git repository [2020-12-19T00:57:06.053Z] $ docker top badfc4b0607f39f1a5f2bd8b926f0d61a5b5674cb6fbdb41c7ff4e685384c335 -eo pid,comm [2020-12-19T00:57:05.931Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-12-19T00:57:06.038Z] > git init /w/workspace/device-modbus-go/12 # timeout=10 [Pipeline] { [Pipeline] sh [2020-12-19T00:57:06.575Z] + go version [2020-12-19T00:57:06.575Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-19T00:57:06.592Z] $ docker stop --time=1 badfc4b0607f39f1a5f2bd8b926f0d61a5b5674cb6fbdb41c7ff4e685384c335 [2020-12-19T00:57:06.116Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-12-19T00:57:06.117Z] > git --version # timeout=10 [2020-12-19T00:57:06.140Z] > git --version # 'git version 2.17.1' [2020-12-19T00:57:06.141Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-19T00:57:06.222Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-19T00:57:07.002Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-12-19T00:57:07.020Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-19T00:57:07.050Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-12-19T00:57:07.081Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-12-19T00:57:07.081Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-19T00:57:07.099Z] > 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-19T00:57:07.759Z] Merging remotes/origin/master commit 4af33ebb689733641b720494a11ef5733337ae1c into PR head commit 205d20470621f6877b30549a0d87a32e67fc54e2 [2020-12-19T00:57:07.974Z] $ docker rm -f badfc4b0607f39f1a5f2bd8b926f0d61a5b5674cb6fbdb41c7ff4e685384c335 [2020-12-19T00:57:08.061Z] Merge succeeded, producing b3e171872c4850fb04c2cbc3e9f3d8a9aaa10ec3 [2020-12-19T00:57:08.062Z] Checking out Revision b3e171872c4850fb04c2cbc3e9f3d8a9aaa10ec3 (PR-171) [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-19T00:57:07.786Z] > git config core.sparsecheckout # timeout=10 [2020-12-19T00:57:07.812Z] > git checkout -f 205d20470621f6877b30549a0d87a32e67fc54e2 # timeout=10 [2020-12-19T00:57:07.894Z] > git remote # timeout=10 [2020-12-19T00:57:07.911Z] > git config --get remote.origin.url # timeout=10 [2020-12-19T00:57:07.930Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-19T00:57:07.945Z] > git merge 4af33ebb689733641b720494a11ef5733337ae1c # timeout=10 [2020-12-19T00:57:08.003Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-19T00:57:08.071Z] > git config core.sparsecheckout # timeout=10 [2020-12-19T00:57:08.095Z] > git checkout -f b3e171872c4850fb04c2cbc3e9f3d8a9aaa10ec3 # timeout=10 [2020-12-19T00:57:08.893Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-19T00:57:08.893Z] . [Pipeline] withDockerContainer [2020-12-19T00:57:08.993Z] prd-centos7-docker-4c-2g-16797 does not seem to be running inside a container [2020-12-19T00:57:09.050Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/12 -v /w/workspace/device-modbus-go/12:/w/workspace/device-modbus-go/12:rw,z -v /w/workspace/device-modbus-go/12@tmp:/w/workspace/device-modbus-go/12@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-19T00:57:09.713Z] $ docker top 19439a469a3e904757b27eaaf96fc79e7a86a367814fc3d90de8effe5ceeadf6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-19T00:57:10.265Z] + make test [2020-12-19T00:57:10.265Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-19T00:57:12.213Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-12-19T00:57:12.660Z] Commit message: "Merge commit '4af33ebb689733641b720494a11ef5733337ae1c' into HEAD" [2020-12-19T00:57:12.690Z] First time build. Skipping changelog. [2020-12-19T00:57:12.672Z] > git rev-list --no-walk ada7139d1cd737306f4051a5c6f37f9024dc23cf # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-19T00:57:14.196Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-19T00:57:14.602Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-19T00:57:14.948Z] + sudo service+ docker restart [2020-12-19T00:57:14.948Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-19T00:57:17.010Z] provisioning config files... [2020-12-19T00:57:17.062Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/12@tmp/config8263359429681995571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-19T00:57:17.482Z] ---> docker-login.sh [2020-12-19T00:57:17.482Z] nexus3.edgexfoundry.org:10001 [2020-12-19T00:57:18.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T00:57:18.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T00:57:18.755Z] Configure a credential helper to remove this warning. See [2020-12-19T00:57:18.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T00:57:18.755Z] [2020-12-19T00:57:18.755Z] Login Succeeded [2020-12-19T00:57:18.755Z] nexus3.edgexfoundry.org:10002 [2020-12-19T00:57:19.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T00:57:19.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T00:57:19.304Z] Configure a credential helper to remove this warning. See [2020-12-19T00:57:19.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T00:57:19.304Z] [2020-12-19T00:57:19.304Z] Login Succeeded [2020-12-19T00:57:19.304Z] nexus3.edgexfoundry.org:10003 [2020-12-19T00:57:19.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T00:57:19.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T00:57:19.903Z] Configure a credential helper to remove this warning. See [2020-12-19T00:57:19.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T00:57:19.903Z] [2020-12-19T00:57:19.903Z] Login Succeeded [2020-12-19T00:57:19.903Z] nexus3.edgexfoundry.org:10004 [2020-12-19T00:57:20.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T00:57:20.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T00:57:20.505Z] Configure a credential helper to remove this warning. See [2020-12-19T00:57:20.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T00:57:20.505Z] [2020-12-19T00:57:20.505Z] Login Succeeded [2020-12-19T00:57:20.505Z] docker.io [2020-12-19T00:57:20.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T00:57:21.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T00:57:21.382Z] Configure a credential helper to remove this warning. See [2020-12-19T00:57:21.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T00:57:21.382Z] [2020-12-19T00:57:21.382Z] Login Succeeded [2020-12-19T00:57:21.382Z] ---> docker-login.sh ends [Pipeline] } [2020-12-19T00:57:21.401Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-19T00:57:21.854Z] ========================================================= [2020-12-19T00:57:21.854Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-19T00:57:21.854Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-19T00:57:22.258Z] + 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-19T00:57:22.352Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-12-19T00:57:22.532Z] Sending build context to Docker daemon 619kB [2020-12-19T00:57:22.807Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2020-12-19T00:57:22.807Z] Step 2/8 : FROM ${BASE} [2020-12-19T00:57:22.807Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-19T00:57:22.807Z] 5f621e34cdf4: Pulling fs layer [2020-12-19T00:57:22.807Z] a4357932f1b6: Pulling fs layer [2020-12-19T00:57:22.807Z] 18c013af1878: Pulling fs layer [2020-12-19T00:57:22.807Z] 00ac8860ef70: Pulling fs layer [2020-12-19T00:57:22.807Z] 63d7cb157983: Pulling fs layer [2020-12-19T00:57:22.807Z] b116817d02f9: Pulling fs layer [2020-12-19T00:57:22.807Z] 745a02a5169b: Pulling fs layer [2020-12-19T00:57:22.807Z] 00ac8860ef70: Waiting [2020-12-19T00:57:22.807Z] b116817d02f9: Waiting [2020-12-19T00:57:22.807Z] 63d7cb157983: Waiting [2020-12-19T00:57:22.807Z] 18c013af1878: Verifying Checksum [2020-12-19T00:57:22.807Z] 18c013af1878: Download complete [2020-12-19T00:57:22.807Z] a4357932f1b6: Download complete [2020-12-19T00:57:22.807Z] 63d7cb157983: Verifying Checksum [2020-12-19T00:57:22.807Z] 63d7cb157983: Download complete [2020-12-19T00:57:22.807Z] b116817d02f9: Verifying Checksum [2020-12-19T00:57:22.807Z] b116817d02f9: Download complete [2020-12-19T00:57:22.807Z] 5f621e34cdf4: Verifying Checksum [2020-12-19T00:57:22.807Z] 5f621e34cdf4: Download complete [2020-12-19T00:57:22.928Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.250s coverage: 50.2% of statements [2020-12-19T00:57:23.190Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-19T00:57:23.406Z] 5f621e34cdf4: Pull complete [2020-12-19T00:57:24.023Z] a4357932f1b6: Pull complete [2020-12-19T00:57:24.631Z] 18c013af1878: Pull complete [2020-12-19T00:57:25.140Z] gofmt -l . [2020-12-19T00:57:25.233Z] 745a02a5169b: Verifying Checksum [2020-12-19T00:57:25.233Z] 745a02a5169b: Download complete [2020-12-19T00:57:25.404Z] internal/driver/config.go [2020-12-19T00:57:25.404Z] internal/driver/config_test.go [2020-12-19T00:57:25.404Z] internal/driver/protocolpropertykey.go [2020-12-19T00:57:25.404Z] [ "`gofmt -l .`" = "" ] [2020-12-19T00:57:25.404Z] make: *** [Makefile:27: test] Error 1 [Pipeline] } [2020-12-19T00:57:25.432Z] $ docker stop --time=1 19439a469a3e904757b27eaaf96fc79e7a86a367814fc3d90de8effe5ceeadf6 [2020-12-19T00:57:26.663Z] 00ac8860ef70: Verifying Checksum [2020-12-19T00:57:26.663Z] 00ac8860ef70: Download complete [2020-12-19T00:57:27.744Z] $ docker rm -f 19439a469a3e904757b27eaaf96fc79e7a86a367814fc3d90de8effe5ceeadf6 [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-19T00:57:29.715Z] Failed in branch amd64 [2020-12-19T00:57:36.809Z] 00ac8860ef70: Pull complete [2020-12-19T00:57:36.809Z] 63d7cb157983: Pull complete [2020-12-19T00:57:36.809Z] b116817d02f9: Pull complete [2020-12-19T00:57:40.202Z] 745a02a5169b: Pull complete [2020-12-19T00:57:40.202Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-19T00:57:40.202Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-19T00:57:40.202Z] ---> b7e6874047d6 [2020-12-19T00:57:40.202Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-19T00:57:42.818Z] ---> Running in 064576d1d0c0 [2020-12-19T00:57:43.091Z] Removing intermediate container 064576d1d0c0 [2020-12-19T00:57:43.091Z] ---> a4bd28705e97 [2020-12-19T00:57:43.091Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-19T00:57:43.362Z] ---> Running in 0e1d33bb18bb [2020-12-19T00:57:45.351Z] Removing intermediate container 0e1d33bb18bb [2020-12-19T00:57:45.351Z] ---> 535dcf743122 [2020-12-19T00:57:45.351Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-19T00:57:45.351Z] ---> Running in 0ebadb5c2e24 [2020-12-19T00:57:46.333Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-19T00:57:47.309Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-19T00:57:47.898Z] (1/14) Installing libmagic (5.38-r0) [2020-12-19T00:57:48.168Z] (2/14) Installing file (5.38-r0) [2020-12-19T00:57:48.168Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-19T00:57:48.168Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-19T00:57:51.547Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-19T00:57:51.547Z] (6/14) Installing patch (2.7.6-r6) [2020-12-19T00:57:51.819Z] (7/14) Installing build-base (0.5-r2) [2020-12-19T00:57:51.820Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2020-12-19T00:57:51.820Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-19T00:57:52.096Z] (10/14) Installing openssh-client (8.3_p1-r1) [2020-12-19T00:57:52.370Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2020-12-19T00:57:52.370Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2020-12-19T00:57:52.643Z] (13/14) Installing openssh-server (8.3_p1-r1) [2020-12-19T00:57:52.643Z] (14/14) Installing openssh (8.3_p1-r1) [2020-12-19T00:57:52.915Z] Executing busybox-1.31.1-r19.trigger [2020-12-19T00:57:52.915Z] OK: 221 MiB in 53 packages [2020-12-19T00:57:57.224Z] Removing intermediate container 0ebadb5c2e24 [2020-12-19T00:57:57.224Z] ---> 9bdb87cd400a [2020-12-19T00:57:57.224Z] Step 6/8 : WORKDIR /device-modbus-go [2020-12-19T00:57:57.224Z] ---> Running in c15f73504aa1 [2020-12-19T00:57:57.498Z] Removing intermediate container c15f73504aa1 [2020-12-19T00:57:57.498Z] ---> 2aec181152bc [2020-12-19T00:57:57.498Z] Step 7/8 : COPY . . [2020-12-19T00:57:58.512Z] ---> 10d84acdbc71 [2020-12-19T00:57:58.512Z] Step 8/8 : RUN go mod download [2020-12-19T00:57:58.512Z] ---> Running in 2f39239d936d [2020-12-19T00:58:20.729Z] Removing intermediate container 2f39239d936d [2020-12-19T00:58:20.730Z] ---> 291062bd3af3 [2020-12-19T00:58:20.730Z] Successfully built 291062bd3af3 [2020-12-19T00:58:20.730Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-19T00:58:21.071Z] + docker inspect -f . ci-base-image-arm64 [2020-12-19T00:58:21.071Z] . [Pipeline] withDockerContainer [2020-12-19T00:58:21.317Z] prd-ubuntu18.04-docker-arm64-4c-16g-16798 does not seem to be running inside a container [2020-12-19T00:58:21.422Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/12 -v /w/workspace/device-modbus-go/12:/w/workspace/device-modbus-go/12:rw,z -v /w/workspace/device-modbus-go/12@tmp:/w/workspace/device-modbus-go/12@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-19T00:58:22.924Z] $ docker top f338d670b66ac343110cc30846cc745fb598e480fe8e4f990746fd3551dc69ec -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-19T00:58:23.921Z] + go version [2020-12-19T00:58:23.921Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-19T00:58:23.956Z] $ docker stop --time=1 f338d670b66ac343110cc30846cc745fb598e480fe8e4f990746fd3551dc69ec [2020-12-19T00:58:25.876Z] $ docker rm -f f338d670b66ac343110cc30846cc745fb598e480fe8e4f990746fd3551dc69ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-19T00:58:26.910Z] + docker inspect -f . ci-base-image-arm64 [2020-12-19T00:58:26.910Z] . [Pipeline] withDockerContainer [2020-12-19T00:58:27.177Z] prd-ubuntu18.04-docker-arm64-4c-16g-16798 does not seem to be running inside a container [2020-12-19T00:58:27.264Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/12 -v /w/workspace/device-modbus-go/12:/w/workspace/device-modbus-go/12:rw,z -v /w/workspace/device-modbus-go/12@tmp:/w/workspace/device-modbus-go/12@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-19T00:58:28.761Z] $ docker top f8d05cff93d92bea50c5c42f9b2178f304c73efd575cc1eaa91fefb2a89bfbb1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-19T00:58:29.819Z] + make test [2020-12-19T00:58:29.819Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-19T00:58:30.800Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-12-19T00:59:09.954Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-12-19T00:59:09.954Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.406s coverage: 50.2% of statements [2020-12-19T00:59:09.954Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-19T00:59:12.583Z] gofmt -l . [2020-12-19T00:59:12.583Z] internal/driver/config.go [2020-12-19T00:59:12.583Z] internal/driver/config_test.go [2020-12-19T00:59:12.583Z] internal/driver/protocolpropertykey.go [2020-12-19T00:59:12.583Z] [ "`gofmt -l .`" = "" ] [2020-12-19T00:59:12.583Z] make: *** [Makefile:27: test] Error 1 [Pipeline] } [2020-12-19T00:59:12.623Z] $ docker stop --time=1 f8d05cff93d92bea50c5c42f9b2178f304c73efd575cc1eaa91fefb2a89bfbb1 [2020-12-19T00:59:14.896Z] $ docker rm -f f8d05cff93d92bea50c5c42f9b2178f304c73efd575cc1eaa91fefb2a89bfbb1 [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-19T00:59:16.729Z] 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-12-19T00:59:19.600Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-19T00:59:19.913Z] ---> package-listing.sh [2020-12-19T00:59:19.914Z] ++ facter osfamily [2020-12-19T00:59:19.914Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-19T00:59:19.914Z] + OS_FAMILY=redhat [2020-12-19T00:59:19.914Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-171 [2020-12-19T00:59:19.914Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-19T00:59:19.914Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-19T00:59:19.914Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-19T00:59:19.914Z] + PACKAGES=/tmp/packages_start.txt [2020-12-19T00:59:19.914Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-171 ']' [2020-12-19T00:59:19.914Z] + PACKAGES=/tmp/packages_end.txt [2020-12-19T00:59:19.914Z] + case "${OS_FAMILY}" in [2020-12-19T00:59:19.914Z] + rpm -qa [2020-12-19T00:59:19.914Z] + sort [2020-12-19T00:59:25.231Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-19T00:59:25.231Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-19T00:59:25.231Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-19T00:59:25.231Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-171 ']' [2020-12-19T00:59:25.231Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-171/archives/ [2020-12-19T00:59:25.231Z] + 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-19T00:59:25.251Z] 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-19T00:59:25.545Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-19T00:59:25.850Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-19T00:59:25.850Z] [2020-12-19T00:59:25.850Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-19T00:59:26.202Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-19T00:59:26.202Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-19T00:59:26.202Z] df20fa9351a1: Pulling fs layer [2020-12-19T00:59:26.202Z] 36b3adc4ff6f: Pulling fs layer [2020-12-19T00:59:26.202Z] 8ad3a11d3b57: Pulling fs layer [2020-12-19T00:59:26.202Z] 46f8f816bc3b: Pulling fs layer [2020-12-19T00:59:26.202Z] 93b61091891f: Pulling fs layer [2020-12-19T00:59:26.202Z] 93b9cdb0e59b: Pulling fs layer [2020-12-19T00:59:26.202Z] 5e14af77c1be: Pulling fs layer [2020-12-19T00:59:26.202Z] 01666e4c0597: Pulling fs layer [2020-12-19T00:59:26.202Z] aa168da1d23b: Pulling fs layer [2020-12-19T00:59:26.202Z] 46f8f816bc3b: Waiting [2020-12-19T00:59:26.202Z] 93b61091891f: Waiting [2020-12-19T00:59:26.202Z] 93b9cdb0e59b: Waiting [2020-12-19T00:59:26.202Z] 5e14af77c1be: Waiting [2020-12-19T00:59:26.202Z] 01666e4c0597: Waiting [2020-12-19T00:59:26.202Z] aa168da1d23b: Waiting [2020-12-19T00:59:26.202Z] 36b3adc4ff6f: Verifying Checksum [2020-12-19T00:59:26.202Z] 36b3adc4ff6f: Download complete [2020-12-19T00:59:26.202Z] 46f8f816bc3b: Download complete [2020-12-19T00:59:26.202Z] df20fa9351a1: Download complete [2020-12-19T00:59:26.466Z] 93b9cdb0e59b: Download complete [2020-12-19T00:59:26.466Z] 5e14af77c1be: Verifying Checksum [2020-12-19T00:59:26.466Z] 5e14af77c1be: Download complete [2020-12-19T00:59:26.466Z] 93b61091891f: Verifying Checksum [2020-12-19T00:59:26.466Z] 93b61091891f: Download complete [2020-12-19T00:59:26.466Z] 01666e4c0597: Verifying Checksum [2020-12-19T00:59:26.466Z] 01666e4c0597: Download complete [2020-12-19T00:59:26.466Z] 8ad3a11d3b57: Verifying Checksum [2020-12-19T00:59:26.466Z] 8ad3a11d3b57: Download complete [2020-12-19T00:59:26.729Z] df20fa9351a1: Pull complete [2020-12-19T00:59:26.993Z] 36b3adc4ff6f: Pull complete [2020-12-19T00:59:27.591Z] 8ad3a11d3b57: Pull complete [2020-12-19T00:59:27.591Z] 46f8f816bc3b: Pull complete [2020-12-19T00:59:28.556Z] aa168da1d23b: Verifying Checksum [2020-12-19T00:59:28.556Z] aa168da1d23b: Download complete [2020-12-19T00:59:28.821Z] 93b61091891f: Pull complete [2020-12-19T00:59:29.084Z] 93b9cdb0e59b: Pull complete [2020-12-19T00:59:29.346Z] 5e14af77c1be: Pull complete [2020-12-19T00:59:29.346Z] 01666e4c0597: Pull complete [2020-12-19T00:59:36.018Z] aa168da1d23b: Pull complete [2020-12-19T00:59:36.018Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-19T00:59:36.018Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-19T00:59:36.018Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-19T00:59:36.209Z] prd-centos7-docker-4c-2g-16795 does not seem to be running inside a container [2020-12-19T00:59:36.258Z] $ 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-19T00:59:43.091Z] $ docker top bd72bbfbbd378418c8881fbac21a445b43337d2b2ae6700f38943af4502ec136 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-19T00:59:43.648Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-19T00:59:43.943Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-19T00:59:44.248Z] + ls /var/log/sa-host [2020-12-19T00:59:44.248Z] + sadf -c /var/log/sa-host/sa19 [2020-12-19T00:59:44.248Z] file_magic: OK [2020-12-19T00:59:44.248Z] HZ: Using current value: 100 [2020-12-19T00:59:44.248Z] file_header: OK [2020-12-19T00:59:44.248Z] 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-19T00:59:44.248Z] Statistics: [2020-12-19T00:59:44.248Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-19T00:59:44.248Z] File successfully converted to sysstat format version 12.2.1 [2020-12-19T00:59:44.248Z] + sadf -c /var/log/sa-host/sa23 [2020-12-19T00:59:44.248Z] file_magic: OK [2020-12-19T00:59:44.248Z] HZ: Using current value: 100 [2020-12-19T00:59:44.248Z] file_header: OK [2020-12-19T00:59:44.248Z] 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-19T00:59:44.248Z] Statistics: [2020-12-19T00:59:44.248Z] Hnuu...uuuununununu... [2020-12-19T00:59:44.248Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-19T00:59:44.945Z] provisioning config files... [2020-12-19T00:59:44.974Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/config5797912782474453368tmp [Pipeline] { [Pipeline] echo [2020-12-19T00:59:45.103Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-19T00:59:45.412Z] ---> create-netrc.sh [Pipeline] } [2020-12-19T00:59:45.424Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-19T00:59:45.533Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-19T00:59:45.833Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-19T00:59:45.844Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-19T00:59:46.195Z] ---> sudo-logs.sh [2020-12-19T00:59:46.196Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-19T00:59:46.208Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-19T00:59:46.509Z] ---> job-cost.sh [2020-12-19T00:59:46.509Z] lf-activate-venv: SKIPPING [2020-12-19T00:59:46.509Z] INFO: No Stack... [2020-12-19T00:59:47.896Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-19T00:59:48.158Z] INFO: Archiving Costs [Pipeline] echo [2020-12-19T00:59:48.172Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-19T00:59:48.472Z] ---> logs-deploy.sh [2020-12-19T00:59:48.472Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-171/12 [2020-12-19T00:59:48.472Z] INFO: archiving workspace using pattern(s): [2020-12-19T00:59:50.393Z] Archives upload complete. [2020-12-19T00:59:50.393Z] INFO: archiving logs to Nexus