Pull request #234 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from e3f24fd13da723751556eae3cc47a683f01f3d23+99df618622a9f54f94da4a2280a77aba81c63d12 (8c03205289441b24f0c28416e6feb204ce4c74f9) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-234/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-234/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-3950’ is offline; ‘prd-centos7-docker-4c-2g-3953’ is offline; ‘prd-centos7-docker-4c-2g-3956’ is offline; ‘prd-centos7-docker-4c-2g-3965’ is offline; ‘prd-centos7-docker-4c-2g-3967’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3982 in /w/workspace/xfoundry_device-modbus-go_PR-234 [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-234 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/234/head:refs/remotes/origin/PR-234 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 99df618622a9f54f94da4a2280a77aba81c63d12 into PR head commit e3f24fd13da723751556eae3cc47a683f01f3d23 Merge succeeded, producing e3f24fd13da723751556eae3cc47a683f01f3d23 Checking out Revision e3f24fd13da723751556eae3cc47a683f01f3d23 (PR-234) > git config core.sparsecheckout # timeout=10 > git checkout -f e3f24fd13da723751556eae3cc47a683f01f3d23 # 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 e3f24fd13da723751556eae3cc47a683f01f3d23 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-10T05:57:57.469Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-10T05:57:57.830Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-10T05:57:58.102Z] ========================================================= [2021-05-10T05:57:58.102Z] EdgeX Global Pipelines Version Info [2021-05-10T05:57:58.102Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-10T05:58:00.175Z] ------------------- [2021-05-10T05:58:00.175Z] stable info: [2021-05-10T05:58:00.175Z] ------------------- [2021-05-10T05:58:00.175Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-10T05:58:00.175Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T05:58:00.175Z] Message: update stable to v1.0.191 [2021-05-10T05:58:01.155Z] ------------------- [2021-05-10T05:58:01.155Z] experimental info: [2021-05-10T05:58:01.155Z] ------------------- [2021-05-10T05:58:01.155Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-10T05:58:01.155Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T05:58:01.155Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-10T05:58:01.458Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-05-10T05:58:01.560Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-05-10T05:58:01.623Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-10T05:58:01.691Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-10T05:58:01.770Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-10T05:58:01.905Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-10T05:58:01.983Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-10T05:58:02.055Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-10T05:58:02.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-10T05:58:02.215Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-10T05:58:02.305Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-10T05:58:02.423Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo [2021-05-10T05:58:02.489Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-10T05:58:02.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-10T05:58:02.702Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T05:58:02.777Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T05:58:02.850Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T05:58:02.939Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T05:58:03.014Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-10T05:58:03.088Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-05-10T05:58:03.171Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-10T05:58:03.232Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-10T05:58:03.330Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-10T05:58:03.396Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-10T05:58:03.467Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-10T05:58:03.544Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-10T05:58:03.617Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-234 [Pipeline] echo [2021-05-10T05:58:03.698Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-234 [Pipeline] echo [2021-05-10T05:58:03.765Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-234 [Pipeline] echo [2021-05-10T05:58:03.837Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e3f24fd13da723751556eae3cc47a683f01f3d23 [Pipeline] echo [2021-05-10T05:58:03.940Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e3f24fd [Pipeline] echo [2021-05-10T05:58:04.006Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T05:58:04.199Z] provisioning config files... [2021-05-10T05:58:04.240Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-234@tmp/config3864659384520234159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T05:58:04.673Z] ---> docker-login.sh [2021-05-10T05:58:04.674Z] nexus3.edgexfoundry.org:10001 [2021-05-10T05:58:04.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T05:58:05.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T05:58:05.223Z] Configure a credential helper to remove this warning. See [2021-05-10T05:58:05.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T05:58:05.223Z] [2021-05-10T05:58:05.223Z] Login Succeeded [2021-05-10T05:58:05.223Z] nexus3.edgexfoundry.org:10002 [2021-05-10T05:58:05.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T05:58:06.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T05:58:06.652Z] Configure a credential helper to remove this warning. See [2021-05-10T05:58:06.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T05:58:06.652Z] [2021-05-10T05:58:06.652Z] Login Succeeded [2021-05-10T05:58:06.652Z] nexus3.edgexfoundry.org:10003 [2021-05-10T05:58:06.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T05:58:06.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T05:58:06.652Z] Configure a credential helper to remove this warning. See [2021-05-10T05:58:06.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T05:58:06.652Z] [2021-05-10T05:58:06.652Z] Login Succeeded [2021-05-10T05:58:06.652Z] nexus3.edgexfoundry.org:10004 [2021-05-10T05:58:06.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T05:58:06.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T05:58:06.996Z] Configure a credential helper to remove this warning. See [2021-05-10T05:58:06.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T05:58:06.996Z] [2021-05-10T05:58:06.996Z] Login Succeeded [2021-05-10T05:58:06.996Z] docker.io [2021-05-10T05:58:06.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T05:58:07.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T05:58:07.274Z] Configure a credential helper to remove this warning. See [2021-05-10T05:58:07.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T05:58:07.274Z] [2021-05-10T05:58:07.274Z] Login Succeeded [2021-05-10T05:58:07.274Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T05:58:07.327Z] 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-10T05:58:08.345Z] + git log --format=format:%s -1 e3f24fd13da723751556eae3cc47a683f01f3d23 [Pipeline] echo [2021-05-10T05:58:08.505Z] GIT_COMMIT: e3f24fd13da723751556eae3cc47a683f01f3d23, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2021-05-10T05:58:08.565Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-10T05:58:09.261Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T05:58:09.261Z] [2021-05-10T05:58:09.261Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T05:58:09.639Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T05:58:09.639Z] latest: Pulling from edgex-devops/git-semver [2021-05-10T05:58:09.639Z] 31603596830f: Pulling fs layer [2021-05-10T05:58:09.639Z] 54011a49482f: Pulling fs layer [2021-05-10T05:58:09.639Z] a6820b24f6d8: Pulling fs layer [2021-05-10T05:58:09.639Z] f581987b2513: Pulling fs layer [2021-05-10T05:58:09.639Z] f581987b2513: Waiting [2021-05-10T05:58:09.639Z] 54011a49482f: Verifying Checksum [2021-05-10T05:58:09.639Z] 54011a49482f: Download complete [2021-05-10T05:58:09.912Z] 31603596830f: Verifying Checksum [2021-05-10T05:58:09.912Z] 31603596830f: Download complete [2021-05-10T05:58:10.179Z] a6820b24f6d8: Verifying Checksum [2021-05-10T05:58:10.179Z] a6820b24f6d8: Download complete [2021-05-10T05:58:10.179Z] f581987b2513: Verifying Checksum [2021-05-10T05:58:10.179Z] f581987b2513: Download complete [2021-05-10T05:58:10.179Z] 31603596830f: Pull complete [2021-05-10T05:58:10.447Z] 54011a49482f: Pull complete [2021-05-10T05:58:11.415Z] a6820b24f6d8: Pull complete [2021-05-10T05:58:11.685Z] f581987b2513: Pull complete [2021-05-10T05:58:11.685Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-10T05:58:11.685Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T05:58:11.685Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-10T05:58:11.902Z] prd-centos7-docker-4c-2g-3982 does not seem to be running inside a container [2021-05-10T05:58:12.005Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-234 -v /w/workspace/xfoundry_device-modbus-go_PR-234:/w/workspace/xfoundry_device-modbus-go_PR-234:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-234@tmp:/w/workspace/xfoundry_device-modbus-go_PR-234@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-10T05:58:13.992Z] $ docker top 0e5804b83064db6f3fa86aba0b33fe0b960e10aea369f7cac51b9a9a91492519 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-10T05:58:14.356Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T05:58:14.356Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T05:58:14.654Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T05:58:14.660Z] $ docker exec 0e5804b83064db6f3fa86aba0b33fe0b960e10aea369f7cac51b9a9a91492519 ssh-agent [2021-05-10T05:58:14.856Z] SSH_AUTH_SOCK=/tmp/ssh-1E7qNPHwZQUu/agent.12 [2021-05-10T05:58:14.856Z] SSH_AGENT_PID=18 [2021-05-10T05:58:14.870Z] Running ssh-add (command line suppressed) [2021-05-10T05:58:15.010Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-234@tmp/private_key_310849695697154205.key (/w/workspace/xfoundry_device-modbus-go_PR-234@tmp/private_key_310849695697154205.key) [2021-05-10T05:58:15.072Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T05:58:15.455Z] + git tag --points-at HEAD [Pipeline] } [2021-05-10T05:58:15.488Z] $ docker exec --env ******** --env ******** 0e5804b83064db6f3fa86aba0b33fe0b960e10aea369f7cac51b9a9a91492519 ssh-agent -k [2021-05-10T05:58:15.617Z] unset SSH_AUTH_SOCK; [2021-05-10T05:58:15.617Z] unset SSH_AGENT_PID; [2021-05-10T05:58:15.617Z] echo Agent pid 18 killed; [2021-05-10T05:58:15.668Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-10T05:58:15.806Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T05:58:15.806Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T05:58:16.020Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T05:58:16.026Z] $ docker exec 0e5804b83064db6f3fa86aba0b33fe0b960e10aea369f7cac51b9a9a91492519 ssh-agent [2021-05-10T05:58:16.217Z] SSH_AUTH_SOCK=/tmp/ssh-Vjs1rczHDkRA/agent.48 [2021-05-10T05:58:16.217Z] SSH_AGENT_PID=53 [2021-05-10T05:58:16.225Z] Running ssh-add (command line suppressed) [2021-05-10T05:58:16.381Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-234@tmp/private_key_5839783371906289416.key (/w/workspace/xfoundry_device-modbus-go_PR-234@tmp/private_key_5839783371906289416.key) [2021-05-10T05:58:16.465Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T05:58:16.823Z] + git semver init [2021-05-10T05:58:16.823Z] # -> Open(): unable to determine branch for HEAD [2021-05-10T05:58:16.823Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-234/.git [2021-05-10T05:58:16.823Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-234 [2021-05-10T05:58:16.823Z] # $SEMVER_REMOTE_NAME = origin [2021-05-10T05:58:16.823Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-10T05:58:16.823Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-10T05:58:16.823Z] # $SEMVER_BRANCH = PR-234 [2021-05-10T05:58:16.823Z] # $SEMVER_TEMP = /tmp/semver-124957315 [2021-05-10T05:58:16.823Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-05-10T05:58:17.409Z] # '/tmp/semver-124957315' -> '/w/workspace/xfoundry_device-modbus-go_PR-234/.semver' [2021-05-10T05:58:17.409Z] # -> Force: false [2021-05-10T05:58:17.409Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-234/.semver [Pipeline] } [2021-05-10T05:58:17.451Z] $ docker exec --env ******** --env ******** 0e5804b83064db6f3fa86aba0b33fe0b960e10aea369f7cac51b9a9a91492519 ssh-agent -k [2021-05-10T05:58:17.589Z] unset SSH_AUTH_SOCK; [2021-05-10T05:58:17.590Z] unset SSH_AGENT_PID; [2021-05-10T05:58:17.590Z] echo Agent pid 53 killed; [2021-05-10T05:58:17.662Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-10T05:58:18.206Z] + git semver [Pipeline] } [2021-05-10T05:58:18.245Z] $ docker stop --time=1 0e5804b83064db6f3fa86aba0b33fe0b960e10aea369f7cac51b9a9a91492519 [2021-05-10T05:58:19.702Z] $ docker rm -f 0e5804b83064db6f3fa86aba0b33fe0b960e10aea369f7cac51b9a9a91492519 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T05:58:20.269Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-10T05:58:20.825Z] Stashed 1 file(s) [Pipeline] echo [2021-05-10T05:58:20.853Z] [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-10T05:58:36.369Z] Still waiting to schedule task [2021-05-10T05:58:36.369Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-10T05:58:36.401Z] Still waiting to schedule task [2021-05-10T05:58:36.401Z] ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-3946’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3985’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3987’ is offline [2021-05-10T06:08:39.363Z] Running on prd-centos7-docker-4c-2g-4009 in /w/workspace/xfoundry_device-modbus-go_PR-234 [Pipeline] { [Pipeline] ws [2021-05-10T06:08:39.450Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2021-05-10T06:08:43.337Z] using credential edgex-jenkins-ssh [2021-05-10T06:08:43.349Z] Cloning the remote Git repository [2021-05-10T06:08:43.371Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-05-10T06:08:43.444Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2021-05-10T06:08:43.509Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-10T06:08:43.509Z] > git --version # timeout=10 [2021-05-10T06:08:43.516Z] > git --version # 'git version 2.24.3' [2021-05-10T06:08:43.516Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T06:08:43.545Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T06:08:44.100Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-10T06:08:44.109Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T06:08:44.128Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-10T06:08:44.145Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-10T06:08:44.145Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T06:08:44.151Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/234/head:refs/remotes/origin/PR-234 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T06:08:44.506Z] Merging remotes/origin/master commit 99df618622a9f54f94da4a2280a77aba81c63d12 into PR head commit e3f24fd13da723751556eae3cc47a683f01f3d23 [2021-05-10T06:08:44.592Z] Merge succeeded, producing e3f24fd13da723751556eae3cc47a683f01f3d23 [2021-05-10T06:08:44.592Z] Checking out Revision e3f24fd13da723751556eae3cc47a683f01f3d23 (PR-234) [2021-05-10T06:08:44.514Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T06:08:44.520Z] > git checkout -f e3f24fd13da723751556eae3cc47a683f01f3d23 # timeout=10 [2021-05-10T06:08:44.557Z] > git remote # timeout=10 [2021-05-10T06:08:44.563Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T06:08:44.569Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T06:08:44.573Z] > git merge 99df618622a9f54f94da4a2280a77aba81c63d12 # timeout=10 [2021-05-10T06:08:44.584Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T06:08:44.595Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T06:08:44.600Z] > git checkout -f e3f24fd13da723751556eae3cc47a683f01f3d23 # timeout=10 [2021-05-10T06:08:48.380Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-05-10T06:08:48.412Z] > git --version # timeout=10 [2021-05-10T06:08:48.420Z] > git --version # 'git version 2.24.3' [2021-05-10T06:08:48.428Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T06:08:50.050Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-10T06:08:50.463Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T06:08:50.805Z] + sudo service docker restart [2021-05-10T06:08:50.805Z] + true [2021-05-10T06:08:50.805Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T06:08:51.870Z] provisioning config files... [2021-05-10T06:08:51.924Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config1364059928775960422tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:08:52.320Z] ---> docker-login.sh [2021-05-10T06:08:52.320Z] nexus3.edgexfoundry.org:10001 [2021-05-10T06:08:52.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:08:52.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:08:52.849Z] Configure a credential helper to remove this warning. See [2021-05-10T06:08:52.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:08:52.849Z] [2021-05-10T06:08:52.849Z] Login Succeeded [2021-05-10T06:08:52.849Z] nexus3.edgexfoundry.org:10002 [2021-05-10T06:08:52.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:08:53.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:08:53.122Z] Configure a credential helper to remove this warning. See [2021-05-10T06:08:53.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:08:53.122Z] [2021-05-10T06:08:53.122Z] Login Succeeded [2021-05-10T06:08:53.122Z] nexus3.edgexfoundry.org:10003 [2021-05-10T06:08:53.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:08:53.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:08:53.388Z] Configure a credential helper to remove this warning. See [2021-05-10T06:08:53.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:08:53.388Z] [2021-05-10T06:08:53.388Z] Login Succeeded [2021-05-10T06:08:53.388Z] nexus3.edgexfoundry.org:10004 [2021-05-10T06:08:53.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:08:53.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:08:53.655Z] Configure a credential helper to remove this warning. See [2021-05-10T06:08:53.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:08:53.655Z] [2021-05-10T06:08:53.655Z] Login Succeeded [2021-05-10T06:08:53.655Z] docker.io [2021-05-10T06:08:53.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:08:53.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:08:53.924Z] Configure a credential helper to remove this warning. See [2021-05-10T06:08:53.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:08:53.924Z] [2021-05-10T06:08:53.924Z] Login Succeeded [2021-05-10T06:08:53.924Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T06:08:53.951Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T06:08:54.321Z] ========================================================= [2021-05-10T06:08:54.321Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-10T06:08:54.321Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:08:54.691Z] + 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-10T06:08:54.691Z] Sending build context to Docker daemon 601.1kB [2021-05-10T06:08:54.691Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T06:08:54.691Z] Step 2/8 : FROM ${BASE} [2021-05-10T06:08:54.957Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-10T06:08:54.957Z] 540db60ca938: Pulling fs layer [2021-05-10T06:08:54.957Z] adcc1eea9eea: Pulling fs layer [2021-05-10T06:08:54.957Z] 4c4ab2625f07: Pulling fs layer [2021-05-10T06:08:54.957Z] 0510c868ecb4: Pulling fs layer [2021-05-10T06:08:54.957Z] afea3b2eda06: Pulling fs layer [2021-05-10T06:08:54.957Z] 7809a108b3ef: Pulling fs layer [2021-05-10T06:08:54.957Z] f706445af74f: Pulling fs layer [2021-05-10T06:08:54.957Z] 0510c868ecb4: Waiting [2021-05-10T06:08:54.957Z] afea3b2eda06: Waiting [2021-05-10T06:08:54.957Z] 7809a108b3ef: Waiting [2021-05-10T06:08:54.957Z] f706445af74f: Waiting [2021-05-10T06:08:54.957Z] 4c4ab2625f07: Verifying Checksum [2021-05-10T06:08:54.957Z] 4c4ab2625f07: Download complete [2021-05-10T06:08:54.957Z] adcc1eea9eea: Verifying Checksum [2021-05-10T06:08:54.957Z] adcc1eea9eea: Download complete [2021-05-10T06:08:54.957Z] afea3b2eda06: Verifying Checksum [2021-05-10T06:08:54.957Z] afea3b2eda06: Download complete [2021-05-10T06:08:54.957Z] 7809a108b3ef: Download complete [2021-05-10T06:08:55.228Z] 540db60ca938: Verifying Checksum [2021-05-10T06:08:55.228Z] 540db60ca938: Download complete [2021-05-10T06:08:55.511Z] 540db60ca938: Pull complete [2021-05-10T06:08:55.793Z] adcc1eea9eea: Pull complete [2021-05-10T06:08:56.058Z] 4c4ab2625f07: Pull complete [2021-05-10T06:08:59.433Z] f706445af74f: Verifying Checksum [2021-05-10T06:09:00.021Z] 0510c868ecb4: Verifying Checksum [2021-05-10T06:09:00.021Z] 0510c868ecb4: Download complete [2021-05-10T06:09:08.319Z] 0510c868ecb4: Pull complete [2021-05-10T06:09:08.319Z] afea3b2eda06: Pull complete [2021-05-10T06:09:08.319Z] 7809a108b3ef: Pull complete [2021-05-10T06:09:12.654Z] f706445af74f: Pull complete [2021-05-10T06:09:12.654Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-10T06:09:12.654Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-10T06:09:12.654Z] ---> b068be0155e3 [2021-05-10T06:09:12.654Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-10T06:09:12.939Z] ---> Running in 074afb0df2dc [2021-05-10T06:09:13.232Z] Removing intermediate container 074afb0df2dc [2021-05-10T06:09:13.232Z] ---> 14df7cdbdb0e [2021-05-10T06:09:13.232Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T06:09:13.232Z] ---> Running in 61d15e2d366c [2021-05-10T06:09:14.224Z] Removing intermediate container 61d15e2d366c [2021-05-10T06:09:14.224Z] ---> 0e0b928d40b3 [2021-05-10T06:09:14.224Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-10T06:09:14.501Z] ---> Running in 71cec4ebf062 [2021-05-10T06:09:15.517Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T06:09:18.168Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T06:09:23.555Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-10T06:09:23.555Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-10T06:09:24.161Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-10T06:09:24.437Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-10T06:09:24.705Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-10T06:09:26.159Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-10T06:09:26.434Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-10T06:09:30.756Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-10T06:09:31.029Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-10T06:09:31.303Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-10T06:09:31.905Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-10T06:09:32.515Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-10T06:09:33.178Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-10T06:09:33.467Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T06:09:33.467Z] OK: 156 MiB in 53 packages [2021-05-10T06:09:34.897Z] Removing intermediate container 71cec4ebf062 [2021-05-10T06:09:34.897Z] ---> c33cba713c2a [2021-05-10T06:09:34.897Z] Step 6/8 : WORKDIR /device-modbus-go [2021-05-10T06:09:34.897Z] ---> Running in 0d013f037a0b [2021-05-10T06:09:34.897Z] Removing intermediate container 0d013f037a0b [2021-05-10T06:09:34.897Z] ---> 77c0d1ae20fd [2021-05-10T06:09:34.897Z] Step 7/8 : COPY . . [2021-05-10T06:09:35.525Z] ---> 94e3e370a6f3 [2021-05-10T06:09:35.525Z] Step 8/8 : RUN go mod download [2021-05-10T06:09:35.525Z] ---> Running in 99025473302e [2021-05-10T06:09:36.606Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4002 in /w/workspace/xfoundry_device-modbus-go_PR-234 [Pipeline] { [Pipeline] ws [2021-05-10T06:09:36.742Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2021-05-10T06:09:44.182Z] using credential edgex-jenkins-ssh [2021-05-10T06:09:44.200Z] Cloning the remote Git repository [2021-05-10T06:09:44.260Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-05-10T06:09:44.393Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2021-05-10T06:09:44.524Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-10T06:09:44.524Z] > git --version # timeout=10 [2021-05-10T06:09:44.549Z] > git --version # 'git version 2.17.1' [2021-05-10T06:09:44.551Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T06:09:44.613Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T06:09:45.398Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-10T06:09:45.416Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T06:09:45.451Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-10T06:09:45.493Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-10T06:09:45.494Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T06:09:45.507Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/234/head:refs/remotes/origin/PR-234 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T06:09:45.956Z] Merging remotes/origin/master commit 99df618622a9f54f94da4a2280a77aba81c63d12 into PR head commit e3f24fd13da723751556eae3cc47a683f01f3d23 [2021-05-10T06:09:46.164Z] Merge succeeded, producing e3f24fd13da723751556eae3cc47a683f01f3d23 [2021-05-10T06:09:46.164Z] Checking out Revision e3f24fd13da723751556eae3cc47a683f01f3d23 (PR-234) [2021-05-10T06:09:45.969Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T06:09:45.982Z] > git checkout -f e3f24fd13da723751556eae3cc47a683f01f3d23 # timeout=10 [2021-05-10T06:09:46.068Z] > git remote # timeout=10 [2021-05-10T06:09:46.085Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T06:09:46.098Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T06:09:46.109Z] > git merge 99df618622a9f54f94da4a2280a77aba81c63d12 # timeout=10 [2021-05-10T06:09:46.133Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T06:09:46.165Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T06:09:46.179Z] > git checkout -f e3f24fd13da723751556eae3cc47a683f01f3d23 # timeout=10 [2021-05-10T06:09:51.061Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-05-10T06:09:51.137Z] > git --version # timeout=10 [2021-05-10T06:09:51.148Z] > git --version # 'git version 2.17.1' [2021-05-10T06:09:51.169Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T06:09:53.183Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-10T06:09:53.703Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T06:09:54.169Z] + sudo service docker restart [2021-05-10T06:09:54.169Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T06:09:56.984Z] provisioning config files... [2021-05-10T06:09:57.030Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config1703310790531173290tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:09:57.483Z] ---> docker-login.sh [2021-05-10T06:09:57.483Z] nexus3.edgexfoundry.org:10001 [2021-05-10T06:09:58.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:09:59.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:09:59.096Z] Configure a credential helper to remove this warning. See [2021-05-10T06:09:59.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:09:59.096Z] [2021-05-10T06:09:59.096Z] Login Succeeded [2021-05-10T06:09:59.096Z] nexus3.edgexfoundry.org:10002 [2021-05-10T06:09:59.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:09:59.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:09:59.652Z] Configure a credential helper to remove this warning. See [2021-05-10T06:09:59.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:09:59.652Z] [2021-05-10T06:09:59.652Z] Login Succeeded [2021-05-10T06:09:59.652Z] nexus3.edgexfoundry.org:10003 [2021-05-10T06:09:59.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:10:00.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:10:00.199Z] Configure a credential helper to remove this warning. See [2021-05-10T06:10:00.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:10:00.199Z] [2021-05-10T06:10:00.199Z] Login Succeeded [2021-05-10T06:10:00.199Z] nexus3.edgexfoundry.org:10004 [2021-05-10T06:10:00.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:10:00.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:10:00.806Z] Configure a credential helper to remove this warning. See [2021-05-10T06:10:00.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:10:00.806Z] [2021-05-10T06:10:00.806Z] Login Succeeded [2021-05-10T06:10:00.806Z] docker.io [2021-05-10T06:10:01.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:10:01.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:10:01.727Z] Configure a credential helper to remove this warning. See [2021-05-10T06:10:01.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:10:01.727Z] [2021-05-10T06:10:01.727Z] Login Succeeded [2021-05-10T06:10:01.727Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T06:10:01.762Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T06:10:02.371Z] ========================================================= [2021-05-10T06:10:02.371Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-10T06:10:02.371Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:10:02.491Z] Removing intermediate container 99025473302e [2021-05-10T06:10:02.491Z] ---> 84c122e03a8c [2021-05-10T06:10:02.491Z] Successfully built 84c122e03a8c [2021-05-10T06:10:02.491Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:10:02.796Z] + 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-10T06:10:02.928Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T06:10:02.928Z] . [2021-05-10T06:10:03.074Z] Sending build context to Docker daemon 600.1kB [Pipeline] withDockerContainer [2021-05-10T06:10:03.357Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T06:10:03.357Z] Step 2/8 : FROM ${BASE} [2021-05-10T06:10:03.357Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-10T06:10:03.357Z] 595b0fe564bb: Pulling fs layer [2021-05-10T06:10:03.357Z] 7186ed65a4f7: Pulling fs layer [2021-05-10T06:10:03.357Z] 316046926c0a: Pulling fs layer [2021-05-10T06:10:03.357Z] 4ebd0625c992: Pulling fs layer [2021-05-10T06:10:03.357Z] 207e8628e3a3: Pulling fs layer [2021-05-10T06:10:03.357Z] c791037a9be2: Pulling fs layer [2021-05-10T06:10:03.358Z] ffd874e62e21: Pulling fs layer [2021-05-10T06:10:03.358Z] 207e8628e3a3: Waiting [2021-05-10T06:10:03.358Z] 4ebd0625c992: Waiting [2021-05-10T06:10:03.358Z] ffd874e62e21: Waiting [2021-05-10T06:10:03.358Z] c791037a9be2: Waiting [2021-05-10T06:10:03.358Z] 316046926c0a: Verifying Checksum [2021-05-10T06:10:03.358Z] 316046926c0a: Download complete [2021-05-10T06:10:03.358Z] 7186ed65a4f7: Verifying Checksum [2021-05-10T06:10:03.358Z] 7186ed65a4f7: Download complete [2021-05-10T06:10:03.358Z] 207e8628e3a3: Verifying Checksum [2021-05-10T06:10:03.358Z] 207e8628e3a3: Download complete [2021-05-10T06:10:03.385Z] prd-centos7-docker-4c-2g-4009 does not seem to be running inside a container [2021-05-10T06:10:03.479Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T06:10:03.636Z] c791037a9be2: Verifying Checksum [2021-05-10T06:10:03.636Z] c791037a9be2: Download complete [2021-05-10T06:10:03.636Z] 595b0fe564bb: Verifying Checksum [2021-05-10T06:10:03.636Z] 595b0fe564bb: Download complete [2021-05-10T06:10:04.630Z] 595b0fe564bb: Pull complete [2021-05-10T06:10:04.646Z] $ docker top 6b029d57acd4e5649d90033d0b427b78a15b4506c160076bf13cf6c5e35b8635 -eo pid,comm [Pipeline] { [2021-05-10T06:10:04.912Z] 7186ed65a4f7: Pull complete [Pipeline] sh [2021-05-10T06:10:05.233Z] + go version [2021-05-10T06:10:05.233Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-10T06:10:05.262Z] $ docker stop --time=1 6b029d57acd4e5649d90033d0b427b78a15b4506c160076bf13cf6c5e35b8635 [2021-05-10T06:10:05.514Z] 316046926c0a: Pull complete [2021-05-10T06:10:06.628Z] $ docker rm -f 6b029d57acd4e5649d90033d0b427b78a15b4506c160076bf13cf6c5e35b8635 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:10:07.500Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T06:10:07.500Z] . [2021-05-10T06:10:07.508Z] ffd874e62e21: Verifying Checksum [2021-05-10T06:10:07.509Z] ffd874e62e21: Download complete [Pipeline] withDockerContainer [2021-05-10T06:10:07.636Z] prd-centos7-docker-4c-2g-4009 does not seem to be running inside a container [2021-05-10T06:10:07.758Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T06:10:08.642Z] $ docker top 42ce24ea8ed5bee8c901f641069c148750fceea16a6a56af732fb69164690590 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T06:10:09.440Z] + go mod tidy [Pipeline] sh [2021-05-10T06:10:10.405Z] + make test [2021-05-10T06:10:10.405Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-10T06:10:10.938Z] 4ebd0625c992: Verifying Checksum [2021-05-10T06:10:10.938Z] 4ebd0625c992: Download complete [2021-05-10T06:10:11.393Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-05-10T06:10:18.186Z] # github.com/edgexfoundry/device-modbus-go/internal/driver [2021-05-10T06:10:18.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-10T06:10:18.186Z] internal/driver/deviceclient.go:53:34: cannot use primaryTable (type interface {}) as type string in argument to calculateAddressLength: need type assertion [2021-05-10T06:10:18.187Z] internal/driver/deviceclient.go:68:3: cannot use primaryTable (type interface {}) as type string in field value: need type assertion [2021-05-10T06:10:21.172Z] 4ebd0625c992: Pull complete [2021-05-10T06:10:21.768Z] 207e8628e3a3: Pull complete [2021-05-10T06:10:22.042Z] c791037a9be2: Pull complete [2021-05-10T06:10:25.113Z] # github.com/edgexfoundry/device-modbus-go/internal/driver [github.com/edgexfoundry/device-modbus-go/internal/driver.test] [2021-05-10T06:10:25.113Z] internal/driver/deviceclient.go:44: cannot use primaryTable (type interface {}) as type string in argument to strings.ToUpper: need type assertion [2021-05-10T06:10:25.113Z] internal/driver/deviceclient.go:53: cannot use primaryTable (type interface {}) as type string in argument to calculateAddressLength: need type assertion [2021-05-10T06:10:25.113Z] internal/driver/deviceclient.go:68: cannot use primaryTable (type interface {}) as type string in field value: need type assertion [2021-05-10T06:10:25.113Z] 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-10T06:10:25.113Z] 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-10T06:10:25.113Z] 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-10T06:10:25.113Z] 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-10T06:10:25.113Z] 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-10T06:10:25.113Z] 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-10T06:10:25.113Z] 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-10T06:10:25.113Z] internal/driver/deviceclient_test.go:81:3: too many errors [2021-05-10T06:10:25.455Z] ffd874e62e21: Pull complete [2021-05-10T06:10:25.455Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-10T06:10:25.455Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-10T06:10:25.455Z] ---> cfc18b08335c [2021-05-10T06:10:25.455Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-10T06:10:28.851Z] ---> Running in 7aca7112d7df [2021-05-10T06:10:29.136Z] Removing intermediate container 7aca7112d7df [2021-05-10T06:10:29.136Z] ---> a56c6a293f3a [2021-05-10T06:10:29.136Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T06:10:29.136Z] ---> Running in ae05328360a8 [2021-05-10T06:10:31.525Z] Removing intermediate container ae05328360a8 [2021-05-10T06:10:31.525Z] ---> 3482febeacc9 [2021-05-10T06:10:31.525Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-10T06:10:31.801Z] ---> Running in fecdd7a23e40 [2021-05-10T06:10:32.793Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T06:10:34.617Z] FAIL github.com/edgexfoundry/device-modbus-go/internal/driver [build failed] [2021-05-10T06:10:34.617Z] make: *** [Makefile:25: test] Error 2 [Pipeline] } [2021-05-10T06:10:34.679Z] $ docker stop --time=1 42ce24ea8ed5bee8c901f641069c148750fceea16a6a56af732fb69164690590 [2021-05-10T06:10:34.765Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T06:10:36.187Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-10T06:10:36.322Z] $ docker rm -f 42ce24ea8ed5bee8c901f641069c148750fceea16a6a56af732fb69164690590 [2021-05-10T06:10:36.458Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-10T06:10:36.458Z] (3/13) Installing pkgconf (1.7.3-r0) [Pipeline] // withDockerContainer [Pipeline] } [2021-05-10T06:10:36.731Z] (4/13) Installing libsodium-dev (1.0.18-r0) [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [2021-05-10T06:10:37.017Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-10T06:10:37.017Z] (6/13) Installing libedit (20191231.3.1-r1) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [2021-05-10T06:10:37.292Z] (7/13) Installing openssh-client (8.4_p1-r3) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:10:37.874Z] ---> job-cost.sh [2021-05-10T06:10:37.874Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-b3ux [2021-05-10T06:10:37.892Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-10T06:10:38.167Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-10T06:10:38.441Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-10T06:10:38.441Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-10T06:10:38.715Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-10T06:10:38.991Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-10T06:10:39.271Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T06:10:39.271Z] OK: 145 MiB in 53 packages [2021-05-10T06:10:41.912Z] Removing intermediate container fecdd7a23e40 [2021-05-10T06:10:41.912Z] ---> b9654a619262 [2021-05-10T06:10:41.912Z] Step 6/8 : WORKDIR /device-modbus-go [2021-05-10T06:10:41.912Z] ---> Running in dab7ca1c7a3b [2021-05-10T06:10:42.522Z] Removing intermediate container dab7ca1c7a3b [2021-05-10T06:10:42.522Z] ---> 53419a3819ba [2021-05-10T06:10:42.522Z] Step 7/8 : COPY . . [2021-05-10T06:10:43.522Z] ---> 3e42d9874d75 [2021-05-10T06:10:43.522Z] Step 8/8 : RUN go mod download [2021-05-10T06:10:43.796Z] ---> Running in 00d4511a660a [2021-05-10T06:10:56.064Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T06:11:16.234Z] Removing intermediate container 00d4511a660a [2021-05-10T06:11:16.235Z] ---> 80b8dea047ac [2021-05-10T06:11:16.235Z] Successfully built 80b8dea047ac [2021-05-10T06:11:16.235Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:11:16.663Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T06:11:16.663Z] . [Pipeline] withDockerContainer [2021-05-10T06:11:17.064Z] prd-ubuntu18.04-docker-arm64-4c-16g-4002 does not seem to be running inside a container [2021-05-10T06:11:17.160Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-10T06:11:18.822Z] $ docker top 475a268e23bf57650e164af08b15b40a8da0993095abeb11e90250e646fa2e2b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T06:11:19.876Z] + go version [2021-05-10T06:11:19.876Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-10T06:11:19.917Z] $ docker stop --time=1 475a268e23bf57650e164af08b15b40a8da0993095abeb11e90250e646fa2e2b [2021-05-10T06:11:22.067Z] $ docker rm -f 475a268e23bf57650e164af08b15b40a8da0993095abeb11e90250e646fa2e2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:11:22.756Z] lf-activate-venv(): INFO: Adding /tmp/venv-b3ux/bin to PATH [2021-05-10T06:11:22.756Z] INFO: No Stack... [2021-05-10T06:11:23.054Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T06:11:23.054Z] . [Pipeline] withDockerContainer [2021-05-10T06:11:23.337Z] prd-ubuntu18.04-docker-arm64-4c-16g-4002 does not seem to be running inside a container [2021-05-10T06:11:23.439Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-10T06:11:23.701Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T06:11:24.276Z] INFO: Archiving Costs [2021-05-10T06:11:24.965Z] $ docker top 09521ade5531627a853e551a245d1a23f964f483f3765dd42ff66d6a238c1077 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-05-10T06:11:25.639Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2021-05-10T06:11:25.639Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T06:11:25.765Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-234-1-stack-cost] [2021-05-10T06:11:25.770Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-234-1-stack-cost] did not exist. Created. [2021-05-10T06:11:25.770Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-234-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T06:11:26.091Z] + go mod tidy [2021-05-10T06:11:26.193Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-10T06:11:26.666Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T06:11:26.692Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-234-1-stack-cost] [Pipeline] // lock [Pipeline] sh [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-10T06:11:27.467Z] Failed in branch amd64 [2021-05-10T06:11:27.507Z] + make test [2021-05-10T06:11:27.507Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-10T06:11:28.948Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-05-10T06:11:47.300Z] # github.com/edgexfoundry/device-modbus-go/internal/driver [2021-05-10T06:11:47.300Z] internal/driver/deviceclient.go:44:32: cannot use primaryTable (type interface {}) as type string in argument to strings.ToUpper: need type assertion [2021-05-10T06:11:47.300Z] internal/driver/deviceclient.go:53:34: cannot use primaryTable (type interface {}) as type string in argument to calculateAddressLength: need type assertion [2021-05-10T06:11:47.300Z] internal/driver/deviceclient.go:68:3: cannot use primaryTable (type interface {}) as type string in field value: need type assertion [2021-05-10T06:12:26.450Z] # github.com/edgexfoundry/device-modbus-go/internal/driver [github.com/edgexfoundry/device-modbus-go/internal/driver.test] [2021-05-10T06:12:26.450Z] internal/driver/deviceclient.go:44: cannot use primaryTable (type interface {}) as type string in argument to strings.ToUpper: need type assertion [2021-05-10T06:12:26.450Z] internal/driver/deviceclient.go:53: cannot use primaryTable (type interface {}) as type string in argument to calculateAddressLength: need type assertion [2021-05-10T06:12:26.450Z] internal/driver/deviceclient.go:68: cannot use primaryTable (type interface {}) as type string in field value: need type assertion [2021-05-10T06:12:26.450Z] 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-10T06:12:26.450Z] 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-10T06:12:26.450Z] 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-10T06:12:26.450Z] 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-10T06:12:26.450Z] 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-10T06:12:26.450Z] 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-10T06:12:26.450Z] 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-10T06:12:26.450Z] internal/driver/deviceclient_test.go:81:3: too many errors [2021-05-10T06:12:26.450Z] FAIL github.com/edgexfoundry/device-modbus-go/internal/driver [build failed] [2021-05-10T06:12:26.450Z] make: *** [Makefile:25: test] Error 2 [Pipeline] } [2021-05-10T06:12:26.507Z] $ docker stop --time=1 09521ade5531627a853e551a245d1a23f964f483f3765dd42ff66d6a238c1077 [2021-05-10T06:12:28.947Z] $ docker rm -f 09521ade5531627a853e551a245d1a23f964f483f3765dd42ff66d6a238c1077 [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-10T06:12:30.495Z] ---> job-cost.sh [2021-05-10T06:12:30.495Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ABtd [2021-05-10T06:13:38.554Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T06:15:30.354Z] lf-activate-venv(): INFO: Adding /tmp/venv-ABtd/bin to PATH [2021-05-10T06:15:30.354Z] INFO: No Stack... [2021-05-10T06:15:30.354Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-10T06:15:30.354Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T06:15:30.723Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2021-05-10T06:15:30.723Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T06:15:30.864Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-234-1-stack-cost] [2021-05-10T06:15:30.869Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-234-1-stack-cost] did not exist. Created. [2021-05-10T06:15:30.870Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-234-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T06:15:31.367Z] /w/workspace/device-modbus-go/1@tmp/durable-0541f887/script.sh: 1: /w/workspace/device-modbus-go/1@tmp/durable-0541f887/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-10T06:15:31.749Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-10T06:15:31.792Z] Warning: overwriting stash ‘stack-cost’ [2021-05-10T06:15:32.442Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T06:15:32.464Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-234-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-10T06:15:33.027Z] 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-10T06:15:35.356Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:15:36.149Z] ---> package-listing.sh [2021-05-10T06:15:36.149Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-10T06:15:36.149Z] ++ facter osfamily [2021-05-10T06:15:36.149Z] + OS_FAMILY=redhat [2021-05-10T06:15:36.149Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-234 [2021-05-10T06:15:36.149Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-10T06:15:36.149Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-10T06:15:36.149Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-10T06:15:36.149Z] + PACKAGES=/tmp/packages_start.txt [2021-05-10T06:15:36.149Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-234 ']' [2021-05-10T06:15:36.149Z] + PACKAGES=/tmp/packages_end.txt [2021-05-10T06:15:36.149Z] + case "${OS_FAMILY}" in [2021-05-10T06:15:36.149Z] + rpm -qa [2021-05-10T06:15:36.149Z] + sort [2021-05-10T06:15:41.473Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-10T06:15:41.473Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-10T06:15:41.473Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-10T06:15:41.473Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-234 ']' [2021-05-10T06:15:41.473Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-234/archives/ [2021-05-10T06:15:41.473Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-234/archives/ [Pipeline] echo [2021-05-10T06:15:41.514Z] 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-234/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-10T06:15:41.830Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:15:42.168Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T06:15:42.168Z] [2021-05-10T06:15:42.168Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:15:42.539Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T06:15:42.539Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-10T06:15:42.539Z] df20fa9351a1: Pulling fs layer [2021-05-10T06:15:42.539Z] 36b3adc4ff6f: Pulling fs layer [2021-05-10T06:15:42.539Z] 8ad3a11d3b57: Pulling fs layer [2021-05-10T06:15:42.539Z] 46f8f816bc3b: Pulling fs layer [2021-05-10T06:15:42.539Z] 93b61091891f: Pulling fs layer [2021-05-10T06:15:42.539Z] 93b9cdb0e59b: Pulling fs layer [2021-05-10T06:15:42.539Z] 5e14af77c1be: Pulling fs layer [2021-05-10T06:15:42.539Z] 01666e4c0597: Pulling fs layer [2021-05-10T06:15:42.539Z] aa168da1d23b: Pulling fs layer [2021-05-10T06:15:42.539Z] 46f8f816bc3b: Waiting [2021-05-10T06:15:42.539Z] 93b61091891f: Waiting [2021-05-10T06:15:42.539Z] 93b9cdb0e59b: Waiting [2021-05-10T06:15:42.539Z] 5e14af77c1be: Waiting [2021-05-10T06:15:42.539Z] 01666e4c0597: Waiting [2021-05-10T06:15:42.539Z] aa168da1d23b: Waiting [2021-05-10T06:15:42.539Z] 36b3adc4ff6f: Verifying Checksum [2021-05-10T06:15:42.539Z] 36b3adc4ff6f: Download complete [2021-05-10T06:15:42.539Z] 46f8f816bc3b: Verifying Checksum [2021-05-10T06:15:42.539Z] 46f8f816bc3b: Download complete [2021-05-10T06:15:42.804Z] df20fa9351a1: Verifying Checksum [2021-05-10T06:15:42.804Z] df20fa9351a1: Download complete [2021-05-10T06:15:42.804Z] 93b9cdb0e59b: Verifying Checksum [2021-05-10T06:15:42.804Z] 93b9cdb0e59b: Download complete [2021-05-10T06:15:42.804Z] 5e14af77c1be: Verifying Checksum [2021-05-10T06:15:42.804Z] 5e14af77c1be: Download complete [2021-05-10T06:15:42.804Z] 01666e4c0597: Verifying Checksum [2021-05-10T06:15:42.804Z] 01666e4c0597: Download complete [2021-05-10T06:15:42.804Z] 93b61091891f: Verifying Checksum [2021-05-10T06:15:42.804Z] 93b61091891f: Download complete [2021-05-10T06:15:43.081Z] df20fa9351a1: Pull complete [2021-05-10T06:15:43.350Z] 8ad3a11d3b57: Verifying Checksum [2021-05-10T06:15:43.350Z] 8ad3a11d3b57: Download complete [2021-05-10T06:15:43.350Z] 36b3adc4ff6f: Pull complete [2021-05-10T06:15:43.937Z] 8ad3a11d3b57: Pull complete [2021-05-10T06:15:44.199Z] 46f8f816bc3b: Pull complete [2021-05-10T06:15:44.461Z] 93b61091891f: Pull complete [2021-05-10T06:15:44.727Z] 93b9cdb0e59b: Pull complete [2021-05-10T06:15:44.993Z] 5e14af77c1be: Pull complete [2021-05-10T06:15:44.993Z] 01666e4c0597: Pull complete [2021-05-10T06:15:47.555Z] aa168da1d23b: Verifying Checksum [2021-05-10T06:15:47.555Z] aa168da1d23b: Download complete [2021-05-10T06:15:54.203Z] aa168da1d23b: Pull complete [2021-05-10T06:15:54.203Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-10T06:15:54.203Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T06:15:54.203Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-10T06:15:54.431Z] prd-centos7-docker-4c-2g-3982 does not seem to be running inside a container [2021-05-10T06:15:54.489Z] $ 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-234/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-234 -v /w/workspace/xfoundry_device-modbus-go_PR-234:/w/workspace/xfoundry_device-modbus-go_PR-234:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-234@tmp:/w/workspace/xfoundry_device-modbus-go_PR-234@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-10T06:15:58.682Z] $ docker top d58f9bca52ed5204e80daa99bb4706c96d63cda761d2b81cd829f5098354c4e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T06:15:59.269Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-10T06:15:59.589Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-10T06:15:59.914Z] + ls /var/log/sa-host [2021-05-10T06:15:59.914Z] + sadf -c /var/log/sa-host/sa10 [2021-05-10T06:15:59.914Z] file_magic: OK [2021-05-10T06:15:59.914Z] HZ: Using current value: 100 [2021-05-10T06:15:59.914Z] file_header: OK [2021-05-10T06:15:59.914Z] 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-10T06:15:59.914Z] Statistics: [2021-05-10T06:15:59.914Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-10T06:15:59.914Z] File successfully converted to sysstat format version 12.2.1 [2021-05-10T06:15:59.914Z] + sadf -c /var/log/sa-host/sa23 [2021-05-10T06:15:59.914Z] file_magic: OK [2021-05-10T06:15:59.914Z] HZ: Using current value: 100 [2021-05-10T06:15:59.914Z] file_header: OK [2021-05-10T06:15:59.914Z] 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-10T06:15:59.914Z] Statistics: [2021-05-10T06:15:59.914Z] Hnuu...uuuununununu... [2021-05-10T06:15:59.914Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-10T06:16:00.185Z] provisioning config files... [2021-05-10T06:16:00.209Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-234@tmp/config799758208874164308tmp [Pipeline] { [Pipeline] echo [2021-05-10T06:16:00.282Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:16:00.625Z] ---> create-netrc.sh [Pipeline] } [2021-05-10T06:16:00.649Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-10T06:16:00.730Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:16:01.071Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-10T06:16:01.134Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:16:01.485Z] ---> sudo-logs.sh [2021-05-10T06:16:01.486Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-10T06:16:01.657Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:16:02.995Z] ---> job-cost.sh [2021-05-10T06:16:02.995Z] lf-activate-venv: SKIPPING [2021-05-10T06:16:02.995Z] DEBUG: total: 0.20999999344348907 [2021-05-10T06:16:02.995Z] INFO: Retrieving Stack Cost... [2021-05-10T06:16:03.260Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T06:16:03.838Z] INFO: Archiving Costs [Pipeline] echo [2021-05-10T06:16:03.874Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:16:04.220Z] ---> logs-deploy.sh [2021-05-10T06:16:04.220Z] lf-activate-venv: SKIPPING [2021-05-10T06:16:04.220Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-234/1 [2021-05-10T06:16:04.220Z] INFO: archiving workspace using pattern(s): [2021-05-10T06:16:06.144Z] Archives upload complete. [2021-05-10T06:16:06.144Z] INFO: archiving logs to Nexus [2021-05-10T06:16:07.092Z] ---> uname -a: [2021-05-10T06:16:07.092Z] Linux prd-centos7-docker-4c-2g-3982.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-10T06:16:07.092Z] [2021-05-10T06:16:07.092Z] [2021-05-10T06:16:07.092Z] ---> lscpu: [2021-05-10T06:16:07.092Z] Architecture: x86_64 [2021-05-10T06:16:07.092Z] CPU op-mode(s): 32-bit, 64-bit [2021-05-10T06:16:07.092Z] Byte Order: Little Endian [2021-05-10T06:16:07.092Z] Address sizes: 40 bits physical, 48 bits virtual [2021-05-10T06:16:07.092Z] CPU(s): 4 [2021-05-10T06:16:07.092Z] On-line CPU(s) list: 0-3 [2021-05-10T06:16:07.092Z] Thread(s) per core: 1 [2021-05-10T06:16:07.092Z] Core(s) per socket: 1 [2021-05-10T06:16:07.093Z] Socket(s): 4 [2021-05-10T06:16:07.093Z] NUMA node(s): 1 [2021-05-10T06:16:07.093Z] Vendor ID: GenuineIntel [2021-05-10T06:16:07.093Z] CPU family: 6 [2021-05-10T06:16:07.093Z] Model: 44 [2021-05-10T06:16:07.093Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-05-10T06:16:07.093Z] Stepping: 1 [2021-05-10T06:16:07.093Z] CPU MHz: 2933.442 [2021-05-10T06:16:07.093Z] BogoMIPS: 5866.88 [2021-05-10T06:16:07.093Z] Virtualization: VT-x [2021-05-10T06:16:07.093Z] Hypervisor vendor: KVM [2021-05-10T06:16:07.093Z] Virtualization type: full [2021-05-10T06:16:07.093Z] L1d cache: 128 KiB [2021-05-10T06:16:07.093Z] L1i cache: 128 KiB [2021-05-10T06:16:07.093Z] L2 cache: 16 MiB [2021-05-10T06:16:07.093Z] L3 cache: 64 MiB [2021-05-10T06:16:07.093Z] NUMA node0 CPU(s): 0-3 [2021-05-10T06:16:07.093Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-05-10T06:16:07.093Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-05-10T06:16:07.093Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-05-10T06:16:07.093Z] Vulnerability Meltdown: Mitigation; PTI [2021-05-10T06:16:07.093Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-05-10T06:16:07.093Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-05-10T06:16:07.093Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-05-10T06:16:07.093Z] Vulnerability Srbds: Not affected [2021-05-10T06:16:07.093Z] Vulnerability Tsx async abort: Not affected [2021-05-10T06:16:07.093Z] 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-10T06:16:07.093Z] [2021-05-10T06:16:07.093Z] [2021-05-10T06:16:07.093Z] ---> nproc: [2021-05-10T06:16:07.093Z] 4 [2021-05-10T06:16:07.093Z] [2021-05-10T06:16:07.093Z]