Pull request #237 updated 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 02ea8102e4256cab45a95577ef27fe91c4046b54+99df618622a9f54f94da4a2280a77aba81c63d12 (694330f82e62ef3ce3739c80af6e5882d13c13d2) 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 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 > 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 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 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 > 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 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 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4184 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 Merging remotes/origin/master commit 99df618622a9f54f94da4a2280a77aba81c63d12 into PR head commit 02ea8102e4256cab45a95577ef27fe91c4046b54 Merge succeeded, producing 02ea8102e4256cab45a95577ef27fe91c4046b54 Checking out Revision 02ea8102e4256cab45a95577ef27fe91c4046b54 (PR-237) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 02ea8102e4256cab45a95577ef27fe91c4046b54 # 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 02ea8102e4256cab45a95577ef27fe91c4046b54 # timeout=10 Commit message: "feat: Add secure MessagBus capability" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-10T20:23:56.696Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-10T20:23:56.799Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-10T20:23:56.829Z] ========================================================= [2021-05-10T20:23:56.829Z] EdgeX Global Pipelines Version Info [2021-05-10T20:23:56.829Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk b1ab6175f0a44daa899a0a21e3d89de9975b2107 # timeout=10 [2021-05-10T20:23:59.854Z] ------------------- [2021-05-10T20:23:59.854Z] stable info: [2021-05-10T20:23:59.854Z] ------------------- [2021-05-10T20:23:59.854Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-10T20:23:59.854Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T20:23:59.854Z] Message: update stable to v1.0.191 [2021-05-10T20:24:00.856Z] ------------------- [2021-05-10T20:24:00.856Z] experimental info: [2021-05-10T20:24:00.856Z] ------------------- [2021-05-10T20:24:00.856Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-10T20:24:00.856Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-10T20:24:00.856Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-10T20:24:01.029Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-05-10T20:24:01.055Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-05-10T20:24:01.081Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-10T20:24:01.123Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-10T20:24:01.147Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-10T20:24:01.173Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-10T20:24:01.199Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-10T20:24:01.241Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-10T20:24:01.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-10T20:24:01.294Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-10T20:24:01.320Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-10T20:24:01.364Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo [2021-05-10T20:24:01.398Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-10T20:24:01.438Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-10T20:24:01.474Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T20:24:01.538Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T20:24:01.563Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T20:24:01.589Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T20:24:01.614Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-10T20:24:01.657Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-05-10T20:24:01.682Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-10T20:24:01.707Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-10T20:24:01.732Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-10T20:24:01.763Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-10T20:24:01.789Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-10T20:24:01.833Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-10T20:24:01.859Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-237 [Pipeline] echo [2021-05-10T20:24:01.883Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-237 [Pipeline] echo [2021-05-10T20:24:01.908Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-237 [Pipeline] echo [2021-05-10T20:24:01.933Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 02ea8102e4256cab45a95577ef27fe91c4046b54 [Pipeline] echo [2021-05-10T20:24:01.973Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 02ea810 [Pipeline] echo [2021-05-10T20:24:01.997Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T20:24:02.081Z] provisioning config files... [2021-05-10T20:24:02.146Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-237@tmp/config2131914057633126670tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:24:02.569Z] ---> docker-login.sh [2021-05-10T20:24:02.569Z] nexus3.edgexfoundry.org:10001 [2021-05-10T20:24:03.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:24:03.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:24:03.474Z] Configure a credential helper to remove this warning. See [2021-05-10T20:24:03.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:24:03.474Z] [2021-05-10T20:24:03.474Z] Login Succeeded [2021-05-10T20:24:03.474Z] nexus3.edgexfoundry.org:10002 [2021-05-10T20:24:04.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:24:04.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:24:04.067Z] Configure a credential helper to remove this warning. See [2021-05-10T20:24:04.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:24:04.067Z] [2021-05-10T20:24:04.067Z] Login Succeeded [2021-05-10T20:24:04.067Z] nexus3.edgexfoundry.org:10003 [2021-05-10T20:24:04.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:24:04.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:24:04.348Z] Configure a credential helper to remove this warning. See [2021-05-10T20:24:04.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:24:04.348Z] [2021-05-10T20:24:04.348Z] Login Succeeded [2021-05-10T20:24:04.348Z] nexus3.edgexfoundry.org:10004 [2021-05-10T20:24:05.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:24:05.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:24:05.001Z] Configure a credential helper to remove this warning. See [2021-05-10T20:24:05.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:24:05.001Z] [2021-05-10T20:24:05.001Z] Login Succeeded [2021-05-10T20:24:05.001Z] docker.io [2021-05-10T20:24:05.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:24:05.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:24:05.929Z] Configure a credential helper to remove this warning. See [2021-05-10T20:24:05.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:24:05.929Z] [2021-05-10T20:24:05.929Z] Login Succeeded [2021-05-10T20:24:05.929Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T20:24:05.947Z] 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-10T20:24:06.461Z] + git log --format=format:%s -1 02ea8102e4256cab45a95577ef27fe91c4046b54 [Pipeline] echo [2021-05-10T20:24:06.653Z] GIT_COMMIT: 02ea8102e4256cab45a95577ef27fe91c4046b54, Commit Message: feat: Add secure MessagBus capability [Pipeline] echo [2021-05-10T20:24:06.667Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:24:07.402Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T20:24:07.742Z] [2021-05-10T20:24:07.742Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:24:08.282Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T20:24:08.579Z] latest: Pulling from edgex-devops/git-semver [2021-05-10T20:24:08.579Z] 31603596830f: Pulling fs layer [2021-05-10T20:24:08.579Z] 54011a49482f: Pulling fs layer [2021-05-10T20:24:08.579Z] a6820b24f6d8: Pulling fs layer [2021-05-10T20:24:08.579Z] f581987b2513: Pulling fs layer [2021-05-10T20:24:08.579Z] f581987b2513: Waiting [2021-05-10T20:24:08.579Z] 54011a49482f: Verifying Checksum [2021-05-10T20:24:08.579Z] 54011a49482f: Download complete [2021-05-10T20:24:08.886Z] 31603596830f: Verifying Checksum [2021-05-10T20:24:08.886Z] 31603596830f: Download complete [2021-05-10T20:24:09.613Z] a6820b24f6d8: Verifying Checksum [2021-05-10T20:24:09.613Z] a6820b24f6d8: Download complete [2021-05-10T20:24:09.613Z] f581987b2513: Verifying Checksum [2021-05-10T20:24:09.613Z] f581987b2513: Download complete [2021-05-10T20:24:09.892Z] 31603596830f: Pull complete [2021-05-10T20:24:10.168Z] 54011a49482f: Pull complete [2021-05-10T20:24:12.215Z] a6820b24f6d8: Pull complete [2021-05-10T20:24:12.492Z] f581987b2513: Pull complete [2021-05-10T20:24:12.492Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-10T20:24:12.767Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T20:24:12.767Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-10T20:24:13.128Z] prd-centos7-docker-4c-2g-4184 does not seem to be running inside a container [2021-05-10T20:24:13.390Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-10T20:24:17.097Z] $ docker top 85afb3c628b447b88ff96f0038b7d9f1dd2e878624268e18048820edf2bbe168 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-10T20:24:17.467Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T20:24:17.467Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T20:24:17.949Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T20:24:17.956Z] $ docker exec 85afb3c628b447b88ff96f0038b7d9f1dd2e878624268e18048820edf2bbe168 ssh-agent [2021-05-10T20:24:18.546Z] SSH_AUTH_SOCK=/tmp/ssh-rtuBblU17rfE/agent.11 [2021-05-10T20:24:18.546Z] SSH_AGENT_PID=16 [2021-05-10T20:24:18.574Z] Running ssh-add (command line suppressed) [2021-05-10T20:24:19.290Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-237@tmp/private_key_875376299690754860.key (/w/workspace/xfoundry_device-modbus-go_PR-237@tmp/private_key_875376299690754860.key) [2021-05-10T20:24:19.413Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T20:24:19.771Z] + git tag --points-at HEAD [Pipeline] } [2021-05-10T20:24:19.897Z] $ docker exec --env ******** --env ******** 85afb3c628b447b88ff96f0038b7d9f1dd2e878624268e18048820edf2bbe168 ssh-agent -k [2021-05-10T20:24:20.319Z] unset SSH_AUTH_SOCK; [2021-05-10T20:24:20.326Z] unset SSH_AGENT_PID; [2021-05-10T20:24:20.326Z] echo Agent pid 16 killed; [2021-05-10T20:24:20.409Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-10T20:24:20.448Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T20:24:20.448Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T20:24:20.724Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T20:24:20.731Z] $ docker exec 85afb3c628b447b88ff96f0038b7d9f1dd2e878624268e18048820edf2bbe168 ssh-agent [2021-05-10T20:24:21.163Z] SSH_AUTH_SOCK=/tmp/ssh-CDlavfINPOSD/agent.45 [2021-05-10T20:24:21.163Z] SSH_AGENT_PID=50 [2021-05-10T20:24:21.173Z] Running ssh-add (command line suppressed) [2021-05-10T20:24:21.609Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-237@tmp/private_key_7056083905113436548.key (/w/workspace/xfoundry_device-modbus-go_PR-237@tmp/private_key_7056083905113436548.key) [2021-05-10T20:24:21.814Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T20:24:22.546Z] + git semver init [2021-05-10T20:24:22.546Z] # -> Open(): unable to determine branch for HEAD [2021-05-10T20:24:22.546Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-237/.git [2021-05-10T20:24:22.546Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-237 [2021-05-10T20:24:22.546Z] # $SEMVER_REMOTE_NAME = origin [2021-05-10T20:24:22.546Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-10T20:24:22.546Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-10T20:24:22.546Z] # $SEMVER_BRANCH = PR-237 [2021-05-10T20:24:22.546Z] # $SEMVER_TEMP = /tmp/semver-564021315 [2021-05-10T20:24:22.546Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-05-10T20:24:23.160Z] # '/tmp/semver-564021315' -> '/w/workspace/xfoundry_device-modbus-go_PR-237/.semver' [2021-05-10T20:24:23.160Z] # -> Force: false [2021-05-10T20:24:23.160Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-237/.semver [Pipeline] } [2021-05-10T20:24:23.222Z] $ docker exec --env ******** --env ******** 85afb3c628b447b88ff96f0038b7d9f1dd2e878624268e18048820edf2bbe168 ssh-agent -k [2021-05-10T20:24:23.585Z] unset SSH_AUTH_SOCK; [2021-05-10T20:24:23.587Z] unset SSH_AGENT_PID; [2021-05-10T20:24:23.587Z] echo Agent pid 50 killed; [2021-05-10T20:24:23.734Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-10T20:24:24.514Z] + git semver [Pipeline] } [2021-05-10T20:24:24.588Z] $ docker stop --time=1 85afb3c628b447b88ff96f0038b7d9f1dd2e878624268e18048820edf2bbe168 [2021-05-10T20:24:26.850Z] $ docker rm -f 85afb3c628b447b88ff96f0038b7d9f1dd2e878624268e18048820edf2bbe168 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T20:24:27.478Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-10T20:24:28.067Z] Stashed 1 file(s) [Pipeline] echo [2021-05-10T20:24:28.071Z] [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-10T20:24:43.275Z] Still waiting to schedule task [2021-05-10T20:24:43.275Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-10T20:24:43.278Z] Still waiting to schedule task [2021-05-10T20:24:43.278Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-10T20:26:47.297Z] Running on prd-centos7-docker-4c-2g-4187 in /w/workspace/xfoundry_device-modbus-go_PR-237 [Pipeline] { [Pipeline] ws [2021-05-10T20:26:47.319Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2021-05-10T20:26:49.998Z] using credential edgex-jenkins-ssh [2021-05-10T20:26:50.019Z] Cloning the remote Git repository [2021-05-10T20:26:49.881Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-05-10T20:26:49.960Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2021-05-10T20:26:50.029Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-10T20:26:50.029Z] > git --version # timeout=10 [2021-05-10T20:26:50.038Z] > git --version # 'git version 2.24.3' [2021-05-10T20:26:50.039Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T20:26:50.087Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T20:26:51.394Z] Merging remotes/origin/master commit 99df618622a9f54f94da4a2280a77aba81c63d12 into PR head commit 02ea8102e4256cab45a95577ef27fe91c4046b54 [2021-05-10T20:26:51.478Z] Merge succeeded, producing 02ea8102e4256cab45a95577ef27fe91c4046b54 [2021-05-10T20:26:51.478Z] Checking out Revision 02ea8102e4256cab45a95577ef27fe91c4046b54 (PR-237) [2021-05-10T20:26:50.717Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-10T20:26:50.724Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T20:26:50.739Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-10T20:26:50.763Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-10T20:26:50.763Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T20:26:50.774Z] > 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-10T20:26:51.349Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T20:26:51.355Z] > git checkout -f 02ea8102e4256cab45a95577ef27fe91c4046b54 # timeout=10 [2021-05-10T20:26:51.392Z] > git remote # timeout=10 [2021-05-10T20:26:51.399Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T20:26:51.404Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T20:26:51.411Z] > git merge 99df618622a9f54f94da4a2280a77aba81c63d12 # timeout=10 [2021-05-10T20:26:51.424Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T20:26:51.434Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T20:26:51.438Z] > git checkout -f 02ea8102e4256cab45a95577ef27fe91c4046b54 # timeout=10 [2021-05-10T20:26:55.015Z] Commit message: "feat: Add secure MessagBus capability" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T20:26:56.063Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-10T20:26:56.401Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T20:26:56.703Z] + sudo service docker restart [2021-05-10T20:26:56.703Z] + true [2021-05-10T20:26:56.703Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T20:26:57.691Z] provisioning config files... [2021-05-10T20:26:57.736Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config7225507518478334344tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:26:58.099Z] ---> docker-login.sh [2021-05-10T20:26:58.099Z] nexus3.edgexfoundry.org:10001 [2021-05-10T20:26:58.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:26:58.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:26:58.625Z] Configure a credential helper to remove this warning. See [2021-05-10T20:26:58.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:26:58.625Z] [2021-05-10T20:26:58.625Z] Login Succeeded [2021-05-10T20:26:58.625Z] nexus3.edgexfoundry.org:10002 [2021-05-10T20:26:58.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:26:58.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:26:58.902Z] Configure a credential helper to remove this warning. See [2021-05-10T20:26:58.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:26:58.902Z] [2021-05-10T20:26:58.902Z] Login Succeeded [2021-05-10T20:26:58.902Z] nexus3.edgexfoundry.org:10003 [2021-05-10T20:26:58.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:26:58.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:26:58.902Z] Configure a credential helper to remove this warning. See [2021-05-10T20:26:58.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:26:58.902Z] [2021-05-10T20:26:58.902Z] Login Succeeded [2021-05-10T20:26:58.902Z] nexus3.edgexfoundry.org:10004 [2021-05-10T20:26:59.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:26:59.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:26:59.167Z] Configure a credential helper to remove this warning. See [2021-05-10T20:26:59.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:26:59.167Z] [2021-05-10T20:26:59.167Z] Login Succeeded [2021-05-10T20:26:59.167Z] docker.io [2021-05-10T20:26:59.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:26:59.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:26:59.433Z] Configure a credential helper to remove this warning. See [2021-05-10T20:26:59.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:26:59.433Z] [2021-05-10T20:26:59.433Z] Login Succeeded [2021-05-10T20:26:59.433Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T20:26:59.443Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T20:26:59.625Z] ========================================================= [2021-05-10T20:26:59.625Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-10T20:26:59.625Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:26:59.940Z] + 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-10T20:26:59.940Z] Sending build context to Docker daemon 612.4kB [2021-05-10T20:26:59.940Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T20:26:59.940Z] Step 2/8 : FROM ${BASE} [2021-05-10T20:27:00.205Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-10T20:27:00.205Z] 540db60ca938: Pulling fs layer [2021-05-10T20:27:00.205Z] adcc1eea9eea: Pulling fs layer [2021-05-10T20:27:00.205Z] 4c4ab2625f07: Pulling fs layer [2021-05-10T20:27:00.205Z] 0510c868ecb4: Pulling fs layer [2021-05-10T20:27:00.205Z] afea3b2eda06: Pulling fs layer [2021-05-10T20:27:00.205Z] 7809a108b3ef: Pulling fs layer [2021-05-10T20:27:00.205Z] f706445af74f: Pulling fs layer [2021-05-10T20:27:00.205Z] 0510c868ecb4: Waiting [2021-05-10T20:27:00.205Z] afea3b2eda06: Waiting [2021-05-10T20:27:00.205Z] 7809a108b3ef: Waiting [2021-05-10T20:27:00.205Z] f706445af74f: Waiting [2021-05-10T20:27:00.205Z] 4c4ab2625f07: Verifying Checksum [2021-05-10T20:27:00.205Z] adcc1eea9eea: Download complete [2021-05-10T20:27:00.205Z] afea3b2eda06: Verifying Checksum [2021-05-10T20:27:00.205Z] afea3b2eda06: Download complete [2021-05-10T20:27:00.205Z] 7809a108b3ef: Verifying Checksum [2021-05-10T20:27:00.205Z] 7809a108b3ef: Download complete [2021-05-10T20:27:00.205Z] 540db60ca938: Verifying Checksum [2021-05-10T20:27:00.205Z] 540db60ca938: Download complete [2021-05-10T20:27:00.475Z] 540db60ca938: Pull complete [2021-05-10T20:27:00.736Z] adcc1eea9eea: Pull complete [2021-05-10T20:27:00.736Z] 4c4ab2625f07: Pull complete [2021-05-10T20:27:02.691Z] f706445af74f: Verifying Checksum [2021-05-10T20:27:02.691Z] f706445af74f: Download complete [2021-05-10T20:27:03.273Z] 0510c868ecb4: Verifying Checksum [2021-05-10T20:27:03.274Z] 0510c868ecb4: Download complete [2021-05-10T20:27:08.616Z] 0510c868ecb4: Pull complete [2021-05-10T20:27:08.616Z] afea3b2eda06: Pull complete [2021-05-10T20:27:08.879Z] 7809a108b3ef: Pull complete [2021-05-10T20:27:18.944Z] f706445af74f: Pull complete [2021-05-10T20:27:18.944Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-10T20:27:18.944Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-10T20:27:18.944Z] ---> b068be0155e3 [2021-05-10T20:27:18.944Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-10T20:27:18.944Z] ---> Running in 162dcae7721c [2021-05-10T20:27:18.944Z] Removing intermediate container 162dcae7721c [2021-05-10T20:27:18.944Z] ---> 9481bd9e118b [2021-05-10T20:27:18.944Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T20:27:18.944Z] ---> Running in e97166cdab74 [2021-05-10T20:27:20.347Z] Removing intermediate container e97166cdab74 [2021-05-10T20:27:20.347Z] ---> e02208e469ad [2021-05-10T20:27:20.347Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-10T20:27:20.347Z] ---> Running in e2019b380cae [2021-05-10T20:27:21.301Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T20:27:22.704Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T20:27:23.655Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-10T20:27:23.918Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-10T20:27:23.918Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-10T20:27:24.181Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-10T20:27:24.446Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-10T20:27:24.446Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-10T20:27:24.709Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-10T20:27:25.287Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-10T20:27:25.550Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-10T20:27:25.550Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-10T20:27:25.813Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-10T20:27:26.075Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-10T20:27:26.075Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-10T20:27:26.338Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T20:27:26.338Z] OK: 156 MiB in 53 packages [2021-05-10T20:27:27.313Z] Removing intermediate container e2019b380cae [2021-05-10T20:27:27.313Z] ---> 835b44c231d4 [2021-05-10T20:27:27.313Z] Step 6/8 : WORKDIR /device-modbus-go [2021-05-10T20:27:27.313Z] ---> Running in 61a99b027563 [2021-05-10T20:27:27.578Z] Removing intermediate container 61a99b027563 [2021-05-10T20:27:27.578Z] ---> 65de87b524f3 [2021-05-10T20:27:27.578Z] Step 7/8 : COPY . . [2021-05-10T20:27:28.537Z] ---> 325b2451f623 [2021-05-10T20:27:28.537Z] Step 8/8 : RUN go mod download [2021-05-10T20:27:28.537Z] ---> Running in 594907e1a0b4 [2021-05-10T20:27:43.724Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4188 in /w/workspace/xfoundry_device-modbus-go_PR-237 [Pipeline] { [Pipeline] ws [2021-05-10T20:27:43.743Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2021-05-10T20:27:49.368Z] using credential edgex-jenkins-ssh [2021-05-10T20:27:49.438Z] Cloning the remote Git repository [2021-05-10T20:27:49.515Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-05-10T20:27:49.623Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2021-05-10T20:27:49.747Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-10T20:27:49.748Z] > git --version # timeout=10 [2021-05-10T20:27:49.770Z] > git --version # 'git version 2.17.1' [2021-05-10T20:27:49.772Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T20:27:49.841Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T20:27:50.635Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-10T20:27:50.662Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T20:27:50.693Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-10T20:27:50.738Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-10T20:27:50.739Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T20:27:50.750Z] > 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-10T20:27:51.725Z] Merging remotes/origin/master commit 99df618622a9f54f94da4a2280a77aba81c63d12 into PR head commit 02ea8102e4256cab45a95577ef27fe91c4046b54 [2021-05-10T20:27:51.952Z] Merge succeeded, producing 02ea8102e4256cab45a95577ef27fe91c4046b54 [2021-05-10T20:27:51.952Z] Checking out Revision 02ea8102e4256cab45a95577ef27fe91c4046b54 (PR-237) [2021-05-10T20:27:51.742Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T20:27:51.760Z] > git checkout -f 02ea8102e4256cab45a95577ef27fe91c4046b54 # timeout=10 [2021-05-10T20:27:51.857Z] > git remote # timeout=10 [2021-05-10T20:27:51.880Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T20:27:51.900Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T20:27:51.913Z] > git merge 99df618622a9f54f94da4a2280a77aba81c63d12 # timeout=10 [2021-05-10T20:27:51.934Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T20:27:51.958Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T20:27:51.969Z] > git checkout -f 02ea8102e4256cab45a95577ef27fe91c4046b54 # timeout=10 [2021-05-10T20:27:55.226Z] Removing intermediate container 594907e1a0b4 [2021-05-10T20:27:55.227Z] ---> ce8ff9daab7b [2021-05-10T20:27:55.227Z] Successfully built ce8ff9daab7b [2021-05-10T20:27:55.227Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:27:55.548Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T20:27:55.548Z] . [Pipeline] withDockerContainer [2021-05-10T20:27:55.681Z] prd-centos7-docker-4c-2g-4187 does not seem to be running inside a container [2021-05-10T20:27:55.730Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T20:27:56.334Z] Commit message: "feat: Add secure MessagBus capability" [2021-05-10T20:27:56.694Z] $ docker top b4a8d4e2f0b6f7b268466f60cf7782d7385fe8f2970422e686ce6f9f0d7789b4 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T20:27:57.138Z] + go version [2021-05-10T20:27:57.138Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-10T20:27:57.836Z] $ docker stop --time=1 b4a8d4e2f0b6f7b268466f60cf7782d7385fe8f2970422e686ce6f9f0d7789b4 [2021-05-10T20:27:58.168Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-05-10T20:27:59.204Z] $ docker rm -f b4a8d4e2f0b6f7b268466f60cf7782d7385fe8f2970422e686ce6f9f0d7789b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:27:59.656Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T20:27:59.795Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T20:27:59.795Z] . [Pipeline] withDockerContainer [2021-05-10T20:27:59.900Z] prd-centos7-docker-4c-2g-4187 does not seem to be running inside a container [2021-05-10T20:27:59.953Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T20:28:00.001Z] + sudo service docker restart [2021-05-10T20:28:00.001Z] + true [2021-05-10T20:28:00.586Z] $ docker top 4aff94710e6b6830f688f93f8e4e2a8e952427cc3177eba61e7202d7f790133b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T20:28:01.037Z] + go mod tidy [Pipeline] sh [2021-05-10T20:28:01.951Z] + make test [2021-05-10T20:28:01.952Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T20:28:02.025Z] provisioning config files... [2021-05-10T20:28:02.069Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config82790867998432849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:28:02.468Z] ---> docker-login.sh [2021-05-10T20:28:02.468Z] nexus3.edgexfoundry.org:10001 [2021-05-10T20:28:03.123Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-05-10T20:28:03.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:28:03.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:28:03.730Z] Configure a credential helper to remove this warning. See [2021-05-10T20:28:03.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:28:03.730Z] [2021-05-10T20:28:03.730Z] Login Succeeded [2021-05-10T20:28:03.730Z] nexus3.edgexfoundry.org:10002 [2021-05-10T20:28:04.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:28:04.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:28:04.288Z] Configure a credential helper to remove this warning. See [2021-05-10T20:28:04.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:28:04.288Z] [2021-05-10T20:28:04.288Z] Login Succeeded [2021-05-10T20:28:04.288Z] nexus3.edgexfoundry.org:10003 [2021-05-10T20:28:04.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:28:04.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:28:04.838Z] Configure a credential helper to remove this warning. See [2021-05-10T20:28:04.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:28:04.838Z] [2021-05-10T20:28:04.838Z] Login Succeeded [2021-05-10T20:28:04.838Z] nexus3.edgexfoundry.org:10004 [2021-05-10T20:28:05.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:28:05.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:28:05.384Z] Configure a credential helper to remove this warning. See [2021-05-10T20:28:05.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:28:05.384Z] [2021-05-10T20:28:05.384Z] Login Succeeded [2021-05-10T20:28:05.384Z] docker.io [2021-05-10T20:28:05.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:28:06.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:28:06.258Z] Configure a credential helper to remove this warning. See [2021-05-10T20:28:06.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:28:06.258Z] [2021-05-10T20:28:06.258Z] Login Succeeded [2021-05-10T20:28:06.258Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T20:28:06.275Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T20:28:06.579Z] ========================================================= [2021-05-10T20:28:06.580Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-10T20:28:06.580Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:28:06.923Z] + 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-10T20:28:07.196Z] Sending build context to Docker daemon 611.3kB [2021-05-10T20:28:07.196Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T20:28:07.196Z] Step 2/8 : FROM ${BASE} [2021-05-10T20:28:07.471Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-10T20:28:07.471Z] 595b0fe564bb: Pulling fs layer [2021-05-10T20:28:07.471Z] 7186ed65a4f7: Pulling fs layer [2021-05-10T20:28:07.471Z] 316046926c0a: Pulling fs layer [2021-05-10T20:28:07.471Z] 4ebd0625c992: Pulling fs layer [2021-05-10T20:28:07.471Z] 207e8628e3a3: Pulling fs layer [2021-05-10T20:28:07.471Z] c791037a9be2: Pulling fs layer [2021-05-10T20:28:07.471Z] ffd874e62e21: Pulling fs layer [2021-05-10T20:28:07.471Z] c791037a9be2: Waiting [2021-05-10T20:28:07.471Z] 4ebd0625c992: Waiting [2021-05-10T20:28:07.471Z] 207e8628e3a3: Waiting [2021-05-10T20:28:07.471Z] ffd874e62e21: Waiting [2021-05-10T20:28:07.471Z] 316046926c0a: Download complete [2021-05-10T20:28:07.471Z] 7186ed65a4f7: Verifying Checksum [2021-05-10T20:28:07.471Z] 7186ed65a4f7: Download complete [2021-05-10T20:28:07.748Z] 207e8628e3a3: Verifying Checksum [2021-05-10T20:28:07.748Z] 207e8628e3a3: Download complete [2021-05-10T20:28:07.748Z] c791037a9be2: Verifying Checksum [2021-05-10T20:28:07.748Z] c791037a9be2: Download complete [2021-05-10T20:28:07.748Z] 595b0fe564bb: Verifying Checksum [2021-05-10T20:28:07.748Z] 595b0fe564bb: Download complete [2021-05-10T20:28:08.352Z] 595b0fe564bb: Pull complete [2021-05-10T20:28:08.534Z] # github.com/edgexfoundry/device-modbus-go/internal/driver [2021-05-10T20:28:08.534Z] internal/driver/deviceclient.go:44:32: cannot use primaryTable (type interface {}) as type string in argument to strings.ToUpper: need type assertion [2021-05-10T20:28:08.534Z] internal/driver/deviceclient.go:53:34: cannot use primaryTable (type interface {}) as type string in argument to calculateAddressLength: need type assertion [2021-05-10T20:28:08.534Z] internal/driver/deviceclient.go:68:3: cannot use primaryTable (type interface {}) as type string in field value: need type assertion [2021-05-10T20:28:08.953Z] 7186ed65a4f7: Pull complete [2021-05-10T20:28:09.227Z] 316046926c0a: Pull complete [2021-05-10T20:28:12.839Z] # github.com/edgexfoundry/device-modbus-go/internal/driver [github.com/edgexfoundry/device-modbus-go/internal/driver.test] [2021-05-10T20:28:12.839Z] internal/driver/deviceclient.go:44: cannot use primaryTable (type interface {}) as type string in argument to strings.ToUpper: need type assertion [2021-05-10T20:28:12.839Z] internal/driver/deviceclient.go:53: cannot use primaryTable (type interface {}) as type string in argument to calculateAddressLength: need type assertion [2021-05-10T20:28:12.839Z] internal/driver/deviceclient.go:68: cannot use primaryTable (type interface {}) as type string in field value: need type assertion [2021-05-10T20:28:12.839Z] 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-10T20:28:12.839Z] 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-10T20:28:12.839Z] 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-10T20:28:12.839Z] 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-10T20:28:12.839Z] 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-10T20:28:12.839Z] 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-10T20:28:12.839Z] 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-10T20:28:12.839Z] internal/driver/deviceclient_test.go:81:3: too many errors [2021-05-10T20:28:13.537Z] ffd874e62e21: Verifying Checksum [2021-05-10T20:28:13.537Z] ffd874e62e21: Download complete [2021-05-10T20:28:14.535Z] 4ebd0625c992: Verifying Checksum [2021-05-10T20:28:14.535Z] 4ebd0625c992: Download complete [2021-05-10T20:28:21.069Z] FAIL github.com/edgexfoundry/device-modbus-go/internal/driver [build failed] [2021-05-10T20:28:21.069Z] make: *** [Makefile:25: test] Error 2 [Pipeline] } [2021-05-10T20:28:21.091Z] $ docker stop --time=1 4aff94710e6b6830f688f93f8e4e2a8e952427cc3177eba61e7202d7f790133b [2021-05-10T20:28:22.882Z] $ docker rm -f 4aff94710e6b6830f688f93f8e4e2a8e952427cc3177eba61e7202d7f790133b [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-10T20:28:23.722Z] ---> job-cost.sh [2021-05-10T20:28:23.723Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-kKtS [2021-05-10T20:28:26.973Z] 4ebd0625c992: Pull complete [2021-05-10T20:28:26.973Z] 207e8628e3a3: Pull complete [2021-05-10T20:28:26.973Z] c791037a9be2: Pull complete [2021-05-10T20:28:29.618Z] ffd874e62e21: Pull complete [2021-05-10T20:28:29.618Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-10T20:28:29.618Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-10T20:28:29.618Z] ---> cfc18b08335c [2021-05-10T20:28:29.618Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-10T20:28:32.291Z] ---> Running in 62ffbbf47fd3 [2021-05-10T20:28:32.565Z] Removing intermediate container 62ffbbf47fd3 [2021-05-10T20:28:32.565Z] ---> 819c72dbeeae [2021-05-10T20:28:32.565Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T20:28:32.838Z] ---> Running in 43071fae15f6 [2021-05-10T20:28:35.462Z] Removing intermediate container 43071fae15f6 [2021-05-10T20:28:35.462Z] ---> d81a4b3ceb6f [2021-05-10T20:28:35.462Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-10T20:28:35.462Z] ---> Running in bfad9ddfe96e [2021-05-10T20:28:36.452Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T20:28:37.884Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T20:28:38.685Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T20:28:39.314Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-10T20:28:39.314Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-10T20:28:39.585Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-10T20:28:39.857Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-10T20:28:39.857Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-10T20:28:41.291Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-10T20:28:41.291Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-10T20:28:42.268Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-10T20:28:42.269Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-10T20:28:42.541Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-10T20:28:42.813Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-10T20:28:43.083Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-10T20:28:43.083Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-10T20:28:43.356Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T20:28:43.356Z] OK: 145 MiB in 53 packages [2021-05-10T20:28:45.346Z] Removing intermediate container bfad9ddfe96e [2021-05-10T20:28:45.346Z] ---> 14766c736638 [2021-05-10T20:28:45.346Z] Step 6/8 : WORKDIR /device-modbus-go [2021-05-10T20:28:45.346Z] ---> Running in 276041d02160 [2021-05-10T20:28:45.941Z] Removing intermediate container 276041d02160 [2021-05-10T20:28:45.941Z] ---> 7982ebd5b877 [2021-05-10T20:28:45.941Z] Step 7/8 : COPY . . [2021-05-10T20:28:46.929Z] ---> e699d0a9a9ae [2021-05-10T20:28:46.929Z] Step 8/8 : RUN go mod download [2021-05-10T20:28:46.929Z] ---> Running in 2705a8692916 [2021-05-10T20:29:05.348Z] lf-activate-venv(): INFO: Adding /tmp/venv-kKtS/bin to PATH [2021-05-10T20:29:05.348Z] INFO: No Stack... [2021-05-10T20:29:06.300Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T20:29:06.878Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T20:29:07.221Z] + cat /w/workspace/device-modbus-go/2/archives/cost.csv [2021-05-10T20:29:07.222Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T20:29:07.307Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-237-2-stack-cost] [2021-05-10T20:29:07.314Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-237-2-stack-cost] did not exist. Created. [2021-05-10T20:29:07.314Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-237-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T20:29:07.652Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-10T20:29:08.082Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T20:29:08.090Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-237-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-10T20:29:08.320Z] Failed in branch amd64 [2021-05-10T20:29:13.742Z] Removing intermediate container 2705a8692916 [2021-05-10T20:29:13.742Z] ---> ee372d5c597b [2021-05-10T20:29:13.742Z] Successfully built ee372d5c597b [2021-05-10T20:29:13.742Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:29:14.108Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T20:29:14.108Z] . [Pipeline] withDockerContainer [2021-05-10T20:29:14.348Z] prd-ubuntu18.04-docker-arm64-4c-16g-4188 does not seem to be running inside a container [2021-05-10T20:29:14.472Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** ci-base-image-arm64 cat [2021-05-10T20:29:16.066Z] $ docker top bc5e08f5c5f3d1ecb43663bfc7acea30c0300ce20d02f2a1654c7d5e1079bb72 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T20:29:17.014Z] + go version [2021-05-10T20:29:17.014Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-10T20:29:17.063Z] $ docker stop --time=1 bc5e08f5c5f3d1ecb43663bfc7acea30c0300ce20d02f2a1654c7d5e1079bb72 [2021-05-10T20:29:18.987Z] $ docker rm -f bc5e08f5c5f3d1ecb43663bfc7acea30c0300ce20d02f2a1654c7d5e1079bb72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:29:19.626Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T20:29:19.627Z] . [Pipeline] withDockerContainer [2021-05-10T20:29:19.854Z] prd-ubuntu18.04-docker-arm64-4c-16g-4188 does not seem to be running inside a container [2021-05-10T20:29:19.967Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** ci-base-image-arm64 cat [2021-05-10T20:29:21.423Z] $ docker top f8646f466dac87bb86fdf7484a21c6a9c7405b1be2c849705c4d1bc94d294fe7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T20:29:22.331Z] + go mod tidy [Pipeline] sh [2021-05-10T20:29:23.597Z] + make test [2021-05-10T20:29:23.597Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-10T20:29:25.040Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-05-10T20:29:40.186Z] # github.com/edgexfoundry/device-modbus-go/internal/driver [2021-05-10T20:29:40.186Z] internal/driver/deviceclient.go:44:32: cannot use primaryTable (type interface {}) as type string in argument to strings.ToUpper: need type assertion [2021-05-10T20:29:40.186Z] internal/driver/deviceclient.go:53:34: cannot use primaryTable (type interface {}) as type string in argument to calculateAddressLength: need type assertion [2021-05-10T20:29:40.186Z] internal/driver/deviceclient.go:68:3: cannot use primaryTable (type interface {}) as type string in field value: need type assertion [2021-05-10T20:30:12.589Z] # github.com/edgexfoundry/device-modbus-go/internal/driver [github.com/edgexfoundry/device-modbus-go/internal/driver.test] [2021-05-10T20:30:12.589Z] internal/driver/deviceclient.go:44: cannot use primaryTable (type interface {}) as type string in argument to strings.ToUpper: need type assertion [2021-05-10T20:30:12.589Z] internal/driver/deviceclient.go:53: cannot use primaryTable (type interface {}) as type string in argument to calculateAddressLength: need type assertion [2021-05-10T20:30:12.589Z] internal/driver/deviceclient.go:68: cannot use primaryTable (type interface {}) as type string in field value: need type assertion [2021-05-10T20:30:12.589Z] 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-10T20:30:12.589Z] 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-10T20:30:12.589Z] 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-10T20:30:12.589Z] 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-10T20:30:12.589Z] 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-10T20:30:12.589Z] 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-10T20:30:12.589Z] 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-10T20:30:12.589Z] internal/driver/deviceclient_test.go:81:3: too many errors [2021-05-10T20:30:12.589Z] FAIL github.com/edgexfoundry/device-modbus-go/internal/driver [build failed] [2021-05-10T20:30:12.589Z] make: *** [Makefile:25: test] Error 2 [Pipeline] } [2021-05-10T20:30:12.657Z] $ docker stop --time=1 f8646f466dac87bb86fdf7484a21c6a9c7405b1be2c849705c4d1bc94d294fe7 [2021-05-10T20:30:14.799Z] $ docker rm -f f8646f466dac87bb86fdf7484a21c6a9c7405b1be2c849705c4d1bc94d294fe7 [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-10T20:30:15.713Z] ---> job-cost.sh [2021-05-10T20:30:15.714Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-nThf [2021-05-10T20:31:02.674Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T20:33:09.546Z] lf-activate-venv(): INFO: Adding /tmp/venv-nThf/bin to PATH [2021-05-10T20:33:09.546Z] INFO: No Stack... [2021-05-10T20:33:09.546Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-10T20:33:09.546Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T20:33:09.914Z] + + cutcat -d, /w/workspace/device-modbus-go/2/archives/cost.csv -f6 [2021-05-10T20:33:09.915Z] [Pipeline] lock [2021-05-10T20:33:10.342Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-237-2-stack-cost] [2021-05-10T20:33:10.369Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-237-2-stack-cost] did not exist. Created. [2021-05-10T20:33:10.369Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-237-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T20:33:10.884Z] /w/workspace/device-modbus-go/2@tmp/durable-c6561492/script.sh: 1: /w/workspace/device-modbus-go/2@tmp/durable-c6561492/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-10T20:33:11.326Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-10T20:33:11.375Z] Warning: overwriting stash ‘stack-cost’ [2021-05-10T20:33:12.306Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T20:33:12.338Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-237-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-10T20:33:12.573Z] 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-10T20:33:14.003Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:33:15.052Z] ---> package-listing.sh [2021-05-10T20:33:15.053Z] ++ facter osfamily [2021-05-10T20:33:15.053Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-10T20:33:15.696Z] + OS_FAMILY=redhat [2021-05-10T20:33:15.696Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-237 [2021-05-10T20:33:15.696Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-10T20:33:15.696Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-10T20:33:15.696Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-10T20:33:15.696Z] + PACKAGES=/tmp/packages_start.txt [2021-05-10T20:33:15.696Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-237 ']' [2021-05-10T20:33:15.696Z] + PACKAGES=/tmp/packages_end.txt [2021-05-10T20:33:15.696Z] + case "${OS_FAMILY}" in [2021-05-10T20:33:15.696Z] + rpm -qa [2021-05-10T20:33:15.696Z] + sort [2021-05-10T20:33:24.208Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-10T20:33:24.208Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-10T20:33:24.208Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-10T20:33:24.208Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-237 ']' [2021-05-10T20:33:24.208Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-237/archives/ [2021-05-10T20:33:24.208Z] + 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-10T20:33:24.231Z] 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-10T20:33:24.606Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:33:25.244Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T20:33:25.521Z] [2021-05-10T20:33:25.521Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:33:26.614Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T20:33:27.030Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-10T20:33:27.030Z] df20fa9351a1: Pulling fs layer [2021-05-10T20:33:27.030Z] 36b3adc4ff6f: Pulling fs layer [2021-05-10T20:33:27.030Z] 8ad3a11d3b57: Pulling fs layer [2021-05-10T20:33:27.030Z] 46f8f816bc3b: Pulling fs layer [2021-05-10T20:33:27.030Z] 93b61091891f: Pulling fs layer [2021-05-10T20:33:27.030Z] 93b9cdb0e59b: Pulling fs layer [2021-05-10T20:33:27.030Z] 5e14af77c1be: Pulling fs layer [2021-05-10T20:33:27.030Z] 01666e4c0597: Pulling fs layer [2021-05-10T20:33:27.030Z] aa168da1d23b: Pulling fs layer [2021-05-10T20:33:27.030Z] 93b9cdb0e59b: Waiting [2021-05-10T20:33:27.030Z] 5e14af77c1be: Waiting [2021-05-10T20:33:27.030Z] 01666e4c0597: Waiting [2021-05-10T20:33:27.030Z] aa168da1d23b: Waiting [2021-05-10T20:33:27.030Z] 46f8f816bc3b: Waiting [2021-05-10T20:33:27.030Z] 93b61091891f: Waiting [2021-05-10T20:33:27.030Z] 36b3adc4ff6f: Verifying Checksum [2021-05-10T20:33:27.030Z] 36b3adc4ff6f: Download complete [2021-05-10T20:33:27.030Z] 46f8f816bc3b: Verifying Checksum [2021-05-10T20:33:27.030Z] 46f8f816bc3b: Download complete [2021-05-10T20:33:27.493Z] 93b61091891f: Verifying Checksum [2021-05-10T20:33:27.493Z] 93b61091891f: Download complete [2021-05-10T20:33:27.493Z] df20fa9351a1: Verifying Checksum [2021-05-10T20:33:27.493Z] df20fa9351a1: Download complete [2021-05-10T20:33:27.493Z] 93b9cdb0e59b: Verifying Checksum [2021-05-10T20:33:27.493Z] 93b9cdb0e59b: Download complete [2021-05-10T20:33:27.493Z] 5e14af77c1be: Verifying Checksum [2021-05-10T20:33:27.493Z] 5e14af77c1be: Download complete [2021-05-10T20:33:27.843Z] 01666e4c0597: Verifying Checksum [2021-05-10T20:33:27.844Z] 01666e4c0597: Download complete [2021-05-10T20:33:28.607Z] 8ad3a11d3b57: Verifying Checksum [2021-05-10T20:33:28.607Z] 8ad3a11d3b57: Download complete [2021-05-10T20:33:28.964Z] df20fa9351a1: Pull complete [2021-05-10T20:33:29.734Z] 36b3adc4ff6f: Pull complete [2021-05-10T20:33:31.913Z] 8ad3a11d3b57: Pull complete [2021-05-10T20:33:32.210Z] 46f8f816bc3b: Pull complete [2021-05-10T20:33:33.484Z] 93b61091891f: Pull complete [2021-05-10T20:33:33.800Z] 93b9cdb0e59b: Pull complete [2021-05-10T20:33:34.450Z] 5e14af77c1be: Pull complete [2021-05-10T20:33:34.756Z] 01666e4c0597: Pull complete [2021-05-10T20:33:36.878Z] aa168da1d23b: Verifying Checksum [2021-05-10T20:33:36.878Z] aa168da1d23b: Download complete [2021-05-10T20:33:55.442Z] aa168da1d23b: Pull complete [2021-05-10T20:33:55.442Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-10T20:33:55.442Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T20:33:55.442Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-10T20:33:56.293Z] prd-centos7-docker-4c-2g-4184 does not seem to be running inside a container [2021-05-10T20:33:56.519Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-10T20:34:00.252Z] $ docker top 08ff4634818445ddd46e40d06f3486866551d7883e3dab5eb18c339b30912395 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T20:34:00.943Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-10T20:34:01.366Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-10T20:34:02.209Z] + ls /var/log/sa-host [2021-05-10T20:34:02.209Z] + sadf -c /var/log/sa-host/sa10 [2021-05-10T20:34:02.209Z] file_magic: OK [2021-05-10T20:34:02.209Z] HZ: Using current value: 100 [2021-05-10T20:34:02.209Z] file_header: OK [2021-05-10T20:34:02.209Z] 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-10T20:34:02.209Z] Statistics: [2021-05-10T20:34:02.209Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-10T20:34:02.210Z] File successfully converted to sysstat format version 12.2.1 [2021-05-10T20:34:02.210Z] + sadf -c /var/log/sa-host/sa23 [2021-05-10T20:34:02.210Z] file_magic: OK [2021-05-10T20:34:02.210Z] HZ: Using current value: 100 [2021-05-10T20:34:02.210Z] file_header: OK [2021-05-10T20:34:02.210Z] 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-10T20:34:02.210Z] Statistics: [2021-05-10T20:34:02.210Z] Hnuu...uuuununununu... [2021-05-10T20:34:02.210Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-10T20:34:02.431Z] provisioning config files... [2021-05-10T20:34:02.493Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-237@tmp/config8248202513504383109tmp [Pipeline] { [Pipeline] echo [2021-05-10T20:34:02.530Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:34:03.096Z] ---> create-netrc.sh [Pipeline] } [2021-05-10T20:34:03.440Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-10T20:34:03.486Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:34:04.277Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-10T20:34:04.313Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:34:05.051Z] ---> sudo-logs.sh [2021-05-10T20:34:05.051Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-10T20:34:05.217Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:34:05.677Z] ---> job-cost.sh [2021-05-10T20:34:05.947Z] lf-activate-venv: SKIPPING [2021-05-10T20:34:05.947Z] DEBUG: total: 0.20999999344348907 [2021-05-10T20:34:05.947Z] INFO: Retrieving Stack Cost... [2021-05-10T20:34:06.956Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T20:34:07.639Z] INFO: Archiving Costs [Pipeline] echo [2021-05-10T20:34:07.675Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:34:08.386Z] ---> logs-deploy.sh [2021-05-10T20:34:08.386Z] lf-activate-venv: SKIPPING [2021-05-10T20:34:08.386Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-237/2 [2021-05-10T20:34:08.386Z] INFO: archiving workspace using pattern(s): [2021-05-10T20:34:11.862Z] Archives upload complete. [2021-05-10T20:34:11.862Z] INFO: archiving logs to Nexus [2021-05-10T20:34:14.017Z] ---> uname -a: [2021-05-10T20:34:14.017Z] Linux prd-centos7-docker-4c-2g-4184.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-05-10T20:34:14.017Z] [2021-05-10T20:34:14.017Z] [2021-05-10T20:34:14.017Z] ---> lscpu: [2021-05-10T20:34:14.017Z] Architecture: x86_64 [2021-05-10T20:34:14.017Z] CPU op-mode(s): 32-bit, 64-bit [2021-05-10T20:34:14.017Z] Byte Order: Little Endian [2021-05-10T20:34:14.017Z] Address sizes: 40 bits physical, 48 bits virtual [2021-05-10T20:34:14.017Z] CPU(s): 4 [2021-05-10T20:34:14.017Z] On-line CPU(s) list: 0-3 [2021-05-10T20:34:14.018Z] Thread(s) per core: 1 [2021-05-10T20:34:14.018Z] Core(s) per socket: 1 [2021-05-10T20:34:14.018Z] Socket(s): 4 [2021-05-10T20:34:14.018Z] NUMA node(s): 1 [2021-05-10T20:34:14.018Z] Vendor ID: GenuineIntel [2021-05-10T20:34:14.018Z] CPU family: 6 [2021-05-10T20:34:14.018Z] Model: 44 [2021-05-10T20:34:14.018Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-05-10T20:34:14.018Z] Stepping: 1 [2021-05-10T20:34:14.018Z] CPU MHz: 2933.438 [2021-05-10T20:34:14.018Z] BogoMIPS: 5866.87 [2021-05-10T20:34:14.018Z] Virtualization: VT-x [2021-05-10T20:34:14.018Z] Hypervisor vendor: KVM [2021-05-10T20:34:14.018Z] Virtualization type: full [2021-05-10T20:34:14.018Z] L1d cache: 128 KiB [2021-05-10T20:34:14.018Z] L1i cache: 128 KiB [2021-05-10T20:34:14.018Z] L2 cache: 16 MiB [2021-05-10T20:34:14.018Z] L3 cache: 64 MiB [2021-05-10T20:34:14.018Z] NUMA node0 CPU(s): 0-3 [2021-05-10T20:34:14.018Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-05-10T20:34:14.018Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-05-10T20:34:14.018Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-05-10T20:34:14.018Z] Vulnerability Meltdown: Mitigation; PTI [2021-05-10T20:34:14.018Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-05-10T20:34:14.018Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-05-10T20:34:14.018Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-05-10T20:34:14.018Z] Vulnerability Srbds: Not affected [2021-05-10T20:34:14.018Z] Vulnerability Tsx async abort: Not affected [2021-05-10T20:34:14.018Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-05-10T20:34:14.018Z] [2021-05-10T20:34:14.018Z] [2021-05-10T20:34:14.018Z] ---> nproc: [2021-05-10T20:34:14.018Z] 4 [2021-05-10T20:34:14.018Z] [2021-05-10T20:34:14.018Z] [2021-05-10T20:34:14.018Z] ---> df -h: [2021-05-10T20:34:14.018Z] Filesystem Size Used Available Use% Mounted on [2021-05-10T20:34:14.018Z] overlay 50.0G 7.3G 42.7G 15% / [2021-05-10T20:34:14.018Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-05-10T20:34:14.018Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-05-10T20:34:14.018Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-05-10T20:34:14.018Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2021-05-10T20:34:14.018Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2021-05-10T20:34:14.018Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2021-05-10T20:34:14.018Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2021-05-10T20:34:14.018Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2021-05-10T20:34:14.018Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/xfoundry_device-modbus-go_PR-237 [2021-05-10T20:34:14.018Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/xfoundry_device-modbus-go_PR-237@tmp [2021-05-10T20:34:14.018Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2021-05-10T20:34:14.018Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2021-05-10T20:34:14.018Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2021-05-10T20:34:14.018Z] [2021-05-10T20:34:14.018Z] [2021-05-10T20:34:14.018Z] ---> free -m: [2021-05-10T20:34:14.018Z] total used free shared buff/cache available [2021-05-10T20:34:14.018Z] Mem: 1837 743 111 0 982 989 [2021-05-10T20:34:14.018Z] Swap: 1023 1 1022 [2021-05-10T20:34:14.018Z] [2021-05-10T20:34:14.018Z] [2021-05-10T20:34:14.018Z] ---> ip addr: [2021-05-10T20:34:14.018Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-05-10T20:34:14.018Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-05-10T20:34:14.018Z] inet 127.0.0.1/8 scope host lo [2021-05-10T20:34:14.018Z] valid_lft forever preferred_lft forever [2021-05-10T20:34:14.018Z] inet6 ::1/128 scope host [2021-05-10T20:34:14.018Z] valid_lft forever preferred_lft forever [2021-05-10T20:34:14.018Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-05-10T20:34:14.018Z] link/ether fa:16:3e:54:84:2e brd ff:ff:ff:ff:ff:ff [2021-05-10T20:34:14.018Z] inet 10.30.123.44/23 brd 10.30.123.255 scope global dynamic eth0 [2021-05-10T20:34:14.018Z] valid_lft 85717sec preferred_lft 85717sec [2021-05-10T20:34:14.018Z] inet6 fe80::f816:3eff:fe54:842e/64 scope link [2021-05-10T20:34:14.018Z] valid_lft forever preferred_lft forever [2021-05-10T20:34:14.018Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-05-10T20:34:14.018Z] link/ether 02:42:97:b1:08:9a brd ff:ff:ff:ff:ff:ff [2021-05-10T20:34:14.018Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-05-10T20:34:14.018Z] valid_lft forever preferred_lft forever [2021-05-10T20:34:14.018Z] inet6 fe80::42:97ff:feb1:89a/64 scope link [2021-05-10T20:34:14.018Z] valid_lft forever preferred_lft forever [2021-05-10T20:34:14.018Z] [2021-05-10T20:34:14.018Z] [2021-05-10T20:34:14.018Z] ---> sar -b -r -n DEV: [2021-05-10T20:34:14.018Z] Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 05/10/21 _x86_64_ (4 CPU) [2021-05-10T20:34:14.018Z] [2021-05-10T20:34:14.018Z] 20:22:38 LINUX RESTART (4 CPU) [2021-05-10T20:34:14.018Z] [2021-05-10T20:34:14.018Z] 20:23:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2021-05-10T20:34:14.018Z] 20:24:02 167.24 94.27 72.96 0.00 6821.18 37012.73 0.00 [2021-05-10T20:34:14.018Z] 20:25:01 28.07 10.20 17.88 0.00 4360.43 2150.07 0.00 [2021-05-10T20:34:14.018Z] 20:26:01 1.70 0.00 1.70 0.00 0.00 30.99 0.00 [2021-05-10T20:34:14.018Z] 20:27:01 0.27 0.00 0.27 0.00 0.00 3.73 0.00 [2021-05-10T20:34:14.018Z] 20:28:01 0.23 0.00 0.23 0.00 0.00 2.56 0.00 [2021-05-10T20:34:14.018Z] 20:29:01 0.37 0.00 0.37 0.00 0.00 5.34 0.00 [2021-05-10T20:34:14.018Z] 20:30:02 0.32 0.00 0.32 0.00 0.00 4.18 0.00 [2021-05-10T20:34:14.018Z] 20:31:01 0.14 0.00 0.14 0.00 0.00 2.20 0.00 [2021-05-10T20:34:14.018Z] 20:32:01 0.32 0.00 0.32 0.00 0.00 3.67 0.00 [2021-05-10T20:34:14.018Z] 20:33:01 0.27 0.00 0.27 0.00 0.00 4.04 0.00 [2021-05-10T20:34:14.018Z] 20:34:01 156.52 79.22 77.31 0.00 6914.48 18714.04 0.00 [2021-05-10T20:34:14.018Z] Average: 32.41 16.76 15.65 0.00 1645.57 5286.33 0.00 [2021-05-10T20:34:14.018Z] [2021-05-10T20:34:14.018Z] 20:23:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2021-05-10T20:34:14.018Z] 20:24:02 67872 0 568228 30.20 2620 1242824 1111440 37.93 403640 1212012 10712 [2021-05-10T20:34:14.018Z] 20:25:01 166500 0 604412 32.12 2620 1108012 1146652 39.13 423412 1091980 132 [2021-05-10T20:34:14.018Z] 20:26:01 176952 0 593956 31.57 2620 1108016 1080152 36.86 426276 1080572 8 [2021-05-10T20:34:14.018Z] 20:27:01 172660 0 598244 31.80 2620 1108020 1074224 36.66 429872 1081192 8 [2021-05-10T20:34:14.018Z] 20:28:01 172152 0 598748 31.82 2620 1108024 1074272 36.66 435504 1075956 8 [2021-05-10T20:34:14.018Z] 20:29:01 171380 0 599512 31.86 2620 1108032 1074308 36.66 434276 1078128 12 [2021-05-10T20:34:14.018Z] 20:30:02 171156 0 599736 31.87 2620 1108032 1074516 36.67 440284 1072688 20 [2021-05-10T20:34:14.018Z] 20:31:01 170216 0 600672 31.92 2620 1108036 1074564 36.67 441124 1072688 8 [2021-05-10T20:34:14.018Z] 20:32:01 169140 0 601740 31.98 2620 1108044 1074592 36.67 442288 1072688 8 [2021-05-10T20:34:14.018Z] 20:33:01 167340 0 603536 32.08 2620 1108048 1074640 36.68 443700 1072688 8 [2021-05-10T20:34:14.018Z] 20:34:01 162492 0 732640 38.94 2620 983792 1477048 50.41 483180 983092 48 [2021-05-10T20:34:14.018Z] Average: 160715 0 609220 32.38 2620 1108989 1121492 38.27 436687 1081244 997 [2021-05-10T20:34:14.018Z] [2021-05-10T20:34:14.018Z] 20:23:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2021-05-10T20:34:14.018Z] 20:24:02 eth0 196.98 147.93 730.06 59.74 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:24:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:24:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:25:01 eth0 69.65 55.67 349.95 16.55 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:25:01 docker0 2.38 1.81 0.47 5.02 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:26:01 eth0 0.22 0.20 0.12 0.04 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:27:01 eth0 1.80 0.42 0.38 0.18 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:28:01 eth0 2.04 0.40 0.39 0.20 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:29:01 eth0 2.73 0.40 0.61 0.30 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:30:02 eth0 2.56 0.93 0.95 0.61 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:30:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:30:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:31:01 eth0 1.66 0.49 0.36 0.22 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:32:01 eth0 2.99 0.60 0.73 0.40 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:33:01 eth0 2.28 0.67 0.65 0.40 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:34:01 eth0 214.92 186.50 2175.68 62.65 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] 20:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] Average: eth0 45.34 35.91 297.09 12.87 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] Average: docker0 0.21 0.16 0.04 0.45 0.00 0.00 0.00 0.00 [2021-05-10T20:34:14.018Z] [2021-05-10T20:34:14.018Z]