Pull request #237 opened 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 lenny-intel for edgexfoundry/device-modbus-go Obtained Jenkinsfile from b1ab6175f0a44daa899a0a21e3d89de9975b2107+99df618622a9f54f94da4a2280a77aba81c63d12 (0f076d69f6d15b94a58e81725f17821c1dc47e57) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-237/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-237/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4143 in /w/workspace/xfoundry_device-modbus-go_PR-237 [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-237 # 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/237/head:refs/remotes/origin/PR-237 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 99df618622a9f54f94da4a2280a77aba81c63d12 into PR head commit b1ab6175f0a44daa899a0a21e3d89de9975b2107 Merge succeeded, producing b1ab6175f0a44daa899a0a21e3d89de9975b2107 Checking out Revision b1ab6175f0a44daa899a0a21e3d89de9975b2107 (PR-237) > git config core.sparsecheckout # timeout=10 > git checkout -f b1ab6175f0a44daa899a0a21e3d89de9975b2107 # 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 99df618622a9f54f94da4a2280a77aba81c63d12 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b1ab6175f0a44daa899a0a21e3d89de9975b2107 # timeout=10 Commit message: "feat: Add secure MessagBus capability" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-10T18:03:09.893Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-10T18:03:10.126Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-10T18:03:10.285Z] ========================================================= [2021-05-10T18:03:10.285Z] EdgeX Global Pipelines Version Info [2021-05-10T18:03:10.285Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:03:12.363Z] ------------------- [2021-05-10T18:03:12.363Z] stable info: [2021-05-10T18:03:12.363Z] ------------------- [2021-05-10T18:03:12.363Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-10T18:03:12.363Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T18:03:12.363Z] Message: update stable to v1.0.191 [2021-05-10T18:03:12.940Z] ------------------- [2021-05-10T18:03:12.940Z] experimental info: [2021-05-10T18:03:12.940Z] ------------------- [2021-05-10T18:03:12.940Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-10T18:03:12.940Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-10T18:03:12.940Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-10T18:03:13.244Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-05-10T18:03:13.326Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-05-10T18:03:13.401Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-10T18:03:13.559Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-10T18:03:13.624Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-10T18:03:13.692Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-10T18:03:13.772Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-10T18:03:13.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-10T18:03:13.928Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-10T18:03:14.022Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-10T18:03:14.107Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-10T18:03:14.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo [2021-05-10T18:03:14.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-10T18:03:14.333Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-10T18:03:14.402Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T18:03:14.483Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T18:03:14.552Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T18:03:14.633Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T18:03:14.732Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-10T18:03:14.812Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-05-10T18:03:14.889Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-10T18:03:14.972Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-10T18:03:15.066Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-10T18:03:15.137Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-10T18:03:15.215Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-10T18:03:15.277Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-10T18:03:15.354Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-237 [Pipeline] echo [2021-05-10T18:03:15.416Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-237 [Pipeline] echo [2021-05-10T18:03:15.490Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-237 [Pipeline] echo [2021-05-10T18:03:15.574Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b1ab6175f0a44daa899a0a21e3d89de9975b2107 [Pipeline] echo [2021-05-10T18:03:15.648Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b1ab617 [Pipeline] echo [2021-05-10T18:03:15.728Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T18:03:15.925Z] provisioning config files... [2021-05-10T18:03:15.963Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-237@tmp/config3002165759457669201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:03:16.346Z] ---> docker-login.sh [2021-05-10T18:03:16.347Z] nexus3.edgexfoundry.org:10001 [2021-05-10T18:03:16.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:03:16.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:03:16.874Z] Configure a credential helper to remove this warning. See [2021-05-10T18:03:16.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:03:16.874Z] [2021-05-10T18:03:16.874Z] Login Succeeded [2021-05-10T18:03:16.874Z] nexus3.edgexfoundry.org:10002 [2021-05-10T18:03:16.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:03:16.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:03:16.874Z] Configure a credential helper to remove this warning. See [2021-05-10T18:03:16.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:03:16.874Z] [2021-05-10T18:03:16.874Z] Login Succeeded [2021-05-10T18:03:16.874Z] nexus3.edgexfoundry.org:10003 [2021-05-10T18:03:17.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:03:17.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:03:17.137Z] Configure a credential helper to remove this warning. See [2021-05-10T18:03:17.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:03:17.137Z] [2021-05-10T18:03:17.137Z] Login Succeeded [2021-05-10T18:03:17.137Z] nexus3.edgexfoundry.org:10004 [2021-05-10T18:03:17.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:03:17.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:03:17.400Z] Configure a credential helper to remove this warning. See [2021-05-10T18:03:17.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:03:17.400Z] [2021-05-10T18:03:17.400Z] Login Succeeded [2021-05-10T18:03:17.400Z] docker.io [2021-05-10T18:03:17.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:03:17.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:03:17.663Z] Configure a credential helper to remove this warning. See [2021-05-10T18:03:17.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:03:17.663Z] [2021-05-10T18:03:17.663Z] Login Succeeded [2021-05-10T18:03:17.663Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T18:03:17.692Z] 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 [2021-05-10T18:03:18.532Z] + git log --format=format:%s -1 b1ab6175f0a44daa899a0a21e3d89de9975b2107 [Pipeline] echo [2021-05-10T18:03:18.651Z] GIT_COMMIT: b1ab6175f0a44daa899a0a21e3d89de9975b2107, Commit Message: feat: Add secure MessagBus capability [Pipeline] echo [2021-05-10T18:03:18.714Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:03:19.781Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T18:03:19.781Z] [2021-05-10T18:03:19.781Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:03:20.150Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T18:03:20.151Z] latest: Pulling from edgex-devops/git-semver [2021-05-10T18:03:20.151Z] 31603596830f: Pulling fs layer [2021-05-10T18:03:20.151Z] 54011a49482f: Pulling fs layer [2021-05-10T18:03:20.151Z] a6820b24f6d8: Pulling fs layer [2021-05-10T18:03:20.151Z] f581987b2513: Pulling fs layer [2021-05-10T18:03:20.151Z] f581987b2513: Waiting [2021-05-10T18:03:20.151Z] 54011a49482f: Verifying Checksum [2021-05-10T18:03:20.151Z] 54011a49482f: Download complete [2021-05-10T18:03:20.151Z] 31603596830f: Verifying Checksum [2021-05-10T18:03:20.151Z] 31603596830f: Download complete [2021-05-10T18:03:20.419Z] f581987b2513: Verifying Checksum [2021-05-10T18:03:20.419Z] a6820b24f6d8: Verifying Checksum [2021-05-10T18:03:20.419Z] a6820b24f6d8: Download complete [2021-05-10T18:03:20.683Z] 31603596830f: Pull complete [2021-05-10T18:03:20.683Z] 54011a49482f: Pull complete [2021-05-10T18:03:21.634Z] a6820b24f6d8: Pull complete [2021-05-10T18:03:21.906Z] f581987b2513: Pull complete [2021-05-10T18:03:21.906Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-10T18:03:21.906Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T18:03:21.906Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-10T18:03:22.064Z] prd-centos7-docker-4c-2g-4143 does not seem to be running inside a container [2021-05-10T18:03:22.109Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-237 -v /w/workspace/xfoundry_device-modbus-go_PR-237:/w/workspace/xfoundry_device-modbus-go_PR-237:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-237@tmp:/w/workspace/xfoundry_device-modbus-go_PR-237@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-10T18:03:24.251Z] $ docker top 2f48bb1a94b6ebc223b02a6c7ecf5c985280da5c64106474b16b842efe49ea00 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-10T18:03:24.493Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T18:03:24.493Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T18:03:24.725Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T18:03:24.728Z] $ docker exec 2f48bb1a94b6ebc223b02a6c7ecf5c985280da5c64106474b16b842efe49ea00 ssh-agent [2021-05-10T18:03:24.902Z] SSH_AUTH_SOCK=/tmp/ssh-zvoXlkk539U7/agent.11 [2021-05-10T18:03:24.902Z] SSH_AGENT_PID=16 [2021-05-10T18:03:24.912Z] Running ssh-add (command line suppressed) [2021-05-10T18:03:25.030Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-237@tmp/private_key_4793433618972909149.key (/w/workspace/xfoundry_device-modbus-go_PR-237@tmp/private_key_4793433618972909149.key) [2021-05-10T18:03:25.085Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T18:03:25.445Z] + git tag --points-at HEAD [Pipeline] } [2021-05-10T18:03:25.482Z] $ docker exec --env ******** --env ******** 2f48bb1a94b6ebc223b02a6c7ecf5c985280da5c64106474b16b842efe49ea00 ssh-agent -k [2021-05-10T18:03:25.600Z] unset SSH_AUTH_SOCK; [2021-05-10T18:03:25.600Z] unset SSH_AGENT_PID; [2021-05-10T18:03:25.601Z] echo Agent pid 16 killed; [2021-05-10T18:03:25.650Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-10T18:03:25.767Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T18:03:25.767Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T18:03:25.934Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T18:03:25.936Z] $ docker exec 2f48bb1a94b6ebc223b02a6c7ecf5c985280da5c64106474b16b842efe49ea00 ssh-agent [2021-05-10T18:03:26.094Z] SSH_AUTH_SOCK=/tmp/ssh-oq93N1pXfUmd/agent.45 [2021-05-10T18:03:26.094Z] SSH_AGENT_PID=50 [2021-05-10T18:03:26.100Z] Running ssh-add (command line suppressed) [2021-05-10T18:03:26.218Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-237@tmp/private_key_6016718052533398671.key (/w/workspace/xfoundry_device-modbus-go_PR-237@tmp/private_key_6016718052533398671.key) [2021-05-10T18:03:26.269Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T18:03:26.635Z] + git semver init [2021-05-10T18:03:26.635Z] # -> Open(): unable to determine branch for HEAD [2021-05-10T18:03:26.635Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-237/.git [2021-05-10T18:03:26.635Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-237 [2021-05-10T18:03:26.635Z] # $SEMVER_REMOTE_NAME = origin [2021-05-10T18:03:26.635Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-10T18:03:26.635Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-10T18:03:26.635Z] # $SEMVER_BRANCH = PR-237 [2021-05-10T18:03:26.635Z] # $SEMVER_TEMP = /tmp/semver-567149405 [2021-05-10T18:03:26.635Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-05-10T18:03:27.210Z] # '/tmp/semver-567149405' -> '/w/workspace/xfoundry_device-modbus-go_PR-237/.semver' [2021-05-10T18:03:27.210Z] # -> Force: false [2021-05-10T18:03:27.210Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-237/.semver [Pipeline] } [2021-05-10T18:03:27.239Z] $ docker exec --env ******** --env ******** 2f48bb1a94b6ebc223b02a6c7ecf5c985280da5c64106474b16b842efe49ea00 ssh-agent -k [2021-05-10T18:03:27.352Z] unset SSH_AUTH_SOCK; [2021-05-10T18:03:27.352Z] unset SSH_AGENT_PID; [2021-05-10T18:03:27.353Z] echo Agent pid 50 killed; [2021-05-10T18:03:27.409Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-10T18:03:27.864Z] + git semver [Pipeline] } [2021-05-10T18:03:27.898Z] $ docker stop --time=1 2f48bb1a94b6ebc223b02a6c7ecf5c985280da5c64106474b16b842efe49ea00 [2021-05-10T18:03:29.260Z] $ docker rm -f 2f48bb1a94b6ebc223b02a6c7ecf5c985280da5c64106474b16b842efe49ea00 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T18:03:29.746Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-10T18:03:30.197Z] Stashed 1 file(s) [Pipeline] echo [2021-05-10T18:03:30.224Z] [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 [2021-05-10T18:03:45.807Z] Still waiting to schedule task [2021-05-10T18:03:45.807Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-10T18:03:45.834Z] Still waiting to schedule task [2021-05-10T18:03:45.834Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-10T18:05:33.526Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4146 in /w/workspace/xfoundry_device-modbus-go_PR-237 [Pipeline] { [Pipeline] ws [2021-05-10T18:05:33.587Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2021-05-10T18:05:39.272Z] using credential edgex-jenkins-ssh [2021-05-10T18:05:39.292Z] Cloning the remote Git repository [2021-05-10T18:05:39.349Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-05-10T18:05:39.457Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2021-05-10T18:05:39.539Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-10T18:05:39.540Z] > git --version # timeout=10 [2021-05-10T18:05:39.557Z] > git --version # 'git version 2.17.1' [2021-05-10T18:05:39.560Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T18:05:39.622Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T18:05:41.179Z] Merging remotes/origin/master commit 99df618622a9f54f94da4a2280a77aba81c63d12 into PR head commit b1ab6175f0a44daa899a0a21e3d89de9975b2107 [2021-05-10T18:05:40.502Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-10T18:05:40.522Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T18:05:40.547Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-10T18:05:40.577Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-10T18:05:40.578Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T18:05:40.590Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/237/head:refs/remotes/origin/PR-237 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T18:05:41.198Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T18:05:41.215Z] > git checkout -f b1ab6175f0a44daa899a0a21e3d89de9975b2107 # timeout=10 [2021-05-10T18:05:41.288Z] > git remote # timeout=10 [2021-05-10T18:05:41.306Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T18:05:41.361Z] Merge succeeded, producing b1ab6175f0a44daa899a0a21e3d89de9975b2107 [2021-05-10T18:05:41.361Z] Checking out Revision b1ab6175f0a44daa899a0a21e3d89de9975b2107 (PR-237) [2021-05-10T18:05:41.319Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T18:05:41.329Z] > git merge 99df618622a9f54f94da4a2280a77aba81c63d12 # timeout=10 [2021-05-10T18:05:41.350Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T18:05:41.369Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T18:05:41.388Z] > git checkout -f b1ab6175f0a44daa899a0a21e3d89de9975b2107 # timeout=10 [2021-05-10T18:05:45.616Z] Commit message: "feat: Add secure MessagBus capability" [2021-05-10T18:05:45.672Z] > git --version # timeout=10 [2021-05-10T18:05:45.685Z] > git --version # 'git version 2.17.1' [2021-05-10T18:05:45.708Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T18:05:47.330Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-10T18:05:47.757Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T18:05:48.116Z] + sudo service docker restart [2021-05-10T18:05:48.116Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T18:05:50.204Z] provisioning config files... [2021-05-10T18:05:50.247Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config6784961907935604470tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:05:50.659Z] ---> docker-login.sh [2021-05-10T18:05:50.659Z] nexus3.edgexfoundry.org:10001 [2021-05-10T18:05:51.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:05:51.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:05:51.855Z] Configure a credential helper to remove this warning. See [2021-05-10T18:05:51.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:05:51.855Z] [2021-05-10T18:05:51.855Z] Login Succeeded [2021-05-10T18:05:51.855Z] nexus3.edgexfoundry.org:10002 [2021-05-10T18:05:52.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:05:52.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:05:52.443Z] Configure a credential helper to remove this warning. See [2021-05-10T18:05:52.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:05:52.443Z] [2021-05-10T18:05:52.443Z] Login Succeeded [2021-05-10T18:05:52.443Z] nexus3.edgexfoundry.org:10003 [2021-05-10T18:05:52.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:05:53.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:05:53.000Z] Configure a credential helper to remove this warning. See [2021-05-10T18:05:53.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:05:53.000Z] [2021-05-10T18:05:53.000Z] Login Succeeded [2021-05-10T18:05:53.000Z] nexus3.edgexfoundry.org:10004 [2021-05-10T18:05:53.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:05:53.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:05:53.555Z] Configure a credential helper to remove this warning. See [2021-05-10T18:05:53.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:05:53.555Z] [2021-05-10T18:05:53.555Z] Login Succeeded [2021-05-10T18:05:53.555Z] docker.io [2021-05-10T18:05:53.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:05:54.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:05:54.100Z] Configure a credential helper to remove this warning. See [2021-05-10T18:05:54.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:05:54.100Z] [2021-05-10T18:05:54.100Z] Login Succeeded [2021-05-10T18:05:54.100Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T18:05:54.132Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T18:05:54.574Z] ========================================================= [2021-05-10T18:05:54.574Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-10T18:05:54.574Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:05:56.057Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-10T18:05:56.329Z] Sending build context to Docker daemon 610.8kB [2021-05-10T18:05:56.603Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T18:05:56.603Z] Step 2/8 : FROM ${BASE} [2021-05-10T18:05:56.603Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-10T18:05:56.603Z] 595b0fe564bb: Pulling fs layer [2021-05-10T18:05:56.603Z] 7186ed65a4f7: Pulling fs layer [2021-05-10T18:05:56.603Z] 316046926c0a: Pulling fs layer [2021-05-10T18:05:56.603Z] 4ebd0625c992: Pulling fs layer [2021-05-10T18:05:56.603Z] 207e8628e3a3: Pulling fs layer [2021-05-10T18:05:56.603Z] c791037a9be2: Pulling fs layer [2021-05-10T18:05:56.603Z] ffd874e62e21: Pulling fs layer [2021-05-10T18:05:56.603Z] 4ebd0625c992: Waiting [2021-05-10T18:05:56.603Z] 207e8628e3a3: Waiting [2021-05-10T18:05:56.603Z] ffd874e62e21: Waiting [2021-05-10T18:05:56.604Z] c791037a9be2: Waiting [2021-05-10T18:05:56.604Z] 316046926c0a: Verifying Checksum [2021-05-10T18:05:56.604Z] 316046926c0a: Download complete [2021-05-10T18:05:56.604Z] 7186ed65a4f7: Verifying Checksum [2021-05-10T18:05:56.604Z] 7186ed65a4f7: Download complete [2021-05-10T18:05:56.604Z] 207e8628e3a3: Verifying Checksum [2021-05-10T18:05:56.604Z] 207e8628e3a3: Download complete [2021-05-10T18:05:56.604Z] c791037a9be2: Verifying Checksum [2021-05-10T18:05:56.604Z] c791037a9be2: Download complete [2021-05-10T18:05:56.604Z] 595b0fe564bb: Verifying Checksum [2021-05-10T18:05:56.604Z] 595b0fe564bb: Download complete [2021-05-10T18:05:57.205Z] 595b0fe564bb: Pull complete [2021-05-10T18:05:57.810Z] 7186ed65a4f7: Pull complete [2021-05-10T18:05:58.084Z] 316046926c0a: Pull complete [2021-05-10T18:05:59.513Z] ffd874e62e21: Verifying Checksum [2021-05-10T18:05:59.513Z] ffd874e62e21: Download complete [2021-05-10T18:06:00.943Z] 4ebd0625c992: Verifying Checksum [2021-05-10T18:06:00.943Z] 4ebd0625c992: Download complete [2021-05-10T18:06:11.111Z] 4ebd0625c992: Pull complete [2021-05-10T18:06:11.111Z] 207e8628e3a3: Pull complete [2021-05-10T18:06:11.111Z] c791037a9be2: Pull complete [2021-05-10T18:06:14.503Z] ffd874e62e21: Pull complete [2021-05-10T18:06:14.503Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-10T18:06:14.503Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-10T18:06:14.503Z] ---> cfc18b08335c [2021-05-10T18:06:14.503Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-10T18:06:17.935Z] ---> Running in c26ff8b682eb [2021-05-10T18:06:17.935Z] Removing intermediate container c26ff8b682eb [2021-05-10T18:06:17.935Z] ---> 08154bfeb6a8 [2021-05-10T18:06:17.935Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T18:06:17.935Z] ---> Running in 4acd4217a8b7 [2021-05-10T18:06:20.812Z] Removing intermediate container 4acd4217a8b7 [2021-05-10T18:06:20.812Z] ---> 2e3a00f5f0a3 [2021-05-10T18:06:20.812Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-10T18:06:20.812Z] ---> Running in e3beaa7c63b1 [2021-05-10T18:06:21.392Z] Running on prd-centos7-docker-4c-2g-4150 in /w/workspace/xfoundry_device-modbus-go_PR-237 [Pipeline] { [Pipeline] ws [2021-05-10T18:06:21.449Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2021-05-10T18:06:21.864Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T18:06:23.297Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T18:06:24.735Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-10T18:06:24.735Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-10T18:06:24.743Z] using credential edgex-jenkins-ssh [2021-05-10T18:06:24.802Z] Cloning the remote Git repository [2021-05-10T18:06:25.008Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-10T18:06:25.008Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-10T18:06:24.836Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-05-10T18:06:24.914Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2021-05-10T18:06:24.978Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-10T18:06:24.978Z] > git --version # timeout=10 [2021-05-10T18:06:24.986Z] > git --version # 'git version 2.24.3' [2021-05-10T18:06:24.987Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T18:06:25.035Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T18:06:25.282Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-10T18:06:25.553Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-10T18:06:25.826Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-10T18:06:26.189Z] Merging remotes/origin/master commit 99df618622a9f54f94da4a2280a77aba81c63d12 into PR head commit b1ab6175f0a44daa899a0a21e3d89de9975b2107 [2021-05-10T18:06:26.278Z] Merge succeeded, producing b1ab6175f0a44daa899a0a21e3d89de9975b2107 [2021-05-10T18:06:26.279Z] Checking out Revision b1ab6175f0a44daa899a0a21e3d89de9975b2107 (PR-237) [2021-05-10T18:06:25.693Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-10T18:06:25.701Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T18:06:25.713Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-10T18:06:25.727Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-10T18:06:25.727Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T18:06:25.732Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/237/head:refs/remotes/origin/PR-237 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T18:06:26.197Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T18:06:26.204Z] > git checkout -f b1ab6175f0a44daa899a0a21e3d89de9975b2107 # timeout=10 [2021-05-10T18:06:26.239Z] > git remote # timeout=10 [2021-05-10T18:06:26.247Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T18:06:26.254Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T18:06:26.258Z] > git merge 99df618622a9f54f94da4a2280a77aba81c63d12 # timeout=10 [2021-05-10T18:06:26.270Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T18:06:26.800Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-10T18:06:26.800Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-10T18:06:27.072Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-10T18:06:27.348Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-10T18:06:26.281Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T18:06:26.287Z] > git checkout -f b1ab6175f0a44daa899a0a21e3d89de9975b2107 # timeout=10 [2021-05-10T18:06:27.949Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-10T18:06:28.224Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-10T18:06:28.496Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T18:06:28.496Z] OK: 145 MiB in 53 packages [2021-05-10T18:06:29.933Z] Removing intermediate container e3beaa7c63b1 [2021-05-10T18:06:29.933Z] ---> 640d297f09cc [2021-05-10T18:06:29.933Z] Step 6/8 : WORKDIR /device-modbus-go [2021-05-10T18:06:30.060Z] Commit message: "feat: Add secure MessagBus capability" [2021-05-10T18:06:30.091Z] > git --version # timeout=10 [2021-05-10T18:06:30.099Z] > git --version # 'git version 2.24.3' [2021-05-10T18:06:30.107Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T18:06:30.206Z] ---> Running in 999e2fa20a8e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T18:06:30.805Z] Removing intermediate container 999e2fa20a8e [2021-05-10T18:06:30.805Z] ---> 72629380b307 [2021-05-10T18:06:30.805Z] Step 7/8 : COPY . . [2021-05-10T18:06:31.330Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-10T18:06:31.689Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T18:06:31.791Z] ---> 3d1fe1a60550 [2021-05-10T18:06:31.792Z] Step 8/8 : RUN go mod download [2021-05-10T18:06:31.792Z] ---> Running in c74fa5a8fae5 [2021-05-10T18:06:32.026Z] + sudo service docker restart [2021-05-10T18:06:32.027Z] + true [2021-05-10T18:06:32.027Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T18:06:33.523Z] provisioning config files... [2021-05-10T18:06:33.560Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config3712109953929244638tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:06:33.939Z] ---> docker-login.sh [2021-05-10T18:06:33.940Z] nexus3.edgexfoundry.org:10001 [2021-05-10T18:06:34.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:06:34.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:06:34.466Z] Configure a credential helper to remove this warning. See [2021-05-10T18:06:34.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:06:34.466Z] [2021-05-10T18:06:34.466Z] Login Succeeded [2021-05-10T18:06:34.466Z] nexus3.edgexfoundry.org:10002 [2021-05-10T18:06:34.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:06:34.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:06:34.731Z] Configure a credential helper to remove this warning. See [2021-05-10T18:06:34.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:06:34.731Z] [2021-05-10T18:06:34.731Z] Login Succeeded [2021-05-10T18:06:34.731Z] nexus3.edgexfoundry.org:10003 [2021-05-10T18:06:34.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:06:34.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:06:34.732Z] Configure a credential helper to remove this warning. See [2021-05-10T18:06:34.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:06:34.732Z] [2021-05-10T18:06:34.732Z] Login Succeeded [2021-05-10T18:06:34.732Z] nexus3.edgexfoundry.org:10004 [2021-05-10T18:06:34.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:06:34.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:06:34.996Z] Configure a credential helper to remove this warning. See [2021-05-10T18:06:34.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:06:34.996Z] [2021-05-10T18:06:34.996Z] Login Succeeded [2021-05-10T18:06:34.996Z] docker.io [2021-05-10T18:06:35.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:06:35.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:06:35.844Z] Configure a credential helper to remove this warning. See [2021-05-10T18:06:35.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:06:35.844Z] [2021-05-10T18:06:35.844Z] Login Succeeded [2021-05-10T18:06:35.844Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T18:06:35.879Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T18:06:36.239Z] ========================================================= [2021-05-10T18:06:36.239Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-10T18:06:36.239Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:06:36.591Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-10T18:06:36.591Z] Sending build context to Docker daemon 611.8kB [2021-05-10T18:06:36.591Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T18:06:36.591Z] Step 2/8 : FROM ${BASE} [2021-05-10T18:06:36.858Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-10T18:06:36.859Z] 540db60ca938: Pulling fs layer [2021-05-10T18:06:36.859Z] adcc1eea9eea: Pulling fs layer [2021-05-10T18:06:36.859Z] 4c4ab2625f07: Pulling fs layer [2021-05-10T18:06:36.859Z] 0510c868ecb4: Pulling fs layer [2021-05-10T18:06:36.859Z] afea3b2eda06: Pulling fs layer [2021-05-10T18:06:36.859Z] 7809a108b3ef: Pulling fs layer [2021-05-10T18:06:36.859Z] f706445af74f: Pulling fs layer [2021-05-10T18:06:36.859Z] afea3b2eda06: Waiting [2021-05-10T18:06:36.859Z] 7809a108b3ef: Waiting [2021-05-10T18:06:36.859Z] 0510c868ecb4: Waiting [2021-05-10T18:06:36.859Z] f706445af74f: Waiting [2021-05-10T18:06:36.859Z] 4c4ab2625f07: Verifying Checksum [2021-05-10T18:06:36.859Z] 4c4ab2625f07: Download complete [2021-05-10T18:06:36.859Z] adcc1eea9eea: Download complete [2021-05-10T18:06:36.859Z] afea3b2eda06: Verifying Checksum [2021-05-10T18:06:36.859Z] afea3b2eda06: Download complete [2021-05-10T18:06:36.859Z] 540db60ca938: Verifying Checksum [2021-05-10T18:06:36.859Z] 540db60ca938: Download complete [2021-05-10T18:06:36.859Z] 7809a108b3ef: Verifying Checksum [2021-05-10T18:06:36.859Z] 7809a108b3ef: Download complete [2021-05-10T18:06:37.140Z] 540db60ca938: Pull complete [2021-05-10T18:06:37.406Z] adcc1eea9eea: Pull complete [2021-05-10T18:06:37.406Z] 4c4ab2625f07: Pull complete [2021-05-10T18:06:38.807Z] f706445af74f: Verifying Checksum [2021-05-10T18:06:38.807Z] f706445af74f: Download complete [2021-05-10T18:06:39.771Z] 0510c868ecb4: Verifying Checksum [2021-05-10T18:06:39.771Z] 0510c868ecb4: Download complete [2021-05-10T18:06:46.430Z] 0510c868ecb4: Pull complete [2021-05-10T18:06:46.430Z] afea3b2eda06: Pull complete [2021-05-10T18:06:46.430Z] 7809a108b3ef: Pull complete [2021-05-10T18:06:51.798Z] f706445af74f: Pull complete [2021-05-10T18:06:52.064Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-10T18:06:52.064Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-10T18:06:52.064Z] ---> b068be0155e3 [2021-05-10T18:06:52.064Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-10T18:06:52.330Z] ---> Running in 8653bce15181 [2021-05-10T18:06:52.611Z] Removing intermediate container 8653bce15181 [2021-05-10T18:06:52.611Z] ---> 54ae209e11c6 [2021-05-10T18:06:52.611Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T18:06:52.611Z] ---> Running in d69b6f0ab8d1 [2021-05-10T18:06:54.570Z] Removing intermediate container d69b6f0ab8d1 [2021-05-10T18:06:54.570Z] ---> 1774aa2f7dbd [2021-05-10T18:06:54.570Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-10T18:06:54.846Z] ---> Running in 2e2a05e95e1a [2021-05-10T18:06:55.429Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T18:06:57.366Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T18:06:58.771Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-10T18:06:58.771Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-10T18:06:59.035Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-10T18:06:59.298Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-10T18:06:59.566Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-10T18:06:59.566Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-10T18:06:59.841Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-10T18:07:00.800Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-10T18:07:00.800Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-10T18:07:00.800Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-10T18:07:01.073Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-10T18:07:01.343Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-10T18:07:02.761Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-10T18:07:02.761Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T18:07:02.761Z] OK: 156 MiB in 53 packages [2021-05-10T18:07:03.727Z] Removing intermediate container 2e2a05e95e1a [2021-05-10T18:07:03.727Z] ---> 43c56d67995d [2021-05-10T18:07:03.727Z] Step 6/8 : WORKDIR /device-modbus-go [2021-05-10T18:07:03.727Z] ---> Running in d07d13fc6c55 [2021-05-10T18:07:03.727Z] Removing intermediate container d07d13fc6c55 [2021-05-10T18:07:03.727Z] ---> acc1048116c6 [2021-05-10T18:07:03.727Z] Step 7/8 : COPY . . [2021-05-10T18:07:04.147Z] Removing intermediate container c74fa5a8fae5 [2021-05-10T18:07:04.147Z] ---> fd0c46dfa21f [2021-05-10T18:07:04.147Z] Successfully built fd0c46dfa21f [2021-05-10T18:07:04.147Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:07:04.544Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T18:07:04.544Z] . [Pipeline] withDockerContainer [2021-05-10T18:07:04.686Z] ---> a63e1d0d2b72 [2021-05-10T18:07:04.686Z] Step 8/8 : RUN go mod download [2021-05-10T18:07:04.686Z] ---> Running in bfd62f6d19d5 [2021-05-10T18:07:04.849Z] prd-ubuntu18.04-docker-arm64-4c-16g-4146 does not seem to be running inside a container [2021-05-10T18:07:04.934Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-10T18:07:06.523Z] $ docker top 35d2888aa75085d687cdee74ab83246ea1f8ffa966e3b98cfc47bd519b406202 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T18:07:07.547Z] + go version [2021-05-10T18:07:07.547Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-10T18:07:07.761Z] $ docker stop --time=1 35d2888aa75085d687cdee74ab83246ea1f8ffa966e3b98cfc47bd519b406202 [2021-05-10T18:07:09.722Z] $ docker rm -f 35d2888aa75085d687cdee74ab83246ea1f8ffa966e3b98cfc47bd519b406202 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:07:10.727Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T18:07:10.727Z] . [Pipeline] withDockerContainer [2021-05-10T18:07:11.033Z] prd-ubuntu18.04-docker-arm64-4c-16g-4146 does not seem to be running inside a container [2021-05-10T18:07:11.117Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-10T18:07:12.661Z] $ docker top cf4d609ea0ad038231e2cf4036f2a868ebfb7f6e0b5d3c795b2f2bdfaef3eeff -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T18:07:13.709Z] + go mod tidy [Pipeline] sh [2021-05-10T18:07:15.027Z] + make test [2021-05-10T18:07:15.028Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-10T18:07:16.471Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-05-10T18:07:31.429Z] Removing intermediate container bfd62f6d19d5 [2021-05-10T18:07:31.429Z] ---> ec80f8941030 [2021-05-10T18:07:31.429Z] Successfully built ec80f8941030 [2021-05-10T18:07:31.429Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:07:31.603Z] # github.com/edgexfoundry/device-modbus-go/internal/driver [2021-05-10T18:07:31.603Z] internal/driver/deviceclient.go:44:32: cannot use primaryTable (type interface {}) as type string in argument to strings.ToUpper: need type assertion [2021-05-10T18:07:31.603Z] internal/driver/deviceclient.go:53:34: cannot use primaryTable (type interface {}) as type string in argument to calculateAddressLength: need type assertion [2021-05-10T18:07:31.603Z] internal/driver/deviceclient.go:68:3: cannot use primaryTable (type interface {}) as type string in field value: need type assertion [2021-05-10T18:07:31.810Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T18:07:31.810Z] . [Pipeline] withDockerContainer [2021-05-10T18:07:32.272Z] prd-centos7-docker-4c-2g-4150 does not seem to be running inside a container [2021-05-10T18:07:32.336Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T18:07:33.348Z] $ docker top fd34ab41a6cacdce87fd2d56408112685f15df4cd7e84e655e1ca5ec6eaa3697 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T18:07:33.896Z] + go version [2021-05-10T18:07:33.896Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-10T18:07:33.937Z] $ docker stop --time=1 fd34ab41a6cacdce87fd2d56408112685f15df4cd7e84e655e1ca5ec6eaa3697 [2021-05-10T18:07:35.316Z] $ docker rm -f fd34ab41a6cacdce87fd2d56408112685f15df4cd7e84e655e1ca5ec6eaa3697 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:07:36.212Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T18:07:36.212Z] . [Pipeline] withDockerContainer [2021-05-10T18:07:36.418Z] prd-centos7-docker-4c-2g-4150 does not seem to be running inside a container [2021-05-10T18:07:36.497Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T18:07:37.350Z] $ docker top 5438005493d59fbc49b70b2031db18f2b2482ddce918da0c0d36fffa94a879b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T18:07:37.884Z] + go mod tidy [Pipeline] sh [2021-05-10T18:07:38.879Z] + make test [2021-05-10T18:07:38.879Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-10T18:07:40.131Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-05-10T18:07:45.560Z] # github.com/edgexfoundry/device-modbus-go/internal/driver [2021-05-10T18:07:45.560Z] internal/driver/deviceclient.go:44:32: cannot use primaryTable (type interface {}) as type string in argument to strings.ToUpper: need type assertion [2021-05-10T18:07:45.560Z] internal/driver/deviceclient.go:53:34: cannot use primaryTable (type interface {}) as type string in argument to calculateAddressLength: need type assertion [2021-05-10T18:07:45.560Z] internal/driver/deviceclient.go:68:3: cannot use primaryTable (type interface {}) as type string in field value: need type assertion [2021-05-10T18:07:57.981Z] # github.com/edgexfoundry/device-modbus-go/internal/driver [github.com/edgexfoundry/device-modbus-go/internal/driver.test] [2021-05-10T18:07:57.981Z] internal/driver/deviceclient.go:44: cannot use primaryTable (type interface {}) as type string in argument to strings.ToUpper: need type assertion [2021-05-10T18:07:57.981Z] internal/driver/deviceclient.go:53: cannot use primaryTable (type interface {}) as type string in argument to calculateAddressLength: need type assertion [2021-05-10T18:07:57.981Z] internal/driver/deviceclient.go:68: cannot use primaryTable (type interface {}) as type string in field value: need type assertion [2021-05-10T18:07:57.981Z] internal/driver/attributechecker_test.go:19:4: cannot use map[string]string{...} (type map[string]string) as type map[string]interface {} in field value [2021-05-10T18:07:57.981Z] internal/driver/attributechecker_test.go:26:4: cannot use map[string]string{...} (type map[string]string) as type map[string]interface {} in field value [2021-05-10T18:07:57.981Z] internal/driver/attributechecker_test.go:43:4: cannot use map[string]string{...} (type map[string]string) as type map[string]interface {} in field value [2021-05-10T18:07:57.981Z] internal/driver/attributechecker_test.go:50:4: cannot use map[string]string{...} (type map[string]string) as type map[string]interface {} in field value [2021-05-10T18:07:57.981Z] internal/driver/deviceclient_test.go:28:3: cannot use map[string]string{...} (type map[string]string) as type map[string]interface {} in field value [2021-05-10T18:07:57.981Z] internal/driver/deviceclient_test.go:55:3: cannot use map[string]string{...} (type map[string]string) as type map[string]interface {} in field value [2021-05-10T18:07:57.981Z] internal/driver/deviceclient_test.go:81:3: cannot use map[string]string{...} (type map[string]string) as type map[string]interface {} in field value [2021-05-10T18:07:57.981Z] internal/driver/deviceclient_test.go:81:3: too many errors [2021-05-10T18:07:58.560Z] FAIL github.com/edgexfoundry/device-modbus-go/internal/driver [build failed] [2021-05-10T18:07:58.824Z] make: *** [Makefile:25: test] Error 2 [Pipeline] } [2021-05-10T18:07:58.876Z] $ docker stop --time=1 5438005493d59fbc49b70b2031db18f2b2482ddce918da0c0d36fffa94a879b6 [2021-05-10T18:08:00.647Z] $ docker rm -f 5438005493d59fbc49b70b2031db18f2b2482ddce918da0c0d36fffa94a879b6 [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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:08:02.183Z] ---> job-cost.sh [2021-05-10T18:08:02.183Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-tFMv [2021-05-10T18:08:04.001Z] # github.com/edgexfoundry/device-modbus-go/internal/driver [github.com/edgexfoundry/device-modbus-go/internal/driver.test] [2021-05-10T18:08:04.001Z] internal/driver/deviceclient.go:44: cannot use primaryTable (type interface {}) as type string in argument to strings.ToUpper: need type assertion [2021-05-10T18:08:04.001Z] internal/driver/deviceclient.go:53: cannot use primaryTable (type interface {}) as type string in argument to calculateAddressLength: need type assertion [2021-05-10T18:08:04.002Z] internal/driver/deviceclient.go:68: cannot use primaryTable (type interface {}) as type string in field value: need type assertion [2021-05-10T18:08:04.002Z] internal/driver/attributechecker_test.go:19:4: cannot use map[string]string{...} (type map[string]string) as type map[string]interface {} in field value [2021-05-10T18:08:04.002Z] internal/driver/attributechecker_test.go:26:4: cannot use map[string]string{...} (type map[string]string) as type map[string]interface {} in field value [2021-05-10T18:08:04.002Z] internal/driver/attributechecker_test.go:43:4: cannot use map[string]string{...} (type map[string]string) as type map[string]interface {} in field value [2021-05-10T18:08:04.002Z] internal/driver/attributechecker_test.go:50:4: cannot use map[string]string{...} (type map[string]string) as type map[string]interface {} in field value [2021-05-10T18:08:04.002Z] internal/driver/deviceclient_test.go:28:3: cannot use map[string]string{...} (type map[string]string) as type map[string]interface {} in field value [2021-05-10T18:08:04.002Z] internal/driver/deviceclient_test.go:55:3: cannot use map[string]string{...} (type map[string]string) as type map[string]interface {} in field value [2021-05-10T18:08:04.002Z] internal/driver/deviceclient_test.go:81:3: cannot use map[string]string{...} (type map[string]string) as type map[string]interface {} in field value [2021-05-10T18:08:04.002Z] internal/driver/deviceclient_test.go:81:3: too many errors [2021-05-10T18:08:04.002Z] FAIL github.com/edgexfoundry/device-modbus-go/internal/driver [build failed] [2021-05-10T18:08:04.002Z] make: *** [Makefile:25: test] Error 2 [Pipeline] } [2021-05-10T18:08:04.052Z] $ docker stop --time=1 cf4d609ea0ad038231e2cf4036f2a868ebfb7f6e0b5d3c795b2f2bdfaef3eeff [2021-05-10T18:08:06.366Z] $ docker rm -f cf4d609ea0ad038231e2cf4036f2a868ebfb7f6e0b5d3c795b2f2bdfaef3eeff [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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:08:07.786Z] ---> job-cost.sh [2021-05-10T18:08:07.787Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Flt0 [2021-05-10T18:08:20.360Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T18:08:47.031Z] lf-activate-venv(): INFO: Adding /tmp/venv-tFMv/bin to PATH [2021-05-10T18:08:47.031Z] INFO: No Stack... [2021-05-10T18:08:48.430Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T18:08:49.379Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T18:08:49.721Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2021-05-10T18:08:49.722Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T18:08:49.844Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-237-1-stack-cost] [2021-05-10T18:08:49.851Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-237-1-stack-cost] did not exist. Created. [2021-05-10T18:08:49.851Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-237-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T18:08:50.292Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-10T18:08:50.814Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T18:08:50.835Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-237-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-10T18:08:51.405Z] Failed in branch amd64 [2021-05-10T18:08:54.727Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T18:10:31.520Z] lf-activate-venv(): INFO: Adding /tmp/venv-Flt0/bin to PATH [2021-05-10T18:10:31.520Z] INFO: No Stack... [2021-05-10T18:10:31.520Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-10T18:10:31.520Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T18:10:31.879Z] + cut -d, -f6 [2021-05-10T18:10:31.879Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock [2021-05-10T18:10:32.040Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-237-1-stack-cost] [2021-05-10T18:10:32.046Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-237-1-stack-cost] did not exist. Created. [2021-05-10T18:10:32.046Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-237-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T18:10:32.493Z] /w/workspace/device-modbus-go/1@tmp/durable-324af2a7/script.sh: 1: /w/workspace/device-modbus-go/1@tmp/durable-324af2a7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-10T18:10:32.874Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-10T18:10:32.916Z] Warning: overwriting stash ‘stack-cost’ [2021-05-10T18:10:33.498Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T18:10:33.520Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-237-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-10T18:10:34.163Z] 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] { (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 [2021-05-10T18:10:36.366Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:10:36.983Z] ---> package-listing.sh [2021-05-10T18:10:36.983Z] ++ facter osfamily [2021-05-10T18:10:36.983Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-10T18:10:36.983Z] + OS_FAMILY=redhat [2021-05-10T18:10:36.983Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-237 [2021-05-10T18:10:36.983Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-10T18:10:36.983Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-10T18:10:36.983Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-10T18:10:36.983Z] + PACKAGES=/tmp/packages_start.txt [2021-05-10T18:10:36.983Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-237 ']' [2021-05-10T18:10:36.983Z] + PACKAGES=/tmp/packages_end.txt [2021-05-10T18:10:36.983Z] + case "${OS_FAMILY}" in [2021-05-10T18:10:36.983Z] + rpm -qa [2021-05-10T18:10:36.983Z] + sort [2021-05-10T18:10:42.345Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-10T18:10:42.345Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-10T18:10:42.345Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-10T18:10:42.345Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-237 ']' [2021-05-10T18:10:42.345Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-237/archives/ [2021-05-10T18:10:42.345Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-237/archives/ [Pipeline] echo [2021-05-10T18:10:42.382Z] 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-237/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-10T18:10:42.696Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:10:43.103Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T18:10:43.103Z] [2021-05-10T18:10:43.103Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:10:43.523Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T18:10:43.523Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-10T18:10:43.523Z] df20fa9351a1: Pulling fs layer [2021-05-10T18:10:43.523Z] 36b3adc4ff6f: Pulling fs layer [2021-05-10T18:10:43.523Z] 8ad3a11d3b57: Pulling fs layer [2021-05-10T18:10:43.523Z] 46f8f816bc3b: Pulling fs layer [2021-05-10T18:10:43.523Z] 93b61091891f: Pulling fs layer [2021-05-10T18:10:43.523Z] 93b9cdb0e59b: Pulling fs layer [2021-05-10T18:10:43.523Z] 5e14af77c1be: Pulling fs layer [2021-05-10T18:10:43.523Z] 01666e4c0597: Pulling fs layer [2021-05-10T18:10:43.523Z] aa168da1d23b: Pulling fs layer [2021-05-10T18:10:43.523Z] 46f8f816bc3b: Waiting [2021-05-10T18:10:43.523Z] 93b61091891f: Waiting [2021-05-10T18:10:43.523Z] 93b9cdb0e59b: Waiting [2021-05-10T18:10:43.523Z] 5e14af77c1be: Waiting [2021-05-10T18:10:43.523Z] 01666e4c0597: Waiting [2021-05-10T18:10:43.523Z] aa168da1d23b: Waiting [2021-05-10T18:10:43.523Z] 36b3adc4ff6f: Download complete [2021-05-10T18:10:43.523Z] 46f8f816bc3b: Verifying Checksum [2021-05-10T18:10:43.523Z] 46f8f816bc3b: Download complete [2021-05-10T18:10:43.799Z] 93b61091891f: Download complete [2021-05-10T18:10:43.799Z] df20fa9351a1: Verifying Checksum [2021-05-10T18:10:43.799Z] df20fa9351a1: Download complete [2021-05-10T18:10:43.799Z] 93b9cdb0e59b: Download complete [2021-05-10T18:10:43.799Z] 5e14af77c1be: Download complete [2021-05-10T18:10:43.799Z] 01666e4c0597: Verifying Checksum [2021-05-10T18:10:43.799Z] 01666e4c0597: Download complete [2021-05-10T18:10:44.065Z] 8ad3a11d3b57: Verifying Checksum [2021-05-10T18:10:44.065Z] 8ad3a11d3b57: Download complete [2021-05-10T18:10:44.337Z] df20fa9351a1: Pull complete [2021-05-10T18:10:44.607Z] 36b3adc4ff6f: Pull complete [2021-05-10T18:10:45.575Z] 8ad3a11d3b57: Pull complete [2021-05-10T18:10:45.575Z] 46f8f816bc3b: Pull complete [2021-05-10T18:10:46.539Z] 93b61091891f: Pull complete [2021-05-10T18:10:46.803Z] 93b9cdb0e59b: Pull complete [2021-05-10T18:10:46.803Z] 5e14af77c1be: Pull complete [2021-05-10T18:10:47.074Z] aa168da1d23b: Verifying Checksum [2021-05-10T18:10:47.074Z] aa168da1d23b: Download complete [2021-05-10T18:10:47.074Z] 01666e4c0597: Pull complete [2021-05-10T18:10:55.268Z] aa168da1d23b: Pull complete [2021-05-10T18:10:55.268Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-10T18:10:55.268Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T18:10:55.268Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-10T18:10:55.541Z] prd-centos7-docker-4c-2g-4143 does not seem to be running inside a container [2021-05-10T18:10:55.591Z] $ 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-237/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-237 -v /w/workspace/xfoundry_device-modbus-go_PR-237:/w/workspace/xfoundry_device-modbus-go_PR-237:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-237@tmp:/w/workspace/xfoundry_device-modbus-go_PR-237@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:10003/edgex-lftools-log-publisher:alpine cat [2021-05-10T18:10:58.208Z] $ docker top 8f0209f4b8cee79a287d595c006008140b0f94dd4375b63a5d5e805b356a018e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T18:10:58.711Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-10T18:10:59.043Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-10T18:10:59.364Z] + ls /var/log/sa-host [2021-05-10T18:10:59.364Z] + sadf -c /var/log/sa-host/sa10 [2021-05-10T18:10:59.364Z] file_magic: OK [2021-05-10T18:10:59.364Z] HZ: Using current value: 100 [2021-05-10T18:10:59.364Z] file_header: OK [2021-05-10T18:10:59.364Z] 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 [2021-05-10T18:10:59.364Z] Statistics: [2021-05-10T18:10:59.364Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-10T18:10:59.364Z] File successfully converted to sysstat format version 12.2.1 [2021-05-10T18:10:59.364Z] + sadf -c /var/log/sa-host/sa23 [2021-05-10T18:10:59.364Z] file_magic: OK [2021-05-10T18:10:59.364Z] HZ: Using current value: 100 [2021-05-10T18:10:59.364Z] file_header: OK [2021-05-10T18:10:59.364Z] 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 [2021-05-10T18:10:59.364Z] Statistics: [2021-05-10T18:10:59.364Z] Hnuu...uuuununununu... [2021-05-10T18:10:59.364Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-10T18:10:59.603Z] provisioning config files... [2021-05-10T18:10:59.621Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-237@tmp/config6331643056302735301tmp [Pipeline] { [Pipeline] echo [2021-05-10T18:10:59.678Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:11:00.021Z] ---> create-netrc.sh [Pipeline] } [2021-05-10T18:11:00.044Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-10T18:11:00.120Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:11:00.462Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-10T18:11:00.493Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:11:00.848Z] ---> sudo-logs.sh [2021-05-10T18:11:00.848Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-10T18:11:00.974Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:11:01.323Z] ---> job-cost.sh [2021-05-10T18:11:01.323Z] lf-activate-venv: SKIPPING [2021-05-10T18:11:01.323Z] DEBUG: total: 0.20999999344348907 [2021-05-10T18:11:01.323Z] INFO: Retrieving Stack Cost... [2021-05-10T18:11:02.283Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T18:11:02.868Z] INFO: Archiving Costs [Pipeline] echo [2021-05-10T18:11:02.907Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:11:03.247Z] ---> logs-deploy.sh [2021-05-10T18:11:03.247Z] lf-activate-venv: SKIPPING [2021-05-10T18:11:03.247Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-237/1 [2021-05-10T18:11:03.247Z] INFO: archiving workspace using pattern(s): [2021-05-10T18:11:05.180Z] Archives upload complete. [2021-05-10T18:11:05.443Z] INFO: archiving logs to Nexus