Pull request #261 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7ea6aec0cabaec0b05c2df5f79c0eed1120b6a2f+b09d9ba1a72cafb6b38617a4d5eb8b9f0ac4b1bc (6e080ec4d190938c8fc7dad6ff68178edf4f2931) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8997981546202159288.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh983147414501834810.key > 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 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git 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-261/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-261/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1092750359390331890.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-261/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3618861691822894589.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4680094387383588729.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE 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-261/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-261/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6908910026356914456.key > 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 Avoid second fetch Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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 6a41506d72e8e131afc862d141935157bee59f41 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: device-modbus 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-591’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-762’ is offline ‘prd-centos7-docker-4c-2g-764’ is offline ‘prd-centos7-docker-4c-2g-765’ is offline ‘prd-centos7-docker-4c-2g-778’ is offline Running on prd-centos7-docker-4c-2g-788 in /w/workspace/xfoundry_device-modbus-go_PR-261 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-261 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_device-modbus-go_PR-261@tmp/jenkins-gitclient-ssh635426099977204410.key > 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 b09d9ba1a72cafb6b38617a4d5eb8b9f0ac4b1bc into PR head commit 7ea6aec0cabaec0b05c2df5f79c0eed1120b6a2f Merge succeeded, producing 7ea6aec0cabaec0b05c2df5f79c0eed1120b6a2f Checking out Revision 7ea6aec0cabaec0b05c2df5f79c0eed1120b6a2f (PR-261) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_device-modbus-go_PR-261@tmp/jenkins-gitclient-ssh6166271139863049991.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/261/head:refs/remotes/origin/PR-261 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7ea6aec0cabaec0b05c2df5f79c0eed1120b6a2f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_device-modbus-go_PR-261@tmp/jenkins-gitclient-ssh3637184381698607317.key > git merge b09d9ba1a72cafb6b38617a4d5eb8b9f0ac4b1bc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7ea6aec0cabaec0b05c2df5f79c0eed1120b6a2f # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-14T05:48:50.963Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-14T05:48:51.172Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-14T05:48:51.297Z] ========================================================= [2021-06-14T05:48:51.297Z] EdgeX Global Pipelines Version Info [2021-06-14T05:48:51.297Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-14T05:48:52.760Z] ------------------- [2021-06-14T05:48:52.760Z] stable info: [2021-06-14T05:48:52.760Z] ------------------- [2021-06-14T05:48:52.760Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-14T05:48:52.760Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-14T05:48:52.760Z] Message: update stable to v1.0.195 [2021-06-14T05:48:53.341Z] ------------------- [2021-06-14T05:48:53.341Z] experimental info: [2021-06-14T05:48:53.341Z] ------------------- [2021-06-14T05:48:53.341Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-14T05:48:53.341Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-14T05:48:53.341Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-14T05:48:53.617Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-06-14T05:48:53.686Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-06-14T05:48:53.759Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-14T05:48:53.832Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-14T05:48:53.911Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-14T05:48:53.987Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-14T05:48:54.084Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-14T05:48:54.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-14T05:48:54.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-14T05:48:54.286Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-14T05:48:54.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-14T05:48:54.417Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2021-06-14T05:48:54.491Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-14T05:48:54.555Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-14T05:48:54.619Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-14T05:48:54.679Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-14T05:48:54.744Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-14T05:48:54.810Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-14T05:48:54.868Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-14T05:48:54.935Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-06-14T05:48:54.999Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-14T05:48:55.068Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-14T05:48:55.139Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-14T05:48:55.205Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-14T05:48:55.280Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-14T05:48:55.398Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-14T05:48:55.534Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-261 [Pipeline] echo [2021-06-14T05:48:55.611Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-261 [Pipeline] echo [2021-06-14T05:48:55.713Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-261 [Pipeline] echo [2021-06-14T05:48:55.821Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7ea6aec0cabaec0b05c2df5f79c0eed1120b6a2f [Pipeline] echo [2021-06-14T05:48:55.916Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7ea6aec [Pipeline] echo [2021-06-14T05:48:56.028Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-14T05:48:56.271Z] provisioning config files... [2021-06-14T05:48:56.300Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-261@tmp/config1428123072806530043tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-14T05:48:56.744Z] ---> docker-login.sh [2021-06-14T05:48:56.744Z] nexus3.edgexfoundry.org:10001 [2021-06-14T05:48:57.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-14T05:48:57.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-14T05:48:57.338Z] Configure a credential helper to remove this warning. See [2021-06-14T05:48:57.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-14T05:48:57.338Z] [2021-06-14T05:48:57.338Z] Login Succeeded [2021-06-14T05:48:57.338Z] nexus3.edgexfoundry.org:10002 [2021-06-14T05:48:57.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-14T05:48:57.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-14T05:48:57.606Z] Configure a credential helper to remove this warning. See [2021-06-14T05:48:57.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-14T05:48:57.606Z] [2021-06-14T05:48:57.606Z] Login Succeeded [2021-06-14T05:48:57.606Z] nexus3.edgexfoundry.org:10003 [2021-06-14T05:48:57.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-14T05:48:57.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-14T05:48:57.877Z] Configure a credential helper to remove this warning. See [2021-06-14T05:48:57.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-14T05:48:57.877Z] [2021-06-14T05:48:57.877Z] Login Succeeded [2021-06-14T05:48:57.877Z] nexus3.edgexfoundry.org:10004 [2021-06-14T05:48:57.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-14T05:48:57.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-14T05:48:57.877Z] Configure a credential helper to remove this warning. See [2021-06-14T05:48:57.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-14T05:48:57.877Z] [2021-06-14T05:48:57.877Z] Login Succeeded [2021-06-14T05:48:57.877Z] docker.io [2021-06-14T05:48:57.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-14T05:48:58.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-14T05:48:58.144Z] Configure a credential helper to remove this warning. See [2021-06-14T05:48:58.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-14T05:48:58.144Z] [2021-06-14T05:48:58.144Z] Login Succeeded [2021-06-14T05:48:58.144Z] ---> docker-login.sh ends [Pipeline] } [2021-06-14T05:48:58.178Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-14T05:48:58.997Z] + git log --format=format:%s -1 7ea6aec0cabaec0b05c2df5f79c0eed1120b6a2f [Pipeline] echo [2021-06-14T05:48:59.108Z] GIT_COMMIT: 7ea6aec0cabaec0b05c2df5f79c0eed1120b6a2f, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-06-14T05:48:59.178Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-14T05:48:59.799Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-14T05:48:59.799Z] [2021-06-14T05:48:59.799Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-14T05:49:00.175Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-14T05:49:00.451Z] latest: Pulling from edgex-devops/git-semver [2021-06-14T05:49:00.451Z] 31603596830f: Pulling fs layer [2021-06-14T05:49:00.451Z] 54011a49482f: Pulling fs layer [2021-06-14T05:49:00.451Z] a6820b24f6d8: Pulling fs layer [2021-06-14T05:49:00.451Z] f581987b2513: Pulling fs layer [2021-06-14T05:49:00.451Z] f581987b2513: Waiting [2021-06-14T05:49:00.451Z] 54011a49482f: Verifying Checksum [2021-06-14T05:49:00.451Z] 54011a49482f: Download complete [2021-06-14T05:49:00.729Z] 31603596830f: Verifying Checksum [2021-06-14T05:49:00.729Z] 31603596830f: Download complete [2021-06-14T05:49:00.992Z] 31603596830f: Pull complete [2021-06-14T05:49:00.992Z] a6820b24f6d8: Verifying Checksum [2021-06-14T05:49:00.992Z] a6820b24f6d8: Download complete [2021-06-14T05:49:00.992Z] f581987b2513: Verifying Checksum [2021-06-14T05:49:00.992Z] f581987b2513: Download complete [2021-06-14T05:49:00.992Z] 54011a49482f: Pull complete [2021-06-14T05:49:01.942Z] a6820b24f6d8: Pull complete [2021-06-14T05:49:01.942Z] f581987b2513: Pull complete [2021-06-14T05:49:02.217Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-14T05:49:02.217Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-14T05:49:02.217Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-14T05:49:02.363Z] prd-centos7-docker-4c-2g-788 does not seem to be running inside a container [2021-06-14T05:49:02.411Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-261 -v /w/workspace/xfoundry_device-modbus-go_PR-261:/w/workspace/xfoundry_device-modbus-go_PR-261:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-261@tmp:/w/workspace/xfoundry_device-modbus-go_PR-261@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-14T05:49:06.317Z] $ docker top 941722c1281f8dcb867a78c00d311b8523e5c568a974f01a5eba2c6ade3832e3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-14T05:49:06.563Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-14T05:49:06.563Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-14T05:49:06.668Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-14T05:49:06.673Z] $ docker exec 941722c1281f8dcb867a78c00d311b8523e5c568a974f01a5eba2c6ade3832e3 ssh-agent [2021-06-14T05:49:06.783Z] SSH_AUTH_SOCK=/tmp/ssh-MJwPR2hvWEiW/agent.15 [2021-06-14T05:49:06.783Z] SSH_AGENT_PID=22 [2021-06-14T05:49:06.790Z] Running ssh-add (command line suppressed) [2021-06-14T05:49:06.889Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-261@tmp/private_key_4614038921138168674.key (/w/workspace/xfoundry_device-modbus-go_PR-261@tmp/private_key_4614038921138168674.key) [2021-06-14T05:49:06.902Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-14T05:49:07.255Z] + git tag --points-at HEAD [Pipeline] } [2021-06-14T05:49:07.279Z] $ docker exec --env ******** --env ******** 941722c1281f8dcb867a78c00d311b8523e5c568a974f01a5eba2c6ade3832e3 ssh-agent -k [2021-06-14T05:49:07.372Z] unset SSH_AUTH_SOCK; [2021-06-14T05:49:07.372Z] unset SSH_AGENT_PID; [2021-06-14T05:49:07.372Z] echo Agent pid 22 killed; [2021-06-14T05:49:07.384Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-14T05:49:07.488Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-14T05:49:07.488Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-14T05:49:07.594Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-14T05:49:07.600Z] $ docker exec 941722c1281f8dcb867a78c00d311b8523e5c568a974f01a5eba2c6ade3832e3 ssh-agent [2021-06-14T05:49:07.705Z] SSH_AUTH_SOCK=/tmp/ssh-BkYYu2i8oixi/agent.56 [2021-06-14T05:49:07.705Z] SSH_AGENT_PID=62 [2021-06-14T05:49:07.717Z] Running ssh-add (command line suppressed) [2021-06-14T05:49:07.811Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-261@tmp/private_key_7841266353922195941.key (/w/workspace/xfoundry_device-modbus-go_PR-261@tmp/private_key_7841266353922195941.key) [2021-06-14T05:49:07.822Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-14T05:49:08.188Z] + git semver init [2021-06-14T05:49:08.188Z] # -> Open(): unable to determine branch for HEAD [2021-06-14T05:49:08.188Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-261/.git [2021-06-14T05:49:08.188Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-261 [2021-06-14T05:49:08.188Z] # $SEMVER_REMOTE_NAME = origin [2021-06-14T05:49:08.188Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-14T05:49:08.188Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-14T05:49:08.188Z] # $SEMVER_BRANCH = PR-261 [2021-06-14T05:49:08.188Z] # $SEMVER_TEMP = /tmp/semver-958403712 [2021-06-14T05:49:08.188Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-06-14T05:49:08.766Z] # '/tmp/semver-958403712' -> '/w/workspace/xfoundry_device-modbus-go_PR-261/.semver' [2021-06-14T05:49:08.766Z] # -> Force: false [2021-06-14T05:49:08.766Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-261/.semver [Pipeline] } [2021-06-14T05:49:08.788Z] $ docker exec --env ******** --env ******** 941722c1281f8dcb867a78c00d311b8523e5c568a974f01a5eba2c6ade3832e3 ssh-agent -k [2021-06-14T05:49:08.898Z] unset SSH_AUTH_SOCK; [2021-06-14T05:49:08.899Z] unset SSH_AGENT_PID; [2021-06-14T05:49:08.899Z] echo Agent pid 62 killed; [2021-06-14T05:49:08.912Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-14T05:49:09.351Z] + git semver [Pipeline] } [2021-06-14T05:49:09.385Z] $ docker stop --time=1 941722c1281f8dcb867a78c00d311b8523e5c568a974f01a5eba2c6ade3832e3 [2021-06-14T05:49:10.876Z] $ docker rm -f 941722c1281f8dcb867a78c00d311b8523e5c568a974f01a5eba2c6ade3832e3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-14T05:49:11.354Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-14T05:49:11.827Z] Stashed 1 file(s) [Pipeline] echo [2021-06-14T05:49:11.851Z] [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-06-14T05:49:27.473Z] Still waiting to schedule task [2021-06-14T05:49:27.473Z] ‘prd-centos7-blackbox-4c-2g-591’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-14T05:49:27.473Z] ‘prd-centos7-docker-4c-2g-761’ is offline [2021-06-14T05:49:27.474Z] ‘prd-centos7-docker-4c-2g-792’ is offline [2021-06-14T05:49:27.474Z] ‘prd-centos7-docker-4c-2g-794’ is offline [2021-06-14T05:49:27.474Z] ‘prd-centos7-docker-4c-2g-795’ is offline [2021-06-14T05:49:27.474Z] ‘prd-centos7-docker-4c-2g-799’ is offline [2021-06-14T05:49:27.474Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-767’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-14T05:49:27.474Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-785’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-14T05:49:27.474Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-790’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-14T05:49:27.474Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-793’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-14T05:49:27.510Z] Still waiting to schedule task [2021-06-14T05:49:27.511Z] Executor slot already in use [2021-06-14T05:49:27.511Z] ‘prd-centos7-blackbox-4c-2g-591’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-14T05:49:27.511Z] ‘prd-centos7-docker-4c-2g-761’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-14T05:49:27.511Z] ‘prd-centos7-docker-4c-2g-792’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-14T05:49:27.511Z] ‘prd-centos7-docker-4c-2g-794’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-14T05:49:27.511Z] ‘prd-centos7-docker-4c-2g-795’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-14T05:49:27.511Z] ‘prd-centos7-docker-4c-2g-799’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-14T05:49:27.511Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-767’ is offline [2021-06-14T05:49:27.511Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-790’ is offline [2021-06-14T05:49:27.511Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-793’ is offline [2021-06-14T05:58:57.186Z] Running on prd-centos7-docker-4c-2g-1188 in /w/workspace/xfoundry_device-modbus-go_PR-261 [Pipeline] { [Pipeline] ws [2021-06-14T05:58:57.252Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2021-06-14T05:58:57.474Z] Selected Git installation does not exist. Using Default [2021-06-14T05:58:57.475Z] The recommended git tool is: NONE [2021-06-14T05:58:59.710Z] using credential edgex-jenkins-ssh [2021-06-14T05:58:59.723Z] Cloning the remote Git repository [2021-06-14T05:58:59.743Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-06-14T05:58:59.812Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2021-06-14T05:58:59.840Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-06-14T05:58:59.841Z] > git --version # timeout=10 [2021-06-14T05:58:59.852Z] > git --version # 'git version 2.24.4' [2021-06-14T05:58:59.852Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-14T05:59:00.944Z] Merging remotes/origin/master commit b09d9ba1a72cafb6b38617a4d5eb8b9f0ac4b1bc into PR head commit 7ea6aec0cabaec0b05c2df5f79c0eed1120b6a2f [2021-06-14T05:58:59.887Z] [INFO] Currently running in a labeled security context [2021-06-14T05:58:59.887Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-14T05:58:59.887Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/1@tmp/jenkins-gitclient-ssh4148217956653432310.key [2021-06-14T05:58:59.930Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-14T05:59:00.453Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-06-14T05:59:00.464Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-14T05:59:00.474Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-06-14T05:59:00.488Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-06-14T05:59:00.488Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-14T05:59:00.489Z] [INFO] Currently running in a labeled security context [2021-06-14T05:59:00.489Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-14T05:59:00.489Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/1@tmp/jenkins-gitclient-ssh8623987336731825794.key [2021-06-14T05:59:00.493Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/261/head:refs/remotes/origin/PR-261 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-14T05:59:00.948Z] > git config core.sparsecheckout # timeout=10 [2021-06-14T05:59:00.957Z] > git checkout -f 7ea6aec0cabaec0b05c2df5f79c0eed1120b6a2f # timeout=10 [2021-06-14T05:59:01.019Z] Merge succeeded, producing 7ea6aec0cabaec0b05c2df5f79c0eed1120b6a2f [2021-06-14T05:59:01.019Z] Checking out Revision 7ea6aec0cabaec0b05c2df5f79c0eed1120b6a2f (PR-261) [2021-06-14T05:59:00.987Z] > git remote # timeout=10 [2021-06-14T05:59:00.990Z] > git config --get remote.origin.url # timeout=10 [2021-06-14T05:59:00.995Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-14T05:59:00.996Z] [INFO] Currently running in a labeled security context [2021-06-14T05:59:00.996Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-14T05:59:00.996Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/1@tmp/jenkins-gitclient-ssh5821534636569126462.key [2021-06-14T05:59:01.000Z] > git merge b09d9ba1a72cafb6b38617a4d5eb8b9f0ac4b1bc # timeout=10 [2021-06-14T05:59:01.009Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-14T05:59:01.019Z] > git config core.sparsecheckout # timeout=10 [2021-06-14T05:59:01.025Z] > git checkout -f 7ea6aec0cabaec0b05c2df5f79c0eed1120b6a2f # timeout=10 [2021-06-14T05:59:04.646Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-06-14T05:59:04.679Z] > git --version # timeout=10 [2021-06-14T05:59:04.683Z] > git --version # 'git version 2.24.4' [2021-06-14T05:59:04.687Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-14T05:59:05.915Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-14T05:59:06.261Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-14T05:59:06.601Z] + sudo service docker restart [2021-06-14T05:59:06.601Z] + true [2021-06-14T05:59:06.601Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-14T05:59:24.859Z] provisioning config files... [2021-06-14T05:59:24.874Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config1885612541962132427tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-14T05:59:25.283Z] ---> docker-login.sh [2021-06-14T05:59:25.283Z] nexus3.edgexfoundry.org:10001 [2021-06-14T05:59:25.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-14T05:59:25.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-14T05:59:25.546Z] Configure a credential helper to remove this warning. See [2021-06-14T05:59:25.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-14T05:59:25.546Z] [2021-06-14T05:59:25.546Z] Login Succeeded [2021-06-14T05:59:25.546Z] nexus3.edgexfoundry.org:10002 [2021-06-14T05:59:25.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-14T05:59:25.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-14T05:59:25.813Z] Configure a credential helper to remove this warning. See [2021-06-14T05:59:25.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-14T05:59:25.813Z] [2021-06-14T05:59:25.813Z] Login Succeeded [2021-06-14T05:59:25.813Z] nexus3.edgexfoundry.org:10003 [2021-06-14T05:59:25.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-14T05:59:25.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-14T05:59:25.813Z] Configure a credential helper to remove this warning. See [2021-06-14T05:59:25.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-14T05:59:25.813Z] [2021-06-14T05:59:25.813Z] Login Succeeded [2021-06-14T05:59:25.813Z] nexus3.edgexfoundry.org:10004 [2021-06-14T05:59:26.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-14T05:59:26.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-14T05:59:26.077Z] Configure a credential helper to remove this warning. See [2021-06-14T05:59:26.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-14T05:59:26.077Z] [2021-06-14T05:59:26.077Z] Login Succeeded [2021-06-14T05:59:26.077Z] docker.io [2021-06-14T05:59:26.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-14T05:59:26.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-14T05:59:26.339Z] Configure a credential helper to remove this warning. See [2021-06-14T05:59:26.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-14T05:59:26.339Z] [2021-06-14T05:59:26.339Z] Login Succeeded [2021-06-14T05:59:26.339Z] ---> docker-login.sh ends [Pipeline] } [2021-06-14T05:59:26.369Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-14T05:59:26.700Z] ========================================================= [2021-06-14T05:59:26.700Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-14T05:59:26.700Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-14T05:59:27.072Z] + 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-06-14T05:59:27.072Z] Sending build context to Docker daemon 636.4kB [2021-06-14T05:59:27.072Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-14T05:59:27.072Z] Step 2/8 : FROM ${BASE} [2021-06-14T05:59:27.072Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-14T05:59:27.072Z] 540db60ca938: Pulling fs layer [2021-06-14T05:59:27.072Z] adcc1eea9eea: Pulling fs layer [2021-06-14T05:59:27.072Z] 4c4ab2625f07: Pulling fs layer [2021-06-14T05:59:27.072Z] 0510c868ecb4: Pulling fs layer [2021-06-14T05:59:27.072Z] afea3b2eda06: Pulling fs layer [2021-06-14T05:59:27.072Z] 7809a108b3ef: Pulling fs layer [2021-06-14T05:59:27.072Z] f706445af74f: Pulling fs layer [2021-06-14T05:59:27.072Z] 0510c868ecb4: Waiting [2021-06-14T05:59:27.072Z] 7809a108b3ef: Waiting [2021-06-14T05:59:27.072Z] f706445af74f: Waiting [2021-06-14T05:59:27.072Z] afea3b2eda06: Waiting [2021-06-14T05:59:27.072Z] 4c4ab2625f07: Verifying Checksum [2021-06-14T05:59:27.072Z] 4c4ab2625f07: Download complete [2021-06-14T05:59:27.339Z] adcc1eea9eea: Verifying Checksum [2021-06-14T05:59:27.339Z] adcc1eea9eea: Download complete [2021-06-14T05:59:27.339Z] afea3b2eda06: Verifying Checksum [2021-06-14T05:59:27.339Z] afea3b2eda06: Download complete [2021-06-14T05:59:27.339Z] 7809a108b3ef: Verifying Checksum [2021-06-14T05:59:27.339Z] 7809a108b3ef: Download complete [2021-06-14T05:59:27.339Z] 540db60ca938: Verifying Checksum [2021-06-14T05:59:27.339Z] 540db60ca938: Download complete [2021-06-14T05:59:27.339Z] 540db60ca938: Pull complete [2021-06-14T05:59:27.605Z] adcc1eea9eea: Pull complete [2021-06-14T05:59:27.605Z] 4c4ab2625f07: Pull complete [2021-06-14T05:59:30.153Z] f706445af74f: Verifying Checksum [2021-06-14T05:59:30.153Z] f706445af74f: Download complete [2021-06-14T05:59:31.106Z] 0510c868ecb4: Verifying Checksum [2021-06-14T05:59:31.106Z] 0510c868ecb4: Download complete [2021-06-14T05:59:35.374Z] 0510c868ecb4: Pull complete [2021-06-14T05:59:35.374Z] afea3b2eda06: Pull complete [2021-06-14T05:59:35.374Z] 7809a108b3ef: Pull complete [2021-06-14T05:59:36.761Z] f706445af74f: Pull complete [2021-06-14T05:59:36.761Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-14T05:59:36.761Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-14T05:59:36.761Z] ---> b068be0155e3 [2021-06-14T05:59:36.761Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-14T05:59:40.974Z] ---> Running in 5771d7d2b430 [2021-06-14T05:59:41.238Z] Removing intermediate container 5771d7d2b430 [2021-06-14T05:59:41.238Z] ---> 46269baa8a56 [2021-06-14T05:59:41.238Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-14T05:59:41.238Z] ---> Running in 25def5fec583 [2021-06-14T05:59:41.814Z] Removing intermediate container 25def5fec583 [2021-06-14T05:59:41.814Z] ---> 8fae886a913b [2021-06-14T05:59:41.814Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-14T05:59:41.814Z] ---> Running in 70db7e568e68 [2021-06-14T05:59:42.075Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-14T05:59:42.645Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-14T05:59:43.589Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-14T05:59:43.589Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-14T05:59:43.589Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-14T05:59:43.850Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-14T05:59:43.850Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-14T05:59:43.850Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-14T05:59:44.111Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-14T05:59:44.372Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-14T05:59:44.372Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-14T05:59:44.372Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-14T05:59:44.633Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-14T05:59:44.633Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-14T05:59:44.633Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-14T05:59:44.897Z] Executing busybox-1.32.1-r6.trigger [2021-06-14T05:59:44.897Z] OK: 156 MiB in 53 packages [2021-06-14T05:59:45.469Z] Removing intermediate container 70db7e568e68 [2021-06-14T05:59:45.469Z] ---> 0abf773e0676 [2021-06-14T05:59:45.469Z] Step 6/8 : WORKDIR /device-modbus-go [2021-06-14T05:59:45.469Z] ---> Running in b21fd1eb37b4 [2021-06-14T05:59:45.469Z] Removing intermediate container b21fd1eb37b4 [2021-06-14T05:59:45.469Z] ---> 787d0ca94b65 [2021-06-14T05:59:45.469Z] Step 7/8 : COPY . . [2021-06-14T05:59:45.743Z] ---> 6abba0de4f7c [2021-06-14T05:59:45.743Z] Step 8/8 : RUN go mod download [2021-06-14T05:59:45.743Z] ---> Running in bd0f3e35af12 [2021-06-14T05:59:58.048Z] Removing intermediate container bd0f3e35af12 [2021-06-14T05:59:58.048Z] ---> fa07dde3075c [2021-06-14T05:59:58.048Z] Successfully built fa07dde3075c [2021-06-14T05:59:58.048Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-14T05:59:58.417Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-14T05:59:58.417Z] . [Pipeline] withDockerContainer [2021-06-14T05:59:58.661Z] prd-centos7-docker-4c-2g-1188 does not seem to be running inside a container [2021-06-14T05:59:58.734Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-14T05:59:59.129Z] $ docker top 60bbff5811734c57e20802239a71f2bb89f7425b0dfa3f04633f620d2ff60457 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-14T05:59:59.641Z] + go version [2021-06-14T05:59:59.641Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-14T05:59:59.674Z] $ docker stop --time=1 60bbff5811734c57e20802239a71f2bb89f7425b0dfa3f04633f620d2ff60457 [2021-06-14T06:00:00.911Z] $ docker rm -f 60bbff5811734c57e20802239a71f2bb89f7425b0dfa3f04633f620d2ff60457 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-14T06:00:02.305Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-14T06:00:02.305Z] . [Pipeline] withDockerContainer [2021-06-14T06:00:03.149Z] prd-centos7-docker-4c-2g-1188 does not seem to be running inside a container [2021-06-14T06:00:03.209Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-14T06:00:03.599Z] $ docker top a2d5e018e937b6f28a70349f56a899307cea62dd98f80159d8159ce226b43496 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-14T06:00:04.124Z] + go mod tidy [2021-06-14T06:00:04.387Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [2021-06-14T06:00:04.387Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [2021-06-14T06:00:04.387Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-06-14T06:00:04.387Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [2021-06-14T06:00:04.387Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common [2021-06-14T06:00:04.387Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests [2021-06-14T06:00:04.387Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http [2021-06-14T06:00:04.387Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [2021-06-14T06:00:04.388Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses [2021-06-14T06:00:04.650Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [2021-06-14T06:00:04.650Z] github.com/edgexfoundry/device-modbus-go/internal/driver imports [2021-06-14T06:00:04.650Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [2021-06-14T06:00:04.650Z] github.com/edgexfoundry/device-modbus-go/internal/driver imports [2021-06-14T06:00:04.650Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [2021-06-14T06:00:04.650Z] github.com/edgexfoundry/device-modbus-go/cmd imports [2021-06-14T06:00:04.650Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/startup imports [2021-06-14T06:00:04.650Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports [2021-06-14T06:00:04.650Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [2021-06-14T06:00:04.650Z] github.com/edgexfoundry/device-modbus-go/cmd imports [2021-06-14T06:00:04.650Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/startup imports [2021-06-14T06:00:04.650Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports [2021-06-14T06:00:04.650Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common [2021-06-14T06:00:04.650Z] github.com/edgexfoundry/device-modbus-go/cmd imports [2021-06-14T06:00:04.650Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/startup imports [2021-06-14T06:00:04.650Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports [2021-06-14T06:00:04.650Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests [2021-06-14T06:00:04.650Z] github.com/edgexfoundry/device-modbus-go/cmd imports [2021-06-14T06:00:04.650Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/startup imports [2021-06-14T06:00:04.650Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports [2021-06-14T06:00:04.650Z] github.com/edgexfoundry/device-sdk-go/v2/internal/clients imports [2021-06-14T06:00:04.650Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http [2021-06-14T06:00:04.650Z] github.com/edgexfoundry/device-modbus-go/cmd imports [2021-06-14T06:00:04.650Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/startup imports [2021-06-14T06:00:04.650Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports [2021-06-14T06:00:04.650Z] github.com/edgexfoundry/device-sdk-go/v2/internal/clients imports [2021-06-14T06:00:04.650Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [2021-06-14T06:00:04.650Z] github.com/edgexfoundry/device-modbus-go/cmd imports [2021-06-14T06:00:04.650Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/startup imports [2021-06-14T06:00:04.650Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports [2021-06-14T06:00:04.651Z] github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http imports [2021-06-14T06:00:04.651Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses [2021-06-14T06:00:04.651Z] github.com/edgexfoundry/device-modbus-go/cmd imports [2021-06-14T06:00:04.651Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/startup imports [2021-06-14T06:00:04.651Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports [2021-06-14T06:00:04.651Z] github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent imports [2021-06-14T06:00:04.651Z] github.com/edgexfoundry/device-sdk-go/v2/internal/application tested by [2021-06-14T06:00:04.651Z] github.com/edgexfoundry/device-sdk-go/v2/internal/application.test imports [2021-06-14T06:00:04.651Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [Pipeline] } [2021-06-14T06:00:04.741Z] $ docker stop --time=1 a2d5e018e937b6f28a70349f56a899307cea62dd98f80159d8159ce226b43496 [2021-06-14T06:00:05.965Z] $ docker rm -f a2d5e018e937b6f28a70349f56a899307cea62dd98f80159d8159ce226b43496 [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 [2021-06-14T06:00:06.968Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1196 in /w/workspace/xfoundry_device-modbus-go_PR-261 [Pipeline] stage [Pipeline] { (Snap) [Pipeline] { Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] ws [2021-06-14T06:00:07.153Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] // stage Post stage [Pipeline] checkout [Pipeline] libraryResource [Pipeline] sh [2021-06-14T06:00:07.684Z] Selected Git installation does not exist. Using Default [2021-06-14T06:00:07.685Z] The recommended git tool is: NONE [2021-06-14T06:00:07.890Z] ---> job-cost.sh [2021-06-14T06:00:07.891Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-GyI6 [2021-06-14T06:00:12.984Z] using credential edgex-jenkins-ssh [2021-06-14T06:00:13.002Z] Cloning the remote Git repository [2021-06-14T06:00:13.051Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-06-14T06:00:13.163Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2021-06-14T06:00:13.238Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-06-14T06:00:13.239Z] > git --version # timeout=10 [2021-06-14T06:00:13.256Z] > git --version # 'git version 2.17.1' [2021-06-14T06:00:13.259Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-14T06:00:13.359Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-14T06:00:14.863Z] Merging remotes/origin/master commit b09d9ba1a72cafb6b38617a4d5eb8b9f0ac4b1bc into PR head commit 7ea6aec0cabaec0b05c2df5f79c0eed1120b6a2f [2021-06-14T06:00:15.055Z] Merge succeeded, producing 7ea6aec0cabaec0b05c2df5f79c0eed1120b6a2f [2021-06-14T06:00:15.056Z] Checking out Revision 7ea6aec0cabaec0b05c2df5f79c0eed1120b6a2f (PR-261) [2021-06-14T06:00:14.250Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-06-14T06:00:14.271Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-14T06:00:14.301Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-06-14T06:00:14.340Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-06-14T06:00:14.341Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-14T06:00:14.356Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/261/head:refs/remotes/origin/PR-261 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-14T06:00:14.878Z] > git config core.sparsecheckout # timeout=10 [2021-06-14T06:00:14.898Z] > git checkout -f 7ea6aec0cabaec0b05c2df5f79c0eed1120b6a2f # timeout=10 [2021-06-14T06:00:14.976Z] > git remote # timeout=10 [2021-06-14T06:00:14.992Z] > git config --get remote.origin.url # timeout=10 [2021-06-14T06:00:15.007Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-14T06:00:15.017Z] > git merge b09d9ba1a72cafb6b38617a4d5eb8b9f0ac4b1bc # timeout=10 [2021-06-14T06:00:15.039Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-14T06:00:15.058Z] > git config core.sparsecheckout # timeout=10 [2021-06-14T06:00:16.091Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-14T06:00:15.068Z] > git checkout -f 7ea6aec0cabaec0b05c2df5f79c0eed1120b6a2f # timeout=10 [2021-06-14T06:00:19.585Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-06-14T06:00:19.662Z] > git --version # timeout=10 [2021-06-14T06:00:19.674Z] > git --version # 'git version 2.17.1' [2021-06-14T06:00:19.689Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-14T06:00:20.052Z] [2021-06-14T06:00:20.052Z] GitHub has been notified of this commit’s build result [2021-06-14T06:00:20.052Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-14T06:00:21.522Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-14T06:00:22.007Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-14T06:00:22.374Z] + true [2021-06-14T06:00:22.374Z] + sudo service docker restart [2021-06-14T06:00:31.067Z] lf-activate-venv(): INFO: Adding /tmp/venv-GyI6/bin to PATH [2021-06-14T06:00:31.067Z] INFO: No Stack... [2021-06-14T06:00:31.067Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-14T06:00:31.067Z] INFO: Archiving Costs [Pipeline] sh [2021-06-14T06:00:31.390Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2021-06-14T06:00:31.390Z] + cut -d, -f6 [Pipeline] lock [2021-06-14T06:00:31.448Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-261-1-stack-cost] [2021-06-14T06:00:31.455Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-261-1-stack-cost] did not exist. Created. [2021-06-14T06:00:31.455Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-261-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-14T06:00:31.864Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-14T06:00:32.096Z] Stashed 1 file(s) [Pipeline] } [2021-06-14T06:00:32.117Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-261-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-14T06:00:32.789Z] Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-14T06:00:40.816Z] provisioning config files... [2021-06-14T06:00:40.850Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config6058706451177348120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-14T06:00:41.326Z] ---> docker-login.sh [2021-06-14T06:00:41.326Z] nexus3.edgexfoundry.org:10001 [2021-06-14T06:00:42.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-14T06:00:42.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-14T06:00:42.903Z] Configure a credential helper to remove this warning. See [2021-06-14T06:00:42.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-14T06:00:42.903Z] [2021-06-14T06:00:42.903Z] Login Succeeded [2021-06-14T06:00:42.903Z] nexus3.edgexfoundry.org:10002 [2021-06-14T06:00:43.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-14T06:00:44.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-14T06:00:44.102Z] Configure a credential helper to remove this warning. See [2021-06-14T06:00:44.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-14T06:00:44.102Z] [2021-06-14T06:00:44.102Z] Login Succeeded [2021-06-14T06:00:44.102Z] nexus3.edgexfoundry.org:10003 [2021-06-14T06:00:44.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-14T06:00:45.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-14T06:00:45.679Z] Configure a credential helper to remove this warning. See [2021-06-14T06:00:45.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-14T06:00:45.679Z] [2021-06-14T06:00:45.679Z] Login Succeeded [2021-06-14T06:00:45.679Z] nexus3.edgexfoundry.org:10004 [2021-06-14T06:00:46.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-14T06:00:47.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-14T06:00:47.981Z] Configure a credential helper to remove this warning. See [2021-06-14T06:00:47.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-14T06:00:47.981Z] [2021-06-14T06:00:47.981Z] Login Succeeded [2021-06-14T06:00:47.981Z] docker.io [2021-06-14T06:00:47.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-14T06:00:48.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-14T06:00:48.966Z] Configure a credential helper to remove this warning. See [2021-06-14T06:00:48.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-14T06:00:48.966Z] [2021-06-14T06:00:48.966Z] Login Succeeded [2021-06-14T06:00:48.966Z] ---> docker-login.sh ends [Pipeline] } [2021-06-14T06:00:49.009Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-14T06:00:49.974Z] ========================================================= [2021-06-14T06:00:49.974Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-14T06:00:49.974Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-14T06:00:50.434Z] + 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-06-14T06:00:51.045Z] Sending build context to Docker daemon 635.4kB [2021-06-14T06:00:51.045Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-14T06:00:51.045Z] Step 2/8 : FROM ${BASE} [2021-06-14T06:00:52.482Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-14T06:00:52.482Z] 595b0fe564bb: Pulling fs layer [2021-06-14T06:00:52.482Z] 3088b5b3c5c0: Pulling fs layer [2021-06-14T06:00:52.482Z] 5b7225fbf94c: Pulling fs layer [2021-06-14T06:00:52.482Z] ba82ee9f976e: Pulling fs layer [2021-06-14T06:00:52.482Z] 506bd15cee9f: Pulling fs layer [2021-06-14T06:00:52.482Z] 75a0a4a0db45: Pulling fs layer [2021-06-14T06:00:52.482Z] 618dc40b7e24: Pulling fs layer [2021-06-14T06:00:52.482Z] ba82ee9f976e: Waiting [2021-06-14T06:00:52.482Z] 75a0a4a0db45: Waiting [2021-06-14T06:00:52.482Z] 618dc40b7e24: Waiting [2021-06-14T06:00:52.482Z] 506bd15cee9f: Waiting [2021-06-14T06:00:52.482Z] 5b7225fbf94c: Verifying Checksum [2021-06-14T06:00:52.482Z] 5b7225fbf94c: Download complete [2021-06-14T06:00:52.482Z] 3088b5b3c5c0: Verifying Checksum [2021-06-14T06:00:52.482Z] 3088b5b3c5c0: Download complete [2021-06-14T06:00:52.482Z] 506bd15cee9f: Verifying Checksum [2021-06-14T06:00:52.482Z] 506bd15cee9f: Download complete [2021-06-14T06:00:52.482Z] 75a0a4a0db45: Verifying Checksum [2021-06-14T06:00:52.482Z] 75a0a4a0db45: Download complete [2021-06-14T06:00:52.482Z] 595b0fe564bb: Verifying Checksum [2021-06-14T06:00:52.482Z] 595b0fe564bb: Download complete [2021-06-14T06:00:53.466Z] 595b0fe564bb: Pull complete [2021-06-14T06:00:53.743Z] 3088b5b3c5c0: Pull complete [2021-06-14T06:00:54.352Z] 5b7225fbf94c: Pull complete [2021-06-14T06:00:56.985Z] 618dc40b7e24: Verifying Checksum [2021-06-14T06:00:56.985Z] 618dc40b7e24: Download complete [2021-06-14T06:00:58.972Z] ba82ee9f976e: Download complete [2021-06-14T06:01:09.124Z] ba82ee9f976e: Pull complete [2021-06-14T06:01:09.124Z] 506bd15cee9f: Pull complete [2021-06-14T06:01:09.124Z] 75a0a4a0db45: Pull complete [2021-06-14T06:01:12.509Z] 618dc40b7e24: Pull complete [2021-06-14T06:01:12.509Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-14T06:01:12.509Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-14T06:01:12.509Z] ---> a36622ca3599 [2021-06-14T06:01:12.509Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-14T06:01:15.175Z] ---> Running in 8e2777811521 [2021-06-14T06:01:15.448Z] Removing intermediate container 8e2777811521 [2021-06-14T06:01:15.448Z] ---> 8693f55d2e48 [2021-06-14T06:01:15.448Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-14T06:01:15.717Z] ---> Running in a8e8f68153ce [2021-06-14T06:01:17.718Z] Removing intermediate container a8e8f68153ce [2021-06-14T06:01:17.718Z] ---> 4df53822b997 [2021-06-14T06:01:17.718Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-14T06:01:17.994Z] ---> Running in 8a2d0401c5ed [2021-06-14T06:01:19.424Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-14T06:01:20.019Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-14T06:01:20.626Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-14T06:01:20.905Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-14T06:01:20.905Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-14T06:01:20.905Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-14T06:01:21.180Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-14T06:01:21.180Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-14T06:01:21.458Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-14T06:01:21.733Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-14T06:01:21.733Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-14T06:01:21.733Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-14T06:01:22.008Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-14T06:01:22.008Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-14T06:01:22.008Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-14T06:01:22.285Z] Executing busybox-1.32.1-r6.trigger [2021-06-14T06:01:22.285Z] OK: 145 MiB in 53 packages [2021-06-14T06:01:23.733Z] Removing intermediate container 8a2d0401c5ed [2021-06-14T06:01:23.733Z] ---> 7dc228f1a5c3 [2021-06-14T06:01:23.733Z] Step 6/8 : WORKDIR /device-modbus-go [2021-06-14T06:01:24.005Z] ---> Running in 789000a84f27 [2021-06-14T06:01:24.604Z] Removing intermediate container 789000a84f27 [2021-06-14T06:01:24.604Z] ---> b3ba2ae72567 [2021-06-14T06:01:24.604Z] Step 7/8 : COPY . . [2021-06-14T06:01:25.580Z] ---> c4ea60a9bc1b [2021-06-14T06:01:25.580Z] Step 8/8 : RUN go mod download [2021-06-14T06:01:25.580Z] ---> Running in d87087a15240 [2021-06-14T06:01:52.375Z] Removing intermediate container d87087a15240 [2021-06-14T06:01:52.375Z] ---> 5d5d51089175 [2021-06-14T06:01:52.375Z] Successfully built 5d5d51089175 [2021-06-14T06:01:52.375Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-14T06:01:52.759Z] + docker inspect -f . ci-base-image-arm64 [2021-06-14T06:01:52.759Z] . [Pipeline] withDockerContainer [2021-06-14T06:01:53.035Z] prd-ubuntu18.04-docker-arm64-4c-16g-1196 does not seem to be running inside a container [2021-06-14T06:01:53.124Z] $ 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-06-14T06:01:54.899Z] $ docker top 154edbc946eaa451b9e734f40eb4679ea4382578be863cd3ddc39ad4144f8cbc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-14T06:01:55.959Z] + go version [2021-06-14T06:01:55.959Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-14T06:01:55.996Z] $ docker stop --time=1 154edbc946eaa451b9e734f40eb4679ea4382578be863cd3ddc39ad4144f8cbc [2021-06-14T06:01:57.888Z] $ docker rm -f 154edbc946eaa451b9e734f40eb4679ea4382578be863cd3ddc39ad4144f8cbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-14T06:01:58.925Z] + docker inspect -f . ci-base-image-arm64 [2021-06-14T06:01:58.925Z] . [Pipeline] withDockerContainer [2021-06-14T06:01:59.231Z] prd-ubuntu18.04-docker-arm64-4c-16g-1196 does not seem to be running inside a container [2021-06-14T06:01:59.322Z] $ 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-06-14T06:02:01.052Z] $ docker top d9bc099682e58d8cd0993f2fe66194a9e53c033c7deeb14ac7e5b8403b5d227d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-14T06:02:02.109Z] + go mod tidy [2021-06-14T06:02:02.708Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [2021-06-14T06:02:02.708Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common [2021-06-14T06:02:02.708Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [2021-06-14T06:02:02.708Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [2021-06-14T06:02:02.983Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-06-14T06:02:03.278Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests [2021-06-14T06:02:03.278Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http [2021-06-14T06:02:03.278Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [2021-06-14T06:02:03.278Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses [2021-06-14T06:02:03.278Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/device-modbus-go/internal/driver imports [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/device-modbus-go/internal/driver imports [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/device-modbus-go/cmd imports [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/startup imports [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/device-modbus-go/cmd imports [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/startup imports [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/device-modbus-go/cmd imports [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/startup imports [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/device-modbus-go/cmd imports [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/startup imports [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/device-sdk-go/v2/internal/clients imports [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/device-modbus-go/cmd imports [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/startup imports [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/device-sdk-go/v2/internal/clients imports [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/device-modbus-go/cmd imports [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/startup imports [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http imports [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/device-modbus-go/cmd imports [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/startup imports [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent imports [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/device-sdk-go/v2/internal/application tested by [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/device-sdk-go/v2/internal/application.test imports [2021-06-14T06:02:03.278Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [Pipeline] } [2021-06-14T06:02:03.339Z] $ docker stop --time=1 d9bc099682e58d8cd0993f2fe66194a9e53c033c7deeb14ac7e5b8403b5d227d [2021-06-14T06:02:05.160Z] $ docker rm -f d9bc099682e58d8cd0993f2fe66194a9e53c033c7deeb14ac7e5b8403b5d227d [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-06-14T06:02:06.612Z] ---> job-cost.sh [2021-06-14T06:02:06.612Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-y1IG [2021-06-14T06:02:53.558Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-14T06:04:30.315Z] lf-activate-venv(): INFO: Adding /tmp/venv-y1IG/bin to PATH [2021-06-14T06:04:30.315Z] INFO: No Stack... [2021-06-14T06:04:30.315Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-14T06:04:30.315Z] INFO: Archiving Costs [Pipeline] sh [2021-06-14T06:04:30.677Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2021-06-14T06:04:30.677Z] + cut -d, -f6 [Pipeline] lock [2021-06-14T06:04:30.771Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-261-1-stack-cost] [2021-06-14T06:04:30.779Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-261-1-stack-cost] did not exist. Created. [2021-06-14T06:04:30.779Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-261-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-14T06:04:31.250Z] /w/workspace/device-modbus-go/1@tmp/durable-b9cd397b/script.sh: 1: /w/workspace/device-modbus-go/1@tmp/durable-b9cd397b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-14T06:04:31.714Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-14T06:04:31.781Z] Warning: overwriting stash ‘stack-cost’ [2021-06-14T06:04:32.651Z] Stashed 1 file(s) [Pipeline] } [2021-06-14T06:04:32.682Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-261-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-14T06:04:33.358Z] 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-06-14T06:04:36.867Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-14T06:04:37.221Z] ---> package-listing.sh [2021-06-14T06:04:37.221Z] ++ facter osfamily [2021-06-14T06:04:37.221Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-14T06:04:37.500Z] + OS_FAMILY=redhat [2021-06-14T06:04:37.500Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-261 [2021-06-14T06:04:37.500Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-14T06:04:37.500Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-14T06:04:37.500Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-14T06:04:37.500Z] + PACKAGES=/tmp/packages_start.txt [2021-06-14T06:04:37.500Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-261 ']' [2021-06-14T06:04:37.500Z] + PACKAGES=/tmp/packages_end.txt [2021-06-14T06:04:37.500Z] + case "${OS_FAMILY}" in [2021-06-14T06:04:37.500Z] + rpm -qa [2021-06-14T06:04:37.500Z] + sort [2021-06-14T06:04:38.441Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-14T06:04:38.441Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-14T06:04:38.441Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-14T06:04:38.441Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-261 ']' [2021-06-14T06:04:38.441Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-261/archives/ [2021-06-14T06:04:38.441Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-261/archives/ [Pipeline] echo [2021-06-14T06:04:38.475Z] 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-261/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-14T06:04:38.790Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-14T06:04:39.419Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-14T06:04:39.419Z] [2021-06-14T06:04:39.419Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-14T06:04:39.791Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-14T06:04:39.791Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-14T06:04:39.791Z] df20fa9351a1: Pulling fs layer [2021-06-14T06:04:39.791Z] 36b3adc4ff6f: Pulling fs layer [2021-06-14T06:04:39.791Z] 8ad3a11d3b57: Pulling fs layer [2021-06-14T06:04:39.791Z] 46f8f816bc3b: Pulling fs layer [2021-06-14T06:04:39.791Z] 93b61091891f: Pulling fs layer [2021-06-14T06:04:39.791Z] 93b9cdb0e59b: Pulling fs layer [2021-06-14T06:04:39.791Z] 5e14af77c1be: Pulling fs layer [2021-06-14T06:04:39.791Z] 01666e4c0597: Pulling fs layer [2021-06-14T06:04:39.791Z] aa168da1d23b: Pulling fs layer [2021-06-14T06:04:39.791Z] 93b9cdb0e59b: Waiting [2021-06-14T06:04:39.791Z] 5e14af77c1be: Waiting [2021-06-14T06:04:39.791Z] 01666e4c0597: Waiting [2021-06-14T06:04:39.791Z] aa168da1d23b: Waiting [2021-06-14T06:04:39.791Z] 46f8f816bc3b: Waiting [2021-06-14T06:04:39.791Z] 93b61091891f: Waiting [2021-06-14T06:04:39.791Z] 36b3adc4ff6f: Verifying Checksum [2021-06-14T06:04:39.791Z] 36b3adc4ff6f: Download complete [2021-06-14T06:04:39.791Z] 46f8f816bc3b: Verifying Checksum [2021-06-14T06:04:39.791Z] 46f8f816bc3b: Download complete [2021-06-14T06:04:40.055Z] df20fa9351a1: Verifying Checksum [2021-06-14T06:04:40.055Z] df20fa9351a1: Download complete [2021-06-14T06:04:40.055Z] 93b9cdb0e59b: Verifying Checksum [2021-06-14T06:04:40.055Z] 93b9cdb0e59b: Download complete [2021-06-14T06:04:40.055Z] 5e14af77c1be: Verifying Checksum [2021-06-14T06:04:40.055Z] 5e14af77c1be: Download complete [2021-06-14T06:04:40.055Z] 93b61091891f: Download complete [2021-06-14T06:04:40.055Z] 01666e4c0597: Verifying Checksum [2021-06-14T06:04:40.055Z] 01666e4c0597: Download complete [2021-06-14T06:04:40.055Z] 8ad3a11d3b57: Verifying Checksum [2021-06-14T06:04:40.055Z] 8ad3a11d3b57: Download complete [2021-06-14T06:04:40.055Z] df20fa9351a1: Pull complete [2021-06-14T06:04:40.315Z] 36b3adc4ff6f: Pull complete [2021-06-14T06:04:40.897Z] 8ad3a11d3b57: Pull complete [2021-06-14T06:04:40.897Z] 46f8f816bc3b: Pull complete [2021-06-14T06:04:41.158Z] 93b61091891f: Pull complete [2021-06-14T06:04:41.423Z] 93b9cdb0e59b: Pull complete [2021-06-14T06:04:41.423Z] 5e14af77c1be: Pull complete [2021-06-14T06:04:41.423Z] 01666e4c0597: Pull complete [2021-06-14T06:04:42.814Z] aa168da1d23b: Verifying Checksum [2021-06-14T06:04:42.814Z] aa168da1d23b: Download complete [2021-06-14T06:04:47.051Z] aa168da1d23b: Pull complete [2021-06-14T06:04:47.051Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-14T06:04:47.051Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-14T06:04:47.051Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-14T06:04:47.155Z] prd-centos7-docker-4c-2g-788 does not seem to be running inside a container [2021-06-14T06:04:47.195Z] $ 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-261/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-261 -v /w/workspace/xfoundry_device-modbus-go_PR-261:/w/workspace/xfoundry_device-modbus-go_PR-261:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-261@tmp:/w/workspace/xfoundry_device-modbus-go_PR-261@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-14T06:04:49.870Z] $ docker top c27dafbd7f8904c9d4cb4e40e26834e992b61f110c172e540f15f581e2005f20 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-14T06:04:50.312Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-14T06:04:50.636Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-14T06:04:50.967Z] + ls /var/log/sa-host [2021-06-14T06:04:50.967Z] + sadf -c /var/log/sa-host/sa05 [2021-06-14T06:04:50.967Z] file_magic: OK [2021-06-14T06:04:50.967Z] HZ: Using current value: 100 [2021-06-14T06:04:50.967Z] file_header: OK [2021-06-14T06:04:50.967Z] 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-06-14T06:04:50.967Z] Statistics: [2021-06-14T06:04:50.967Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-14T06:04:50.967Z] File successfully converted to sysstat format version 12.2.1 [2021-06-14T06:04:50.967Z] + sadf -c /var/log/sa-host/sa14 [2021-06-14T06:04:50.967Z] file_magic: OK [2021-06-14T06:04:50.967Z] HZ: Using current value: 100 [2021-06-14T06:04:50.967Z] file_header: OK [2021-06-14T06:04:50.967Z] 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-06-14T06:04:50.967Z] Statistics: [2021-06-14T06:04:50.967Z] 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... [2021-06-14T06:04:50.967Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-14T06:04:51.234Z] provisioning config files... [2021-06-14T06:04:51.247Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-261@tmp/config820234329203162524tmp [Pipeline] { [Pipeline] echo [2021-06-14T06:04:51.338Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-14T06:04:51.753Z] ---> create-netrc.sh [Pipeline] } [2021-06-14T06:04:51.777Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-14T06:04:52.242Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-14T06:04:52.278Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-14T06:04:52.619Z] ---> sudo-logs.sh [2021-06-14T06:04:52.619Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-14T06:04:52.721Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-14T06:04:53.092Z] ---> job-cost.sh [2021-06-14T06:04:53.092Z] lf-activate-venv: SKIPPING [2021-06-14T06:04:53.092Z] DEBUG: total: 0.18000000715255737 [2021-06-14T06:04:53.092Z] INFO: Retrieving Stack Cost... [2021-06-14T06:04:54.042Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-14T06:04:54.613Z] INFO: Archiving Costs [Pipeline] echo [2021-06-14T06:04:54.657Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-14T06:04:54.994Z] ---> logs-deploy.sh [2021-06-14T06:04:54.994Z] lf-activate-venv: SKIPPING [2021-06-14T06:04:54.994Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-261/1 [2021-06-14T06:04:54.994Z] INFO: archiving workspace using pattern(s): [2021-06-14T06:04:55.947Z] Archives upload complete. [2021-06-14T06:04:55.947Z] INFO: archiving logs to Nexus