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 1382852b285b5e2bd91d034a86bf10f1b4c73ac1 rather than 205d20470621f6877b30549a0d87a32e67fc54e2 Obtained Jenkinsfile from 1382852b285b5e2bd91d034a86bf10f1b4c73ac1 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a5c854593eac886f27ddeefb8920871132e8ed78 # timeout=10 Commit message: "Merge pull request #303 from ernestojeda/fix-docker-login-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-14239 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 1382852b285b5e2bd91d034a86bf10f1b4c73ac1 into PR head commit 205d20470621f6877b30549a0d87a32e67fc54e2 Merge succeeded, producing a8beb5b878181834d23ad1f52f47b4f2762a82a9 Checking out Revision a8beb5b878181834d23ad1f52f47b4f2762a82a9 (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 1382852b285b5e2bd91d034a86bf10f1b4c73ac1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a8beb5b878181834d23ad1f52f47b4f2762a82a9 # timeout=10 Commit message: "Merge commit '1382852b285b5e2bd91d034a86bf10f1b4c73ac1' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-03T00:56:17.964Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk ebbbc342099c755ff21ad89751df984796fe4300 # timeout=10 [2020-12-03T00:56:18.250Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-03T00:56:18.374Z] ========================================================= [2020-12-03T00:56:18.374Z] EdgeX Global Pipelines Version Info [2020-12-03T00:56:18.374Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-03T00:56:19.977Z] ------------------- [2020-12-03T00:56:19.977Z] stable info: [2020-12-03T00:56:19.977Z] ------------------- [2020-12-03T00:56:19.977Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-03T00:56:19.977Z] Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 [2020-12-03T00:56:19.977Z] Message: update stable to v1.0.169 [2020-12-03T00:56:20.923Z] ------------------- [2020-12-03T00:56:20.924Z] experimental info: [2020-12-03T00:56:20.924Z] ------------------- [2020-12-03T00:56:20.924Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-03T00:56:20.924Z] Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 [2020-12-03T00:56:20.924Z] Message: update experimental to v1.0.169 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-03T00:56:21.190Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2020-12-03T00:56:21.298Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2020-12-03T00:56:21.398Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-03T00:56:21.493Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-03T00:56:21.583Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-03T00:56:21.699Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-03T00:56:21.797Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-03T00:56:21.909Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-03T00:56:21.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-03T00:56:22.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-03T00:56:22.218Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-03T00:56:22.373Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo [2020-12-03T00:56:22.464Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-03T00:56:22.556Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-03T00:56:22.700Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-03T00:56:22.795Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-03T00:56:22.887Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-03T00:56:22.989Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-03T00:56:23.103Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-03T00:56:23.231Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-12-03T00:56:23.322Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-03T00:56:23.440Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-03T00:56:23.530Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-03T00:56:23.638Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-03T00:56:23.727Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-03T00:56:23.817Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-03T00:56:23.909Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-171 [Pipeline] echo [2020-12-03T00:56:24.056Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-171 [Pipeline] echo [2020-12-03T00:56:24.146Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-171 [Pipeline] echo [2020-12-03T00:56:24.242Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a8beb5b878181834d23ad1f52f47b4f2762a82a9 [Pipeline] echo [2020-12-03T00:56:24.335Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a8beb5b [Pipeline] echo [2020-12-03T00:56:24.433Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-03T00:56:24.617Z] provisioning config files... [2020-12-03T00:56:24.652Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/config4524243024266526716tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-03T00:56:25.016Z] ---> docker-login.sh [2020-12-03T00:56:25.017Z] nexus3.edgexfoundry.org:10001 [2020-12-03T00:56:25.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-03T00:56:25.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-03T00:56:25.542Z] Configure a credential helper to remove this warning. See [2020-12-03T00:56:25.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-03T00:56:25.542Z] [2020-12-03T00:56:25.542Z] Login Succeeded [2020-12-03T00:56:25.542Z] nexus3.edgexfoundry.org:10002 [2020-12-03T00:56:25.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-03T00:56:25.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-03T00:56:25.804Z] Configure a credential helper to remove this warning. See [2020-12-03T00:56:25.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-03T00:56:25.804Z] [2020-12-03T00:56:25.804Z] Login Succeeded [2020-12-03T00:56:25.804Z] nexus3.edgexfoundry.org:10003 [2020-12-03T00:56:25.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-03T00:56:25.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-03T00:56:25.804Z] Configure a credential helper to remove this warning. See [2020-12-03T00:56:25.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-03T00:56:25.804Z] [2020-12-03T00:56:25.804Z] Login Succeeded [2020-12-03T00:56:25.804Z] nexus3.edgexfoundry.org:10004 [2020-12-03T00:56:26.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-03T00:56:26.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-03T00:56:26.067Z] Configure a credential helper to remove this warning. See [2020-12-03T00:56:26.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-03T00:56:26.067Z] [2020-12-03T00:56:26.067Z] Login Succeeded [2020-12-03T00:56:26.067Z] docker.io [2020-12-03T00:56:26.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-03T00:56:26.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-03T00:56:26.329Z] Configure a credential helper to remove this warning. See [2020-12-03T00:56:26.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-03T00:56:26.329Z] [2020-12-03T00:56:26.329Z] Login Succeeded [2020-12-03T00:56:26.329Z] ---> docker-login.sh ends [Pipeline] } [2020-12-03T00:56:26.340Z] 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-03T00:56:27.251Z] + git log --format=format:%s -1 a8beb5b878181834d23ad1f52f47b4f2762a82a9 [Pipeline] echo [2020-12-03T00:56:27.329Z] GIT_COMMIT: a8beb5b878181834d23ad1f52f47b4f2762a82a9, Commit Message: Merge commit '1382852b285b5e2bd91d034a86bf10f1b4c73ac1' into HEAD [Pipeline] echo [2020-12-03T00:56:27.374Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-03T00:56:28.465Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-03T00:56:28.465Z] [2020-12-03T00:56:28.465Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-03T00:56:28.883Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-03T00:56:28.883Z] latest: Pulling from edgex-devops/git-semver [2020-12-03T00:56:28.883Z] 31603596830f: Pulling fs layer [2020-12-03T00:56:28.883Z] 2a8b12db71e7: Pulling fs layer [2020-12-03T00:56:28.883Z] 6ca5941a6612: Pulling fs layer [2020-12-03T00:56:28.883Z] ecc8261a40a4: Pulling fs layer [2020-12-03T00:56:28.883Z] ecc8261a40a4: Waiting [2020-12-03T00:56:28.883Z] 2a8b12db71e7: Verifying Checksum [2020-12-03T00:56:28.883Z] 2a8b12db71e7: Download complete [2020-12-03T00:56:29.187Z] 31603596830f: Download complete [2020-12-03T00:56:29.472Z] ecc8261a40a4: Verifying Checksum [2020-12-03T00:56:29.472Z] ecc8261a40a4: Download complete [2020-12-03T00:56:29.752Z] 6ca5941a6612: Verifying Checksum [2020-12-03T00:56:29.752Z] 6ca5941a6612: Download complete [2020-12-03T00:56:29.752Z] 31603596830f: Pull complete [2020-12-03T00:56:29.752Z] 2a8b12db71e7: Pull complete [2020-12-03T00:56:30.781Z] 6ca5941a6612: Pull complete [2020-12-03T00:56:31.065Z] ecc8261a40a4: Pull complete [2020-12-03T00:56:31.065Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-03T00:56:31.065Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-03T00:56:31.065Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-03T00:56:31.356Z] prd-centos7-docker-4c-2g-14239 does not seem to be running inside a container [2020-12-03T00:56:31.562Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-171 -v /w/workspace/xfoundry_device-modbus-go_PR-171:/w/workspace/xfoundry_device-modbus-go_PR-171:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-171@tmp:/w/workspace/xfoundry_device-modbus-go_PR-171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-03T00:56:34.057Z] $ docker top 7d6a2e0f9bd45e314bf517c98a813166e1bb50632b14b1dfad5ff863e9b38af7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-03T00:56:34.381Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-03T00:56:34.381Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-03T00:56:34.631Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-03T00:56:34.641Z] $ docker exec 7d6a2e0f9bd45e314bf517c98a813166e1bb50632b14b1dfad5ff863e9b38af7 ssh-agent [2020-12-03T00:56:34.812Z] SSH_AUTH_SOCK=/tmp/ssh-GCafo2SbjuJF/agent.11 [2020-12-03T00:56:34.812Z] SSH_AGENT_PID=17 [2020-12-03T00:56:34.827Z] Running ssh-add (command line suppressed) [2020-12-03T00:56:34.960Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_3317336461884018027.key (/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_3317336461884018027.key) [2020-12-03T00:56:35.012Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-03T00:56:35.359Z] + git tag --points-at HEAD [Pipeline] } [2020-12-03T00:56:35.396Z] $ docker exec --env ******** --env ******** 7d6a2e0f9bd45e314bf517c98a813166e1bb50632b14b1dfad5ff863e9b38af7 ssh-agent -k [2020-12-03T00:56:35.553Z] unset SSH_AUTH_SOCK; [2020-12-03T00:56:35.554Z] unset SSH_AGENT_PID; [2020-12-03T00:56:35.554Z] echo Agent pid 17 killed; [2020-12-03T00:56:35.612Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-03T00:56:35.772Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-03T00:56:35.772Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-03T00:56:35.952Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-03T00:56:35.961Z] $ docker exec 7d6a2e0f9bd45e314bf517c98a813166e1bb50632b14b1dfad5ff863e9b38af7 ssh-agent [2020-12-03T00:56:36.202Z] SSH_AUTH_SOCK=/tmp/ssh-bez0gHAyOIEI/agent.46 [2020-12-03T00:56:36.202Z] SSH_AGENT_PID=52 [2020-12-03T00:56:36.227Z] Running ssh-add (command line suppressed) [2020-12-03T00:56:36.394Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_6384296905707598377.key (/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_6384296905707598377.key) [2020-12-03T00:56:36.472Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-03T00:56:36.819Z] + git semver init [2020-12-03T00:56:36.819Z] # -> Open(): unable to determine branch for HEAD [2020-12-03T00:56:36.819Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-171/.git [2020-12-03T00:56:36.819Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-171 [2020-12-03T00:56:36.819Z] # $SEMVER_REMOTE_NAME = origin [2020-12-03T00:56:36.819Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-03T00:56:36.819Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-03T00:56:36.819Z] # $SEMVER_BRANCH = PR-171 [2020-12-03T00:56:36.819Z] # $SEMVER_TEMP = /tmp/semver-477597762 [2020-12-03T00:56:36.819Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-12-03T00:56:37.395Z] # '/tmp/semver-477597762' -> '/w/workspace/xfoundry_device-modbus-go_PR-171/.semver' [2020-12-03T00:56:37.395Z] # -> Force: false [2020-12-03T00:56:37.395Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-171/.semver [Pipeline] } [2020-12-03T00:56:37.413Z] $ docker exec --env ******** --env ******** 7d6a2e0f9bd45e314bf517c98a813166e1bb50632b14b1dfad5ff863e9b38af7 ssh-agent -k [2020-12-03T00:56:37.531Z] unset SSH_AUTH_SOCK; [2020-12-03T00:56:37.531Z] unset SSH_AGENT_PID; [2020-12-03T00:56:37.531Z] echo Agent pid 52 killed; [2020-12-03T00:56:37.576Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-03T00:56:38.066Z] + git semver [Pipeline] } [2020-12-03T00:56:38.091Z] $ docker stop --time=1 7d6a2e0f9bd45e314bf517c98a813166e1bb50632b14b1dfad5ff863e9b38af7 [2020-12-03T00:56:39.466Z] $ docker rm -f 7d6a2e0f9bd45e314bf517c98a813166e1bb50632b14b1dfad5ff863e9b38af7 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-03T00:56:39.950Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-03T00:56:40.480Z] Stashed 1 file(s) [Pipeline] echo [2020-12-03T00:56:40.483Z] [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-03T00:56:41.457Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-14230 in /w/workspace/xfoundry_device-modbus-go_PR-171 [Pipeline] { [Pipeline] ws [2020-12-03T00:56:41.510Z] Running in /w/workspace/device-modbus-go/10 [Pipeline] { [Pipeline] checkout [2020-12-03T00:56:46.008Z] using credential edgex-jenkins-ssh [2020-12-03T00:56:46.079Z] Cloning the remote Git repository [2020-12-03T00:56:46.128Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-12-03T00:56:46.244Z] > git init /w/workspace/device-modbus-go/10 # timeout=10 [2020-12-03T00:56:46.323Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-12-03T00:56:46.324Z] > git --version # timeout=10 [2020-12-03T00:56:46.354Z] > git --version # 'git version 2.17.1' [2020-12-03T00:56:46.356Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-03T00:56:46.411Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-03T00:56:47.789Z] Merging remotes/origin/master commit 1382852b285b5e2bd91d034a86bf10f1b4c73ac1 into PR head commit 205d20470621f6877b30549a0d87a32e67fc54e2 [2020-12-03T00:56:47.116Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-12-03T00:56:47.133Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-03T00:56:47.159Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-12-03T00:56:47.191Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-12-03T00:56:47.192Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-03T00:56:47.202Z] > 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-03T00:56:47.798Z] > git config core.sparsecheckout # timeout=10 [2020-12-03T00:56:47.812Z] > git checkout -f 205d20470621f6877b30549a0d87a32e67fc54e2 # timeout=10 [2020-12-03T00:56:47.990Z] Merge succeeded, producing 233cda2dd1311c513bad2df7e30077e1a33bea2c [2020-12-03T00:56:47.990Z] Checking out Revision 233cda2dd1311c513bad2df7e30077e1a33bea2c (PR-171) [2020-12-03T00:56:47.884Z] > git remote # timeout=10 [2020-12-03T00:56:47.900Z] > git config --get remote.origin.url # timeout=10 [2020-12-03T00:56:47.911Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-03T00:56:47.921Z] > git merge 1382852b285b5e2bd91d034a86bf10f1b4c73ac1 # timeout=10 [2020-12-03T00:56:47.970Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-03T00:56:47.989Z] > git config core.sparsecheckout # timeout=10 [2020-12-03T00:56:48.005Z] > git checkout -f 233cda2dd1311c513bad2df7e30077e1a33bea2c # timeout=10 [2020-12-03T00:56:52.199Z] Commit message: "Merge commit '1382852b285b5e2bd91d034a86bf10f1b4c73ac1' into HEAD" [2020-12-03T00:56:52.222Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-03T00:56:52.200Z] > git rev-list --no-walk ebbbc342099c755ff21ad89751df984796fe4300 # timeout=10 [2020-12-03T00:56:53.770Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-03T00:56:54.173Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-03T00:56:54.512Z] + + true [2020-12-03T00:56:54.512Z] sudo service docker restart [2020-12-03T00:56:56.150Z] Still waiting to schedule task [2020-12-03T00:56:56.151Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-03T00:56:56.570Z] provisioning config files... [2020-12-03T00:56:56.610Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/10@tmp/config5126268049192848918tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-03T00:56:57.014Z] ---> docker-login.sh [2020-12-03T00:56:57.014Z] nexus3.edgexfoundry.org:10001 [2020-12-03T00:56:58.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-03T00:56:58.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-03T00:56:58.303Z] Configure a credential helper to remove this warning. See [2020-12-03T00:56:58.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-03T00:56:58.303Z] [2020-12-03T00:56:58.303Z] Login Succeeded [2020-12-03T00:56:58.303Z] nexus3.edgexfoundry.org:10002 [2020-12-03T00:56:58.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-03T00:56:58.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-03T00:56:58.853Z] Configure a credential helper to remove this warning. See [2020-12-03T00:56:58.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-03T00:56:58.853Z] [2020-12-03T00:56:58.853Z] Login Succeeded [2020-12-03T00:56:58.853Z] nexus3.edgexfoundry.org:10003 [2020-12-03T00:56:59.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-03T00:56:59.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-03T00:56:59.404Z] Configure a credential helper to remove this warning. See [2020-12-03T00:56:59.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-03T00:56:59.404Z] [2020-12-03T00:56:59.404Z] Login Succeeded [2020-12-03T00:56:59.404Z] nexus3.edgexfoundry.org:10004 [2020-12-03T00:56:59.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-03T00:56:59.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-03T00:56:59.955Z] Configure a credential helper to remove this warning. See [2020-12-03T00:56:59.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-03T00:56:59.955Z] [2020-12-03T00:56:59.955Z] Login Succeeded [2020-12-03T00:56:59.955Z] docker.io [2020-12-03T00:57:00.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-03T00:57:00.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-03T00:57:00.833Z] Configure a credential helper to remove this warning. See [2020-12-03T00:57:00.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-03T00:57:00.833Z] [2020-12-03T00:57:00.833Z] Login Succeeded [2020-12-03T00:57:00.833Z] ---> docker-login.sh ends [Pipeline] } [2020-12-03T00:57:00.854Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-03T00:57:01.384Z] ========================================================= [2020-12-03T00:57:01.385Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-03T00:57:01.385Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-03T00:57:01.813Z] + 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-03T00:57:02.112Z] Sending build context to Docker daemon 597kB [2020-12-03T00:57:02.112Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-03T00:57:02.112Z] Step 2/8 : FROM ${BASE} [2020-12-03T00:57:02.419Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-03T00:57:02.419Z] 5f621e34cdf4: Pulling fs layer [2020-12-03T00:57:02.419Z] a4357932f1b6: Pulling fs layer [2020-12-03T00:57:02.419Z] 18c013af1878: Pulling fs layer [2020-12-03T00:57:02.419Z] 00ac8860ef70: Pulling fs layer [2020-12-03T00:57:02.419Z] 63d7cb157983: Pulling fs layer [2020-12-03T00:57:02.419Z] b116817d02f9: Pulling fs layer [2020-12-03T00:57:02.419Z] 745a02a5169b: Pulling fs layer [2020-12-03T00:57:02.419Z] 00ac8860ef70: Waiting [2020-12-03T00:57:02.419Z] 63d7cb157983: Waiting [2020-12-03T00:57:02.419Z] b116817d02f9: Waiting [2020-12-03T00:57:02.419Z] 745a02a5169b: Waiting [2020-12-03T00:57:02.419Z] 18c013af1878: Verifying Checksum [2020-12-03T00:57:02.419Z] 18c013af1878: Download complete [2020-12-03T00:57:02.419Z] a4357932f1b6: Download complete [2020-12-03T00:57:02.419Z] 63d7cb157983: Download complete [2020-12-03T00:57:02.419Z] b116817d02f9: Verifying Checksum [2020-12-03T00:57:02.419Z] b116817d02f9: Download complete [2020-12-03T00:57:02.419Z] 5f621e34cdf4: Verifying Checksum [2020-12-03T00:57:02.419Z] 5f621e34cdf4: Download complete [2020-12-03T00:57:03.024Z] 5f621e34cdf4: Pull complete [2020-12-03T00:57:03.626Z] a4357932f1b6: Pull complete [2020-12-03T00:57:03.906Z] 18c013af1878: Pull complete [2020-12-03T00:57:05.353Z] 745a02a5169b: Verifying Checksum [2020-12-03T00:57:05.353Z] 745a02a5169b: Download complete [2020-12-03T00:57:06.333Z] 00ac8860ef70: Verifying Checksum [2020-12-03T00:57:06.333Z] 00ac8860ef70: Download complete [2020-12-03T00:57:16.499Z] 00ac8860ef70: Pull complete [2020-12-03T00:57:16.500Z] 63d7cb157983: Pull complete [2020-12-03T00:57:16.500Z] b116817d02f9: Pull complete [2020-12-03T00:57:19.892Z] 745a02a5169b: Pull complete [2020-12-03T00:57:19.892Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-03T00:57:19.892Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-03T00:57:19.892Z] ---> b7e6874047d6 [2020-12-03T00:57:19.892Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-03T00:57:23.274Z] ---> Running in 44533ded93df [2020-12-03T00:57:23.274Z] Removing intermediate container 44533ded93df [2020-12-03T00:57:23.274Z] ---> b4e9da7fd1d6 [2020-12-03T00:57:23.274Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-03T00:57:23.545Z] ---> Running in c8439872c137 [2020-12-03T00:57:26.166Z] Removing intermediate container c8439872c137 [2020-12-03T00:57:26.166Z] ---> 4a477ae5b389 [2020-12-03T00:57:26.166Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-03T00:57:26.166Z] ---> Running in ab503e29f683 [2020-12-03T00:57:27.155Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-03T00:57:28.129Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-03T00:57:28.722Z] (1/14) Installing libmagic (5.38-r0) [2020-12-03T00:57:28.994Z] (2/14) Installing file (5.38-r0) [2020-12-03T00:57:28.994Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-03T00:57:29.266Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-03T00:57:33.558Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-03T00:57:33.558Z] (6/14) Installing patch (2.7.6-r6) [2020-12-03T00:57:33.558Z] (7/14) Installing build-base (0.5-r2) [2020-12-03T00:57:33.558Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-12-03T00:57:33.558Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-03T00:57:33.558Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-12-03T00:57:33.829Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-12-03T00:57:33.829Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-12-03T00:57:33.829Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-12-03T00:57:34.103Z] (14/14) Installing openssh (8.3_p1-r0) [2020-12-03T00:57:34.103Z] Executing busybox-1.31.1-r19.trigger [2020-12-03T00:57:34.103Z] OK: 221 MiB in 53 packages [2020-12-03T00:57:38.507Z] Removing intermediate container ab503e29f683 [2020-12-03T00:57:38.508Z] ---> 1a7c6f7be726 [2020-12-03T00:57:38.508Z] Step 6/8 : WORKDIR /device-modbus-go [2020-12-03T00:57:38.781Z] ---> Running in 430d6fdde53c [2020-12-03T00:57:39.380Z] Removing intermediate container 430d6fdde53c [2020-12-03T00:57:39.380Z] ---> c7e7a56acfea [2020-12-03T00:57:39.380Z] Step 7/8 : COPY . . [2020-12-03T00:57:40.367Z] ---> 3fc0b671d16e [2020-12-03T00:57:40.367Z] Step 8/8 : RUN go mod download [2020-12-03T00:57:40.639Z] ---> Running in 979e391a1633 [2020-12-03T00:58:02.804Z] Removing intermediate container 979e391a1633 [2020-12-03T00:58:02.804Z] ---> 5b509260ee8e [2020-12-03T00:58:02.804Z] Successfully built 5b509260ee8e [2020-12-03T00:58:02.804Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-03T00:58:03.144Z] + docker inspect -f . ci-base-image-arm64 [2020-12-03T00:58:03.144Z] . [Pipeline] withDockerContainer [2020-12-03T00:58:03.426Z] prd-ubuntu18.04-docker-arm64-4c-16g-14230 does not seem to be running inside a container [2020-12-03T00:58:03.503Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/10 -v /w/workspace/device-modbus-go/10:/w/workspace/device-modbus-go/10:rw,z -v /w/workspace/device-modbus-go/10@tmp:/w/workspace/device-modbus-go/10@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 ******** ci-base-image-arm64 cat [2020-12-03T00:58:04.950Z] $ docker top ab69c5c6a24ad406de82e9fb025bf701456a4128a59d2eae7fe2c950fbebfa8d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-03T00:58:05.963Z] + go version [2020-12-03T00:58:05.963Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-03T00:58:05.979Z] $ docker stop --time=1 ab69c5c6a24ad406de82e9fb025bf701456a4128a59d2eae7fe2c950fbebfa8d [2020-12-03T00:58:07.843Z] $ docker rm -f ab69c5c6a24ad406de82e9fb025bf701456a4128a59d2eae7fe2c950fbebfa8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-03T00:58:08.868Z] + docker inspect -f . ci-base-image-arm64 [2020-12-03T00:58:08.868Z] . [Pipeline] withDockerContainer [2020-12-03T00:58:09.094Z] prd-ubuntu18.04-docker-arm64-4c-16g-14230 does not seem to be running inside a container [2020-12-03T00:58:09.206Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/10 -v /w/workspace/device-modbus-go/10:/w/workspace/device-modbus-go/10:rw,z -v /w/workspace/device-modbus-go/10@tmp:/w/workspace/device-modbus-go/10@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 ******** ci-base-image-arm64 cat [2020-12-03T00:58:10.604Z] $ docker top 59f0166cf31ea976c35a8025375b9ca00f143fe8c99de6c9dea64351a67decb0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-03T00:58:11.700Z] + make test [2020-12-03T00:58:11.700Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-03T00:58:12.679Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-12-03T00:58:51.709Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-12-03T00:58:51.709Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.445s coverage: 50.2% of statements [2020-12-03T00:58:51.709Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-03T00:58:52.683Z] gofmt -l . [2020-12-03T00:58:52.683Z] internal/driver/config.go [2020-12-03T00:58:52.683Z] internal/driver/config_test.go [2020-12-03T00:58:52.683Z] internal/driver/protocolpropertykey.go [2020-12-03T00:58:52.683Z] [ "`gofmt -l .`" = "" ] [2020-12-03T00:58:52.683Z] make: *** [Makefile:27: test] Error 1 [Pipeline] } [2020-12-03T00:58:52.703Z] $ docker stop --time=1 59f0166cf31ea976c35a8025375b9ca00f143fe8c99de6c9dea64351a67decb0 [2020-12-03T00:58:54.959Z] $ docker rm -f 59f0166cf31ea976c35a8025375b9ca00f143fe8c99de6c9dea64351a67decb0 [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-03T00:58:56.781Z] Failed in branch arm64 [2020-12-03T01:00:23.159Z] Running on prd-centos7-docker-4c-2g-14240 in /w/workspace/xfoundry_device-modbus-go_PR-171 [Pipeline] { [Pipeline] ws [2020-12-03T01:00:23.227Z] Running in /w/workspace/device-modbus-go/10 [Pipeline] { [Pipeline] checkout [2020-12-03T01:00:28.901Z] using credential edgex-jenkins-ssh [2020-12-03T01:00:28.956Z] Cloning the remote Git repository [2020-12-03T01:00:28.998Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-12-03T01:00:29.074Z] > git init /w/workspace/device-modbus-go/10 # timeout=10 [2020-12-03T01:00:29.150Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-12-03T01:00:29.150Z] > git --version # timeout=10 [2020-12-03T01:00:29.165Z] > git --version # 'git version 2.24.3' [2020-12-03T01:00:29.165Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-03T01:00:29.241Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-03T01:00:30.665Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-12-03T01:00:30.696Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-03T01:00:30.731Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-12-03T01:00:30.774Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-12-03T01:00:30.774Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-03T01:00:30.779Z] > 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-03T01:00:31.249Z] Merging remotes/origin/master commit 1382852b285b5e2bd91d034a86bf10f1b4c73ac1 into PR head commit 205d20470621f6877b30549a0d87a32e67fc54e2 [2020-12-03T01:00:31.415Z] Merge succeeded, producing 7663da064356e99f0e02599f82c045be429a7b55 [2020-12-03T01:00:31.415Z] Checking out Revision 7663da064356e99f0e02599f82c045be429a7b55 (PR-171) [2020-12-03T01:00:31.267Z] > git config core.sparsecheckout # timeout=10 [2020-12-03T01:00:31.289Z] > git checkout -f 205d20470621f6877b30549a0d87a32e67fc54e2 # timeout=10 [2020-12-03T01:00:31.333Z] > git remote # timeout=10 [2020-12-03T01:00:31.345Z] > git config --get remote.origin.url # timeout=10 [2020-12-03T01:00:31.354Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-03T01:00:31.359Z] > git merge 1382852b285b5e2bd91d034a86bf10f1b4c73ac1 # timeout=10 [2020-12-03T01:00:31.392Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-03T01:00:31.420Z] > git config core.sparsecheckout # timeout=10 [2020-12-03T01:00:31.434Z] > git checkout -f 7663da064356e99f0e02599f82c045be429a7b55 # timeout=10 [2020-12-03T01:00:35.404Z] Commit message: "Merge commit '1382852b285b5e2bd91d034a86bf10f1b4c73ac1' into HEAD" [2020-12-03T01:00:35.422Z] First time build. Skipping changelog. [2020-12-03T01:00:35.410Z] > git rev-list --no-walk ebbbc342099c755ff21ad89751df984796fe4300 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-03T01:00:36.900Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-03T01:00:37.297Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-03T01:00:37.630Z] + true [2020-12-03T01:00:37.630Z] + sudo service docker restart [2020-12-03T01:00:37.631Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-03T01:00:39.147Z] provisioning config files... [2020-12-03T01:00:39.184Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/10@tmp/config3706183252204815850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-03T01:00:39.629Z] ---> docker-login.sh [2020-12-03T01:00:39.629Z] nexus3.edgexfoundry.org:10001 [2020-12-03T01:00:40.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-03T01:00:40.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-03T01:00:40.261Z] Configure a credential helper to remove this warning. See [2020-12-03T01:00:40.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-03T01:00:40.261Z] [2020-12-03T01:00:40.261Z] Login Succeeded [2020-12-03T01:00:40.261Z] nexus3.edgexfoundry.org:10002 [2020-12-03T01:00:40.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-03T01:00:40.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-03T01:00:40.854Z] Configure a credential helper to remove this warning. See [2020-12-03T01:00:40.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-03T01:00:40.854Z] [2020-12-03T01:00:40.854Z] Login Succeeded [2020-12-03T01:00:40.854Z] nexus3.edgexfoundry.org:10003 [2020-12-03T01:00:41.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-03T01:00:41.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-03T01:00:41.121Z] Configure a credential helper to remove this warning. See [2020-12-03T01:00:41.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-03T01:00:41.121Z] [2020-12-03T01:00:41.121Z] Login Succeeded [2020-12-03T01:00:41.121Z] nexus3.edgexfoundry.org:10004 [2020-12-03T01:00:41.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-03T01:00:41.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-03T01:00:41.397Z] Configure a credential helper to remove this warning. See [2020-12-03T01:00:41.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-03T01:00:41.397Z] [2020-12-03T01:00:41.397Z] Login Succeeded [2020-12-03T01:00:41.397Z] docker.io [2020-12-03T01:00:41.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-03T01:00:41.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-03T01:00:41.927Z] Configure a credential helper to remove this warning. See [2020-12-03T01:00:41.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-03T01:00:41.927Z] [2020-12-03T01:00:41.927Z] Login Succeeded [2020-12-03T01:00:41.928Z] ---> docker-login.sh ends [Pipeline] } [2020-12-03T01:00:41.950Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-03T01:00:42.433Z] ========================================================= [2020-12-03T01:00:42.433Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-03T01:00:42.433Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-03T01:00:42.815Z] + 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-03T01:00:43.086Z] Sending build context to Docker daemon 597.5kB [2020-12-03T01:00:43.086Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-03T01:00:43.086Z] Step 2/8 : FROM ${BASE} [2020-12-03T01:00:43.086Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-03T01:00:43.086Z] 188c0c94c7c5: Pulling fs layer [2020-12-03T01:00:43.086Z] 0ef7d3d256c8: Pulling fs layer [2020-12-03T01:00:43.086Z] de9db76c5a1d: Pulling fs layer [2020-12-03T01:00:43.086Z] bca2f99d35d6: Pulling fs layer [2020-12-03T01:00:43.086Z] 93359f2a8cfa: Pulling fs layer [2020-12-03T01:00:43.086Z] 7c6f9722023f: Pulling fs layer [2020-12-03T01:00:43.086Z] a35cf1a2eb13: Pulling fs layer [2020-12-03T01:00:43.086Z] 93359f2a8cfa: Waiting [2020-12-03T01:00:43.086Z] 7c6f9722023f: Waiting [2020-12-03T01:00:43.086Z] a35cf1a2eb13: Waiting [2020-12-03T01:00:43.086Z] bca2f99d35d6: Waiting [2020-12-03T01:00:43.086Z] de9db76c5a1d: Verifying Checksum [2020-12-03T01:00:43.086Z] de9db76c5a1d: Download complete [2020-12-03T01:00:43.087Z] 0ef7d3d256c8: Download complete [2020-12-03T01:00:43.368Z] 93359f2a8cfa: Verifying Checksum [2020-12-03T01:00:43.368Z] 7c6f9722023f: Verifying Checksum [2020-12-03T01:00:43.368Z] 7c6f9722023f: Download complete [2020-12-03T01:00:43.368Z] 188c0c94c7c5: Verifying Checksum [2020-12-03T01:00:43.368Z] 188c0c94c7c5: Download complete [2020-12-03T01:00:43.952Z] 188c0c94c7c5: Pull complete [2020-12-03T01:00:44.224Z] 0ef7d3d256c8: Pull complete [2020-12-03T01:00:44.506Z] de9db76c5a1d: Pull complete [2020-12-03T01:00:48.063Z] a35cf1a2eb13: Verifying Checksum [2020-12-03T01:00:48.063Z] a35cf1a2eb13: Download complete [2020-12-03T01:00:48.335Z] bca2f99d35d6: Verifying Checksum [2020-12-03T01:00:48.335Z] bca2f99d35d6: Download complete [2020-12-03T01:00:58.507Z] bca2f99d35d6: Pull complete [2020-12-03T01:00:58.507Z] 93359f2a8cfa: Pull complete [2020-12-03T01:00:58.507Z] 7c6f9722023f: Pull complete [2020-12-03T01:01:02.807Z] a35cf1a2eb13: Pull complete [2020-12-03T01:01:02.807Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-03T01:01:02.807Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-03T01:01:02.807Z] ---> a62c8e92a672 [2020-12-03T01:01:02.807Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-03T01:01:02.807Z] ---> Running in cc396ae00e71 [2020-12-03T01:01:03.095Z] Removing intermediate container cc396ae00e71 [2020-12-03T01:01:03.095Z] ---> a15d506b5399 [2020-12-03T01:01:03.095Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-03T01:01:03.095Z] ---> Running in 24290c327f86 [2020-12-03T01:01:04.522Z] Removing intermediate container 24290c327f86 [2020-12-03T01:01:04.522Z] ---> 4b1d9883e416 [2020-12-03T01:01:04.522Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-03T01:01:04.522Z] ---> Running in e452751ca878 [2020-12-03T01:01:05.929Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-03T01:01:06.508Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-03T01:01:06.773Z] (1/14) Installing libmagic (5.38-r0) [2020-12-03T01:01:07.732Z] (2/14) Installing file (5.38-r0) [2020-12-03T01:01:07.732Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-03T01:01:07.732Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-03T01:01:14.398Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-03T01:01:14.398Z] (6/14) Installing patch (2.7.6-r6) [2020-12-03T01:01:14.398Z] (7/14) Installing build-base (0.5-r2) [2020-12-03T01:01:14.682Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-12-03T01:01:14.682Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-03T01:01:14.682Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-12-03T01:01:15.328Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-12-03T01:01:15.328Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-12-03T01:01:15.595Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-12-03T01:01:15.877Z] (14/14) Installing openssh (8.3_p1-r0) [2020-12-03T01:01:15.877Z] Executing busybox-1.31.1-r19.trigger [2020-12-03T01:01:15.877Z] OK: 237 MiB in 53 packages [2020-12-03T01:01:19.527Z] Removing intermediate container e452751ca878 [2020-12-03T01:01:19.527Z] ---> 88e836448aa5 [2020-12-03T01:01:19.527Z] Step 6/8 : WORKDIR /device-modbus-go [2020-12-03T01:01:19.527Z] ---> Running in ef37ff45cc36 [2020-12-03T01:01:19.800Z] Removing intermediate container ef37ff45cc36 [2020-12-03T01:01:19.800Z] ---> 460efeb7bb36 [2020-12-03T01:01:19.800Z] Step 7/8 : COPY . . [2020-12-03T01:01:21.120Z] ---> 71224400acd0 [2020-12-03T01:01:21.120Z] Step 8/8 : RUN go mod download [2020-12-03T01:01:21.120Z] ---> Running in 95dc93488556 [2020-12-03T01:01:43.287Z] Removing intermediate container 95dc93488556 [2020-12-03T01:01:43.287Z] ---> 8a7d595af968 [2020-12-03T01:01:43.287Z] Successfully built 8a7d595af968 [2020-12-03T01:01:43.287Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-03T01:01:43.656Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-03T01:01:43.925Z] . [Pipeline] withDockerContainer [2020-12-03T01:01:44.473Z] prd-centos7-docker-4c-2g-14240 does not seem to be running inside a container [2020-12-03T01:01:44.587Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/10 -v /w/workspace/device-modbus-go/10:/w/workspace/device-modbus-go/10:rw,z -v /w/workspace/device-modbus-go/10@tmp:/w/workspace/device-modbus-go/10@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-03T01:01:45.706Z] $ docker top 9d91a6a0f630a260770a08003981de90411198f33bb5c2d5510c56a8a04b4ceb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-03T01:01:46.346Z] + go version [2020-12-03T01:01:46.346Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-03T01:01:46.374Z] $ docker stop --time=1 9d91a6a0f630a260770a08003981de90411198f33bb5c2d5510c56a8a04b4ceb [2020-12-03T01:01:47.790Z] $ docker rm -f 9d91a6a0f630a260770a08003981de90411198f33bb5c2d5510c56a8a04b4ceb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-03T01:01:48.780Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-03T01:01:48.781Z] . [Pipeline] withDockerContainer [2020-12-03T01:01:48.961Z] prd-centos7-docker-4c-2g-14240 does not seem to be running inside a container [2020-12-03T01:01:49.069Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/10 -v /w/workspace/device-modbus-go/10:/w/workspace/device-modbus-go/10:rw,z -v /w/workspace/device-modbus-go/10@tmp:/w/workspace/device-modbus-go/10@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-03T01:01:49.887Z] $ docker top 6c2ef531b28cc17ccfaeb4683d695aa60ff67b044b15f7c01261700d1c5d11bd -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-03T01:01:50.586Z] + make test [2020-12-03T01:01:50.586Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-03T01:01:52.570Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-12-03T01:02:11.394Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-12-03T01:02:11.394Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.211s coverage: 50.2% of statements [2020-12-03T01:02:11.394Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-03T01:02:15.855Z] gofmt -l . [2020-12-03T01:02:15.855Z] internal/driver/config.go [2020-12-03T01:02:15.855Z] internal/driver/config_test.go [2020-12-03T01:02:15.855Z] internal/driver/protocolpropertykey.go [2020-12-03T01:02:15.855Z] [ "`gofmt -l .`" = "" ] [2020-12-03T01:02:15.855Z] make: *** [Makefile:27: test] Error 1 [Pipeline] } [2020-12-03T01:02:15.914Z] $ docker stop --time=1 6c2ef531b28cc17ccfaeb4683d695aa60ff67b044b15f7c01261700d1c5d11bd [2020-12-03T01:02:18.535Z] $ docker rm -f 6c2ef531b28cc17ccfaeb4683d695aa60ff67b044b15f7c01261700d1c5d11bd [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-03T01:02:21.054Z] 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-03T01:02:24.098Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-03T01:02:24.676Z] ---> package-listing.sh [2020-12-03T01:02:24.676Z] ++ facter osfamily [2020-12-03T01:02:24.676Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-03T01:02:24.676Z] + OS_FAMILY=redhat [2020-12-03T01:02:24.676Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-171 [2020-12-03T01:02:24.676Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-03T01:02:24.676Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-03T01:02:24.676Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-03T01:02:24.676Z] + PACKAGES=/tmp/packages_start.txt [2020-12-03T01:02:24.676Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-171 ']' [2020-12-03T01:02:24.676Z] + PACKAGES=/tmp/packages_end.txt [2020-12-03T01:02:24.676Z] + case "${OS_FAMILY}" in [2020-12-03T01:02:24.676Z] + rpm -qa [2020-12-03T01:02:24.676Z] + sort [2020-12-03T01:02:30.006Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-03T01:02:30.006Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-03T01:02:30.006Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-03T01:02:30.006Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-171 ']' [2020-12-03T01:02:30.006Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-171/archives/ [2020-12-03T01:02:30.006Z] + 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-03T01:02:30.023Z] 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-03T01:02:30.323Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-03T01:02:30.631Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-03T01:02:30.631Z] [2020-12-03T01:02:30.631Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-03T01:02:31.108Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-03T01:02:31.108Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-03T01:02:31.108Z] df20fa9351a1: Pulling fs layer [2020-12-03T01:02:31.108Z] 36b3adc4ff6f: Pulling fs layer [2020-12-03T01:02:31.108Z] 8ad3a11d3b57: Pulling fs layer [2020-12-03T01:02:31.108Z] 46f8f816bc3b: Pulling fs layer [2020-12-03T01:02:31.108Z] 93b61091891f: Pulling fs layer [2020-12-03T01:02:31.108Z] 93b9cdb0e59b: Pulling fs layer [2020-12-03T01:02:31.108Z] 5e14af77c1be: Pulling fs layer [2020-12-03T01:02:31.108Z] 01666e4c0597: Pulling fs layer [2020-12-03T01:02:31.108Z] aa168da1d23b: Pulling fs layer [2020-12-03T01:02:31.108Z] 46f8f816bc3b: Waiting [2020-12-03T01:02:31.108Z] 93b61091891f: Waiting [2020-12-03T01:02:31.108Z] 93b9cdb0e59b: Waiting [2020-12-03T01:02:31.108Z] 5e14af77c1be: Waiting [2020-12-03T01:02:31.108Z] 01666e4c0597: Waiting [2020-12-03T01:02:31.108Z] aa168da1d23b: Waiting [2020-12-03T01:02:31.108Z] 36b3adc4ff6f: Verifying Checksum [2020-12-03T01:02:31.108Z] 36b3adc4ff6f: Download complete [2020-12-03T01:02:31.108Z] 46f8f816bc3b: Verifying Checksum [2020-12-03T01:02:31.108Z] 46f8f816bc3b: Download complete [2020-12-03T01:02:31.381Z] df20fa9351a1: Verifying Checksum [2020-12-03T01:02:31.381Z] df20fa9351a1: Download complete [2020-12-03T01:02:31.381Z] 93b9cdb0e59b: Verifying Checksum [2020-12-03T01:02:31.381Z] 93b9cdb0e59b: Download complete [2020-12-03T01:02:31.381Z] 5e14af77c1be: Verifying Checksum [2020-12-03T01:02:31.381Z] 5e14af77c1be: Download complete [2020-12-03T01:02:31.381Z] 93b61091891f: Verifying Checksum [2020-12-03T01:02:31.381Z] 93b61091891f: Download complete [2020-12-03T01:02:31.381Z] 01666e4c0597: Verifying Checksum [2020-12-03T01:02:31.381Z] 01666e4c0597: Download complete [2020-12-03T01:02:31.646Z] df20fa9351a1: Pull complete [2020-12-03T01:02:31.912Z] 36b3adc4ff6f: Pull complete [2020-12-03T01:02:32.176Z] 8ad3a11d3b57: Verifying Checksum [2020-12-03T01:02:32.176Z] 8ad3a11d3b57: Download complete [2020-12-03T01:02:33.140Z] 8ad3a11d3b57: Pull complete [2020-12-03T01:02:33.140Z] 46f8f816bc3b: Pull complete [2020-12-03T01:02:34.098Z] aa168da1d23b: Verifying Checksum [2020-12-03T01:02:34.099Z] aa168da1d23b: Download complete [2020-12-03T01:02:34.361Z] 93b61091891f: Pull complete [2020-12-03T01:02:34.625Z] 93b9cdb0e59b: Pull complete [2020-12-03T01:02:34.889Z] 5e14af77c1be: Pull complete [2020-12-03T01:02:34.889Z] 01666e4c0597: Pull complete [2020-12-03T01:02:41.531Z] aa168da1d23b: Pull complete [2020-12-03T01:02:41.531Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-03T01:02:41.531Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-03T01:02:41.531Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-03T01:02:41.731Z] prd-centos7-docker-4c-2g-14239 does not seem to be running inside a container [2020-12-03T01:02:41.790Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-171/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-171 -v /w/workspace/xfoundry_device-modbus-go_PR-171:/w/workspace/xfoundry_device-modbus-go_PR-171:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-171@tmp:/w/workspace/xfoundry_device-modbus-go_PR-171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-03T01:02:45.534Z] $ docker top 4115d899e9b9cb9ff1f85c99573f5a1903f897126e3b70c3b8b0aa1658a8195f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-03T01:02:46.084Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-03T01:02:46.384Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-03T01:02:46.682Z] + ls /var/log/sa-host [2020-12-03T01:02:46.682Z] + sadf -c /var/log/sa-host/sa03 [2020-12-03T01:02:46.682Z] file_magic: OK [2020-12-03T01:02:46.682Z] HZ: Using current value: 100 [2020-12-03T01:02:46.682Z] file_header: OK [2020-12-03T01:02:46.682Z] 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-03T01:02:46.682Z] Statistics: [2020-12-03T01:02:46.682Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-03T01:02:46.682Z] File successfully converted to sysstat format version 12.2.1 [2020-12-03T01:02:46.682Z] + sadf -c /var/log/sa-host/sa23 [2020-12-03T01:02:46.682Z] file_magic: OK [2020-12-03T01:02:46.682Z] HZ: Using current value: 100 [2020-12-03T01:02:46.682Z] file_header: OK [2020-12-03T01:02:46.682Z] 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-03T01:02:46.682Z] Statistics: [2020-12-03T01:02:46.682Z] Hnuu...uuuununununu... [2020-12-03T01:02:46.682Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-03T01:02:46.916Z] provisioning config files... [2020-12-03T01:02:46.935Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/config3995442099877965220tmp [Pipeline] { [Pipeline] echo [2020-12-03T01:02:47.014Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-03T01:02:47.318Z] ---> create-netrc.sh [Pipeline] } [2020-12-03T01:02:47.328Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-03T01:02:47.439Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-03T01:02:47.741Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-03T01:02:47.752Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-03T01:02:48.053Z] ---> sudo-logs.sh [2020-12-03T01:02:48.053Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-03T01:02:48.064Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-03T01:02:48.362Z] ---> job-cost.sh [2020-12-03T01:02:48.362Z] lf-activate-venv: SKIPPING [2020-12-03T01:02:48.362Z] INFO: No Stack... [2020-12-03T01:02:50.280Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-03T01:02:50.854Z] INFO: Archiving Costs [Pipeline] echo [2020-12-03T01:02:50.867Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-03T01:02:51.165Z] ---> logs-deploy.sh [2020-12-03T01:02:51.165Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-171/10 [2020-12-03T01:02:51.165Z] INFO: archiving workspace using pattern(s): [2020-12-03T01:02:53.085Z] Archives upload complete. [2020-12-03T01:02:53.085Z] INFO: archiving logs to Nexus