Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c0fea384d14ce91369cd6ac3614cfd01ba9409e9 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh5341989813348698353.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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-ssh8414889987981421897.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 f4a1163c6b2b14014f487cca778b157dcbc6cc6b The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/master/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6989501034133472374.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f4a1163c6b2b14014f487cca778b157dcbc6cc6b # timeout=10 Commit message: "Merge pull request #339 from ernestojeda/disable-snaps-temp" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh1647564281619952348.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/master/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8107591512218032529.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1422 in /w/workspace/xfoundry_device-modbus-go_master [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_master # 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_master@tmp/jenkins-gitclient-ssh8611676081734284313.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision c0fea384d14ce91369cd6ac3614cfd01ba9409e9 (master) > 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 core.sparsecheckout # timeout=10 > git checkout -f c0fea384d14ce91369cd6ac3614cfd01ba9409e9 # timeout=10 Commit message: "Merge pull request #263 from hahattan/sdk-issue-967" > git rev-list --no-walk b09d9ba1a72cafb6b38617a4d5eb8b9f0ac4b1bc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-15T05:06:09.084Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-15T05:06:09.169Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-15T05:06:09.199Z] ========================================================= [2021-06-15T05:06:09.199Z] EdgeX Global Pipelines Version Info [2021-06-15T05:06:09.199Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-15T05:06:10.662Z] ------------------- [2021-06-15T05:06:10.662Z] stable info: [2021-06-15T05:06:10.662Z] ------------------- [2021-06-15T05:06:10.662Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-15T05:06:10.662Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-15T05:06:10.662Z] Message: update stable to v1.0.194 [2021-06-15T05:06:11.237Z] ------------------- [2021-06-15T05:06:11.237Z] experimental info: [2021-06-15T05:06:11.237Z] ------------------- [2021-06-15T05:06:11.238Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-15T05:06:11.238Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-15T05:06:11.238Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-15T05:06:11.367Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-06-15T05:06:11.391Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-06-15T05:06:11.414Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-15T05:06:11.438Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-15T05:06:11.460Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-15T05:06:11.483Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-15T05:06:11.507Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-15T05:06:11.532Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-15T05:06:11.558Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-15T05:06:11.582Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-15T05:06:11.607Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-15T05:06:11.632Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2021-06-15T05:06:11.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-15T05:06:11.683Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-15T05:06:11.707Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-15T05:06:11.732Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-15T05:06:11.756Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-15T05:06:11.788Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-15T05:06:11.814Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-15T05:06:11.839Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-06-15T05:06:11.863Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-15T05:06:11.888Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-15T05:06:11.915Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-15T05:06:11.941Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-15T05:06:11.965Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-15T05:06:11.990Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-15T05:06:12.015Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-06-15T05:06:12.039Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-06-15T05:06:12.063Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-06-15T05:06:12.088Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c0fea384d14ce91369cd6ac3614cfd01ba9409e9 [Pipeline] echo [2021-06-15T05:06:12.112Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c0fea38 [Pipeline] echo [2021-06-15T05:06:12.135Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-15T05:06:12.212Z] provisioning config files... [2021-06-15T05:06:12.229Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config5107245778181998994tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-15T05:06:12.550Z] ---> docker-login.sh [2021-06-15T05:06:12.550Z] nexus3.edgexfoundry.org:10001 [2021-06-15T05:06:12.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:06:12.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:06:12.814Z] Configure a credential helper to remove this warning. See [2021-06-15T05:06:12.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:06:12.814Z] [2021-06-15T05:06:12.814Z] Login Succeeded [2021-06-15T05:06:12.814Z] nexus3.edgexfoundry.org:10002 [2021-06-15T05:06:12.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:06:13.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:06:13.076Z] Configure a credential helper to remove this warning. See [2021-06-15T05:06:13.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:06:13.076Z] [2021-06-15T05:06:13.076Z] Login Succeeded [2021-06-15T05:06:13.076Z] nexus3.edgexfoundry.org:10003 [2021-06-15T05:06:13.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:06:13.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:06:13.076Z] Configure a credential helper to remove this warning. See [2021-06-15T05:06:13.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:06:13.076Z] [2021-06-15T05:06:13.076Z] Login Succeeded [2021-06-15T05:06:13.076Z] nexus3.edgexfoundry.org:10004 [2021-06-15T05:06:13.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:06:13.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:06:13.337Z] Configure a credential helper to remove this warning. See [2021-06-15T05:06:13.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:06:13.337Z] [2021-06-15T05:06:13.337Z] Login Succeeded [2021-06-15T05:06:13.337Z] docker.io [2021-06-15T05:06:13.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:06:13.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:06:13.599Z] Configure a credential helper to remove this warning. See [2021-06-15T05:06:13.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:06:13.599Z] [2021-06-15T05:06:13.599Z] Login Succeeded [2021-06-15T05:06:13.599Z] ---> docker-login.sh ends [Pipeline] } [2021-06-15T05:06:13.609Z] 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-15T05:06:14.112Z] + git log --format=format:%s -1 c0fea384d14ce91369cd6ac3614cfd01ba9409e9 [Pipeline] echo [2021-06-15T05:06:14.156Z] GIT_COMMIT: c0fea384d14ce91369cd6ac3614cfd01ba9409e9, Commit Message: Merge pull request #263 from hahattan/sdk-issue-967 [Pipeline] echo [2021-06-15T05:06:14.170Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:06:14.732Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-15T05:06:14.732Z] [2021-06-15T05:06:14.732Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:06:15.047Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-15T05:06:15.047Z] latest: Pulling from edgex-devops/git-semver [2021-06-15T05:06:15.047Z] 31603596830f: Pulling fs layer [2021-06-15T05:06:15.047Z] 54011a49482f: Pulling fs layer [2021-06-15T05:06:15.047Z] a6820b24f6d8: Pulling fs layer [2021-06-15T05:06:15.047Z] f581987b2513: Pulling fs layer [2021-06-15T05:06:15.047Z] f581987b2513: Waiting [2021-06-15T05:06:15.047Z] 54011a49482f: Verifying Checksum [2021-06-15T05:06:15.047Z] 54011a49482f: Download complete [2021-06-15T05:06:15.315Z] 31603596830f: Verifying Checksum [2021-06-15T05:06:15.315Z] 31603596830f: Download complete [2021-06-15T05:06:15.315Z] f581987b2513: Verifying Checksum [2021-06-15T05:06:15.315Z] f581987b2513: Download complete [2021-06-15T05:06:15.315Z] a6820b24f6d8: Verifying Checksum [2021-06-15T05:06:15.315Z] a6820b24f6d8: Download complete [2021-06-15T05:06:15.315Z] 31603596830f: Pull complete [2021-06-15T05:06:15.583Z] 54011a49482f: Pull complete [2021-06-15T05:06:16.154Z] a6820b24f6d8: Pull complete [2021-06-15T05:06:16.154Z] f581987b2513: Pull complete [2021-06-15T05:06:16.418Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-15T05:06:16.418Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-15T05:06:16.418Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-15T05:06:16.537Z] prd-centos7-docker-4c-2g-1422 does not seem to be running inside a container [2021-06-15T05:06:16.604Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-15T05:06:17.620Z] $ docker top 4aaf323c159f3cfd56cbd843935d9da4c3458eb75022fe63f3e97f4e3e7c0c43 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-15T05:06:17.744Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-15T05:06:17.744Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-15T05:06:17.855Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-15T05:06:17.859Z] $ docker exec 4aaf323c159f3cfd56cbd843935d9da4c3458eb75022fe63f3e97f4e3e7c0c43 ssh-agent [2021-06-15T05:06:17.956Z] SSH_AUTH_SOCK=/tmp/ssh-E8IOeUN4Oodc/agent.15 [2021-06-15T05:06:17.956Z] SSH_AGENT_PID=21 [2021-06-15T05:06:17.964Z] Running ssh-add (command line suppressed) [2021-06-15T05:06:18.068Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_1527459880835102996.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_1527459880835102996.key) [2021-06-15T05:06:18.081Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-15T05:06:18.383Z] + git tag --points-at HEAD [Pipeline] } [2021-06-15T05:06:18.399Z] $ docker exec --env ******** --env ******** 4aaf323c159f3cfd56cbd843935d9da4c3458eb75022fe63f3e97f4e3e7c0c43 ssh-agent -k [2021-06-15T05:06:18.487Z] unset SSH_AUTH_SOCK; [2021-06-15T05:06:18.488Z] unset SSH_AGENT_PID; [2021-06-15T05:06:18.488Z] echo Agent pid 21 killed; [2021-06-15T05:06:18.499Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-15T05:06:18.551Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-15T05:06:18.551Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-15T05:06:18.657Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-15T05:06:18.661Z] $ docker exec 4aaf323c159f3cfd56cbd843935d9da4c3458eb75022fe63f3e97f4e3e7c0c43 ssh-agent [2021-06-15T05:06:18.758Z] SSH_AUTH_SOCK=/tmp/ssh-NO5o8NkjsCsw/agent.54 [2021-06-15T05:06:18.758Z] SSH_AGENT_PID=61 [2021-06-15T05:06:18.764Z] Running ssh-add (command line suppressed) [2021-06-15T05:06:18.871Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_2036510224680263108.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_2036510224680263108.key) [2021-06-15T05:06:18.888Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-15T05:06:19.192Z] + git semver init [2021-06-15T05:06:19.192Z] # -> Open(): unable to determine branch for HEAD [2021-06-15T05:06:19.192Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-06-15T05:06:19.192Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-06-15T05:06:19.192Z] # $SEMVER_REMOTE_NAME = origin [2021-06-15T05:06:19.192Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-15T05:06:19.192Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-15T05:06:19.192Z] # $SEMVER_BRANCH = master [2021-06-15T05:06:19.192Z] # $SEMVER_TEMP = /tmp/semver-294851518 [2021-06-15T05:06:19.192Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-06-15T05:06:19.455Z] # '/tmp/semver-294851518' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' [2021-06-15T05:06:19.455Z] # -> Force: false [2021-06-15T05:06:19.455Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-06-15T05:06:19.469Z] $ docker exec --env ******** --env ******** 4aaf323c159f3cfd56cbd843935d9da4c3458eb75022fe63f3e97f4e3e7c0c43 ssh-agent -k [2021-06-15T05:06:19.568Z] unset SSH_AUTH_SOCK; [2021-06-15T05:06:19.568Z] unset SSH_AGENT_PID; [2021-06-15T05:06:19.568Z] echo Agent pid 61 killed; [2021-06-15T05:06:19.578Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-15T05:06:19.921Z] + git semver [Pipeline] } [2021-06-15T05:06:19.937Z] $ docker stop --time=1 4aaf323c159f3cfd56cbd843935d9da4c3458eb75022fe63f3e97f4e3e7c0c43 [2021-06-15T05:06:21.187Z] $ docker rm -f 4aaf323c159f3cfd56cbd843935d9da4c3458eb75022fe63f3e97f4e3e7c0c43 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-15T05:06:21.544Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-15T05:06:21.802Z] Stashed 1 file(s) [Pipeline] echo [2021-06-15T05:06:21.806Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.17 [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-15T05:06:37.046Z] Still waiting to schedule task [2021-06-15T05:06:37.046Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-15T05:06:37.049Z] Still waiting to schedule task [2021-06-15T05:06:37.049Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1418’ [2021-06-15T05:08:25.115Z] Running on prd-centos7-docker-4c-2g-1424 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-06-15T05:08:25.135Z] Running in /w/workspace/device-modbus-go/56 [Pipeline] { [Pipeline] checkout [2021-06-15T05:08:25.252Z] Selected Git installation does not exist. Using Default [2021-06-15T05:08:25.252Z] The recommended git tool is: NONE [2021-06-15T05:08:27.508Z] using credential edgex-jenkins-ssh [2021-06-15T05:08:27.521Z] Cloning the remote Git repository [2021-06-15T05:08:28.312Z] Avoid second fetch [2021-06-15T05:08:28.312Z] Checking out Revision c0fea384d14ce91369cd6ac3614cfd01ba9409e9 (master) [2021-06-15T05:08:27.048Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-06-15T05:08:27.163Z] > git init /w/workspace/device-modbus-go/56 # timeout=10 [2021-06-15T05:08:27.207Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-06-15T05:08:27.208Z] > git --version # timeout=10 [2021-06-15T05:08:27.219Z] > git --version # 'git version 2.24.4' [2021-06-15T05:08:27.220Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-15T05:08:27.247Z] [INFO] Currently running in a labeled security context [2021-06-15T05:08:27.247Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-15T05:08:27.248Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/56@tmp/jenkins-gitclient-ssh8924390608795753414.key [2021-06-15T05:08:27.270Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-15T05:08:27.837Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-06-15T05:08:27.843Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-15T05:08:27.866Z] > git config core.sparsecheckout # timeout=10 [2021-06-15T05:08:27.876Z] > git checkout -f c0fea384d14ce91369cd6ac3614cfd01ba9409e9 # timeout=10 [2021-06-15T05:08:31.679Z] Commit message: "Merge pull request #263 from hahattan/sdk-issue-967" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-15T05:08:32.736Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-15T05:08:33.063Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-15T05:08:33.366Z] + sudo service docker restart [2021-06-15T05:08:33.366Z] + true [2021-06-15T05:08:33.366Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-15T05:08:51.550Z] provisioning config files... [2021-06-15T05:08:51.564Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/56@tmp/config1787165588152733199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-15T05:08:51.904Z] ---> docker-login.sh [2021-06-15T05:08:51.904Z] nexus3.edgexfoundry.org:10001 [2021-06-15T05:08:52.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:08:52.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:08:52.480Z] Configure a credential helper to remove this warning. See [2021-06-15T05:08:52.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:08:52.480Z] [2021-06-15T05:08:52.480Z] Login Succeeded [2021-06-15T05:08:52.480Z] nexus3.edgexfoundry.org:10002 [2021-06-15T05:08:52.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:08:52.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:08:52.744Z] Configure a credential helper to remove this warning. See [2021-06-15T05:08:52.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:08:52.744Z] [2021-06-15T05:08:52.744Z] Login Succeeded [2021-06-15T05:08:52.744Z] nexus3.edgexfoundry.org:10003 [2021-06-15T05:08:52.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:08:53.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:08:53.005Z] Configure a credential helper to remove this warning. See [2021-06-15T05:08:53.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:08:53.005Z] [2021-06-15T05:08:53.005Z] Login Succeeded [2021-06-15T05:08:53.005Z] nexus3.edgexfoundry.org:10004 [2021-06-15T05:08:53.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:08:53.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:08:53.005Z] Configure a credential helper to remove this warning. See [2021-06-15T05:08:53.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:08:53.005Z] [2021-06-15T05:08:53.005Z] Login Succeeded [2021-06-15T05:08:53.005Z] docker.io [2021-06-15T05:08:53.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:08:53.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:08:53.537Z] Configure a credential helper to remove this warning. See [2021-06-15T05:08:53.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:08:53.537Z] [2021-06-15T05:08:53.537Z] Login Succeeded [2021-06-15T05:08:53.537Z] ---> docker-login.sh ends [Pipeline] } [2021-06-15T05:08:53.548Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-15T05:08:53.738Z] ========================================================= [2021-06-15T05:08:53.738Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-15T05:08:53.738Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:08:54.065Z] + 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-15T05:08:54.065Z] Sending build context to Docker daemon 637.4kB [2021-06-15T05:08:54.065Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-15T05:08:54.065Z] Step 2/8 : FROM ${BASE} [2021-06-15T05:08:54.065Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-15T05:08:54.065Z] 540db60ca938: Pulling fs layer [2021-06-15T05:08:54.065Z] adcc1eea9eea: Pulling fs layer [2021-06-15T05:08:54.065Z] 4c4ab2625f07: Pulling fs layer [2021-06-15T05:08:54.065Z] 0510c868ecb4: Pulling fs layer [2021-06-15T05:08:54.065Z] afea3b2eda06: Pulling fs layer [2021-06-15T05:08:54.065Z] 7809a108b3ef: Pulling fs layer [2021-06-15T05:08:54.065Z] f706445af74f: Pulling fs layer [2021-06-15T05:08:54.065Z] 0510c868ecb4: Waiting [2021-06-15T05:08:54.065Z] afea3b2eda06: Waiting [2021-06-15T05:08:54.065Z] 7809a108b3ef: Waiting [2021-06-15T05:08:54.065Z] f706445af74f: Waiting [2021-06-15T05:08:54.344Z] 4c4ab2625f07: Download complete [2021-06-15T05:08:54.344Z] adcc1eea9eea: Verifying Checksum [2021-06-15T05:08:54.344Z] adcc1eea9eea: Download complete [2021-06-15T05:08:54.344Z] afea3b2eda06: Verifying Checksum [2021-06-15T05:08:54.344Z] afea3b2eda06: Download complete [2021-06-15T05:08:54.344Z] 540db60ca938: Verifying Checksum [2021-06-15T05:08:54.344Z] 540db60ca938: Download complete [2021-06-15T05:08:54.344Z] 7809a108b3ef: Verifying Checksum [2021-06-15T05:08:54.344Z] 7809a108b3ef: Download complete [2021-06-15T05:08:54.607Z] 540db60ca938: Pull complete [2021-06-15T05:08:54.607Z] adcc1eea9eea: Pull complete [2021-06-15T05:08:54.870Z] 4c4ab2625f07: Pull complete [2021-06-15T05:08:55.817Z] f706445af74f: Verifying Checksum [2021-06-15T05:08:55.817Z] f706445af74f: Download complete [2021-06-15T05:08:56.765Z] 0510c868ecb4: Download complete [2021-06-15T05:09:01.019Z] 0510c868ecb4: Pull complete [2021-06-15T05:09:01.019Z] afea3b2eda06: Pull complete [2021-06-15T05:09:01.019Z] 7809a108b3ef: Pull complete [2021-06-15T05:09:01.993Z] f706445af74f: Pull complete [2021-06-15T05:09:02.260Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-15T05:09:02.260Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-15T05:09:02.260Z] ---> b068be0155e3 [2021-06-15T05:09:02.260Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-15T05:09:07.570Z] ---> Running in 53dcc773b9b5 [2021-06-15T05:09:07.570Z] Removing intermediate container 53dcc773b9b5 [2021-06-15T05:09:07.570Z] ---> e2286b75d3a1 [2021-06-15T05:09:07.570Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-15T05:09:07.570Z] ---> Running in f6c85d200beb [2021-06-15T05:09:07.842Z] Removing intermediate container f6c85d200beb [2021-06-15T05:09:07.842Z] ---> 7450dfdde80e [2021-06-15T05:09:07.842Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-15T05:09:07.842Z] ---> Running in 73b3301e932e [2021-06-15T05:09:08.106Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-15T05:09:09.054Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-15T05:09:09.628Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-15T05:09:09.889Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-15T05:09:09.889Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-15T05:09:10.152Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-15T05:09:10.152Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-15T05:09:10.152Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-15T05:09:10.415Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-15T05:09:10.677Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-15T05:09:10.677Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-15T05:09:10.677Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-15T05:09:10.942Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-15T05:09:10.942Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-15T05:09:10.942Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-15T05:09:11.207Z] Executing busybox-1.32.1-r6.trigger [2021-06-15T05:09:11.207Z] OK: 156 MiB in 53 packages [2021-06-15T05:09:11.784Z] Removing intermediate container 73b3301e932e [2021-06-15T05:09:11.784Z] ---> 88214387f0f9 [2021-06-15T05:09:11.784Z] Step 6/8 : WORKDIR /device-modbus-go [2021-06-15T05:09:11.784Z] ---> Running in 2b674bd4b5c1 [2021-06-15T05:09:11.784Z] Removing intermediate container 2b674bd4b5c1 [2021-06-15T05:09:11.784Z] ---> a0ba28755bd5 [2021-06-15T05:09:11.784Z] Step 7/8 : COPY . . [2021-06-15T05:09:12.045Z] ---> e6f8424cf475 [2021-06-15T05:09:12.045Z] Step 8/8 : RUN go mod download [2021-06-15T05:09:12.306Z] ---> Running in fe5e2c808d46 [2021-06-15T05:09:27.317Z] Removing intermediate container fe5e2c808d46 [2021-06-15T05:09:27.317Z] ---> fbe5f59f909c [2021-06-15T05:09:27.317Z] Successfully built fbe5f59f909c [2021-06-15T05:09:27.317Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:09:27.637Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-15T05:09:27.637Z] . [Pipeline] withDockerContainer [2021-06-15T05:09:27.725Z] prd-centos7-docker-4c-2g-1424 does not seem to be running inside a container [2021-06-15T05:09:27.768Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/56 -v /w/workspace/device-modbus-go/56:/w/workspace/device-modbus-go/56:rw,z -v /w/workspace/device-modbus-go/56@tmp:/w/workspace/device-modbus-go/56@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 ******** ci-base-image-x86_64 cat [2021-06-15T05:09:28.289Z] $ docker top ef7cb5d74e83dccc833dd195ccacf7ef467f7ad4d7ac42b7453d42deca8d8d03 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-15T05:09:28.685Z] + go version [2021-06-15T05:09:28.685Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-15T05:09:28.698Z] $ docker stop --time=1 ef7cb5d74e83dccc833dd195ccacf7ef467f7ad4d7ac42b7453d42deca8d8d03 [2021-06-15T05:09:29.925Z] $ docker rm -f ef7cb5d74e83dccc833dd195ccacf7ef467f7ad4d7ac42b7453d42deca8d8d03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:09:30.510Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-15T05:09:30.510Z] . [Pipeline] withDockerContainer [2021-06-15T05:09:30.593Z] prd-centos7-docker-4c-2g-1424 does not seem to be running inside a container [2021-06-15T05:09:30.642Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/56 -v /w/workspace/device-modbus-go/56:/w/workspace/device-modbus-go/56:rw,z -v /w/workspace/device-modbus-go/56@tmp:/w/workspace/device-modbus-go/56@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 ******** ci-base-image-x86_64 cat [2021-06-15T05:09:31.034Z] $ docker top f9a0a727c1bb3fa08a6af259c5633ba0837a270e345f2f909ee80471794be43f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-15T05:09:31.442Z] + go mod tidy [Pipeline] sh [2021-06-15T05:09:32.014Z] + make test [2021-06-15T05:09:32.014Z] go mod tidy [2021-06-15T05:09:32.289Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-15T05:09:32.551Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-06-15T05:09:49.083Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1425 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-06-15T05:09:49.104Z] Running in /w/workspace/device-modbus-go/56 [Pipeline] { [Pipeline] checkout [2021-06-15T05:09:49.320Z] Selected Git installation does not exist. Using Default [2021-06-15T05:09:49.320Z] The recommended git tool is: NONE [2021-06-15T05:09:50.774Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-06-15T05:09:50.775Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 47.7% of statements [2021-06-15T05:09:50.775Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-15T05:09:54.713Z] using credential edgex-jenkins-ssh [2021-06-15T05:09:54.746Z] Cloning the remote Git repository [2021-06-15T05:09:54.817Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-06-15T05:09:54.932Z] > git init /w/workspace/device-modbus-go/56 # timeout=10 [2021-06-15T05:09:54.995Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-06-15T05:09:54.996Z] > git --version # timeout=10 [2021-06-15T05:09:55.010Z] > git --version # 'git version 2.17.1' [2021-06-15T05:09:55.012Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-15T05:09:55.090Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-15T05:09:56.072Z] Avoid second fetch [2021-06-15T05:09:56.073Z] Checking out Revision c0fea384d14ce91369cd6ac3614cfd01ba9409e9 (master) [2021-06-15T05:09:56.014Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-06-15T05:09:56.035Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-15T05:09:56.081Z] > git config core.sparsecheckout # timeout=10 [2021-06-15T05:09:56.092Z] > git checkout -f c0fea384d14ce91369cd6ac3614cfd01ba9409e9 # timeout=10 [2021-06-15T05:09:57.405Z] gofmt -l . [2021-06-15T05:09:57.405Z] [ "`gofmt -l .`" = "" ] [2021-06-15T05:09:57.405Z] ./bin/test-attribution-txt.sh [2021-06-15T05:09:57.668Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-15T05:09:57.945Z] $ docker stop --time=1 f9a0a727c1bb3fa08a6af259c5633ba0837a270e345f2f909ee80471794be43f [2021-06-15T05:09:59.453Z] $ docker rm -f f9a0a727c1bb3fa08a6af259c5633ba0837a270e345f2f909ee80471794be43f [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-15T05:09:59.903Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-15T05:10:00.116Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-06-15T05:10:00.274Z] Commit message: "Merge pull request #263 from hahattan/sdk-issue-967" [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-15T05:10:01.215Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-15T05:10:01.873Z] + ls -al . [2021-06-15T05:10:01.873Z] total 112 [2021-06-15T05:10:01.873Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jun 15 05:09 . [2021-06-15T05:10:01.873Z] drwxrwxr-x. 4 jenkins jenkins 30 Jun 15 05:08 .. [2021-06-15T05:10:01.873Z] -rw-rw-r--. 1 jenkins jenkins 7707 Jun 15 05:08 Attribution.txt [2021-06-15T05:10:01.873Z] drwxrwxr-x. 2 jenkins jenkins 87 Jun 15 05:08 bin [2021-06-15T05:10:01.873Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 15 05:08 cmd [2021-06-15T05:10:01.873Z] -rw-r--r--. 1 jenkins jenkins 22385 Jun 15 05:09 coverage.out [2021-06-15T05:10:01.873Z] -rw-rw-r--. 1 jenkins jenkins 1473 Jun 15 05:08 Dockerfile [2021-06-15T05:10:01.873Z] -rw-rw-r--. 1 jenkins jenkins 995 Jun 15 05:08 Dockerfile.build [2021-06-15T05:10:01.873Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 15 05:08 .dockerignore [2021-06-15T05:10:01.873Z] drwxrwxr-x. 8 jenkins jenkins 162 Jun 15 05:08 .git [2021-06-15T05:10:01.873Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 15 05:08 .github [2021-06-15T05:10:01.873Z] -rw-rw-r--. 1 jenkins jenkins 338 Jun 15 05:08 .gitignore [2021-06-15T05:10:01.873Z] -rw-r--r--. 1 jenkins jenkins 414 Jun 15 05:09 go.mod [2021-06-15T05:10:01.873Z] -rw-r--r--. 1 jenkins jenkins 21434 Jun 15 05:09 go.sum [2021-06-15T05:10:01.873Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 15 05:08 internal [2021-06-15T05:10:01.873Z] -rw-rw-r--. 1 jenkins jenkins 679 Jun 15 05:08 Jenkinsfile [2021-06-15T05:10:01.873Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 15 05:08 LICENSE [2021-06-15T05:10:01.873Z] -rw-rw-r--. 1 jenkins jenkins 914 Jun 15 05:08 Makefile [2021-06-15T05:10:01.873Z] -rw-rw-r--. 1 jenkins jenkins 2897 Jun 15 05:08 README.md [2021-06-15T05:10:01.873Z] drwxrwxr-x. 2 jenkins jenkins 52 Jun 15 05:08 simulator [2021-06-15T05:10:01.873Z] drwxrwxr-x. 4 jenkins jenkins 71 Jun 15 05:08 snap [2021-06-15T05:10:01.873Z] -rw-rw-r--. 1 jenkins jenkins 12 Jun 15 05:06 VERSION [2021-06-15T05:10:01.873Z] -rw-rw-r--. 1 jenkins jenkins 229 Jun 15 05:08 version.go [2021-06-15T05:10:01.890Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] isUnix [Pipeline] sh [Pipeline] sh [2021-06-15T05:10:02.193Z] + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=c0fea384d14ce91369cd6ac3614cfd01ba9409e9 --label arch=amd64 --label version=1.3.2-dev.17 . [2021-06-15T05:10:02.193Z] Sending build context to Docker daemon 660.5kB [2021-06-15T05:10:02.193Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.12 [2021-06-15T05:10:02.193Z] Step 2/22 : FROM ${BASE} AS builder [2021-06-15T05:10:02.193Z] ---> fbe5f59f909c [2021-06-15T05:10:02.193Z] Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-15T05:10:02.193Z] ---> Running in f9b3f68c1434 [2021-06-15T05:10:02.373Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-15T05:10:02.726Z] + sudo service docker restart+ [2021-06-15T05:10:02.726Z] true [2021-06-15T05:10:02.772Z] Removing intermediate container f9b3f68c1434 [2021-06-15T05:10:02.773Z] ---> 52e35247ca20 [2021-06-15T05:10:02.773Z] Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-15T05:10:02.773Z] ---> Running in d011cf9839d9 [2021-06-15T05:10:03.035Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-15T05:10:04.429Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-15T05:10:05.004Z] OK: 156 MiB in 53 packages [2021-06-15T05:10:05.271Z] Removing intermediate container d011cf9839d9 [2021-06-15T05:10:05.271Z] ---> a53530212098 [2021-06-15T05:10:05.271Z] Step 5/22 : WORKDIR /device-modbus-go [2021-06-15T05:10:05.271Z] ---> Running in 6af0d1b51658 [2021-06-15T05:10:05.271Z] Removing intermediate container 6af0d1b51658 [2021-06-15T05:10:05.271Z] ---> 16722a8b958e [2021-06-15T05:10:05.271Z] Step 6/22 : COPY . . [2021-06-15T05:10:05.541Z] ---> 3e3b8b8888c9 [2021-06-15T05:10:05.541Z] Step 7/22 : RUN go mod tidy [2021-06-15T05:10:05.541Z] ---> Running in 9cdbedc4aa7b [2021-06-15T05:10:06.130Z] Removing intermediate container 9cdbedc4aa7b [2021-06-15T05:10:06.130Z] ---> e5c552de8cac [2021-06-15T05:10:06.130Z] Step 8/22 : RUN go mod download [2021-06-15T05:10:06.391Z] ---> Running in 495d21f27c4e [2021-06-15T05:10:06.969Z] Removing intermediate container 495d21f27c4e [2021-06-15T05:10:06.969Z] ---> cf220fba92d0 [2021-06-15T05:10:06.969Z] Step 9/22 : RUN make build [2021-06-15T05:10:06.969Z] ---> Running in e7db2f229906 [2021-06-15T05:10:07.233Z] go mod tidy [2021-06-15T05:10:07.233Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.17" -o cmd/device-modbus ./cmd [2021-06-15T05:10:19.596Z] Removing intermediate container e7db2f229906 [2021-06-15T05:10:19.596Z] ---> 26e65de47648 [2021-06-15T05:10:19.596Z] Step 10/22 : FROM alpine:3.12 [2021-06-15T05:10:20.178Z] 3.12: Pulling from library/alpine [2021-06-15T05:10:20.178Z] 339de151aab4: Pulling fs layer [2021-06-15T05:10:20.178Z] 339de151aab4: Verifying Checksum [2021-06-15T05:10:20.178Z] 339de151aab4: Download complete [2021-06-15T05:10:20.444Z] 339de151aab4: Pull complete [2021-06-15T05:10:20.444Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-15T05:10:20.444Z] Status: Downloaded newer image for alpine:3.12 [2021-06-15T05:10:20.444Z] ---> 13621d1b12d4 [2021-06-15T05:10:20.444Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-06-15T05:10:20.709Z] ---> Running in 6e57e9c9d703 [2021-06-15T05:10:20.709Z] Removing intermediate container 6e57e9c9d703 [2021-06-15T05:10:20.709Z] ---> 0e46b1686c90 [2021-06-15T05:10:20.709Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-15T05:10:20.709Z] ---> Running in a369f08d7fc6 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-15T05:10:21.090Z] provisioning config files... [2021-06-15T05:10:21.115Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/56@tmp/config4350507230949378841tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-15T05:10:21.280Z] Removing intermediate container a369f08d7fc6 [2021-06-15T05:10:21.280Z] ---> 7ebbdc32c289 [2021-06-15T05:10:21.280Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-15T05:10:21.280Z] ---> Running in 74a48427fe60 [2021-06-15T05:10:21.488Z] ---> docker-login.sh [2021-06-15T05:10:21.488Z] nexus3.edgexfoundry.org:10001 [2021-06-15T05:10:21.542Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-15T05:10:22.116Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-15T05:10:22.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:10:22.697Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-15T05:10:22.697Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-15T05:10:22.697Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-15T05:10:22.697Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-15T05:10:22.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:10:22.742Z] Configure a credential helper to remove this warning. See [2021-06-15T05:10:22.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:10:22.742Z] [2021-06-15T05:10:22.742Z] Login Succeeded [2021-06-15T05:10:22.742Z] nexus3.edgexfoundry.org:10002 [2021-06-15T05:10:23.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:10:23.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:10:23.290Z] Configure a credential helper to remove this warning. See [2021-06-15T05:10:23.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:10:23.290Z] [2021-06-15T05:10:23.290Z] Login Succeeded [2021-06-15T05:10:23.290Z] nexus3.edgexfoundry.org:10003 [2021-06-15T05:10:23.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:10:23.646Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-15T05:10:23.646Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-15T05:10:23.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:10:23.838Z] Configure a credential helper to remove this warning. See [2021-06-15T05:10:23.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:10:23.838Z] [2021-06-15T05:10:23.838Z] Login Succeeded [2021-06-15T05:10:23.838Z] nexus3.edgexfoundry.org:10004 [2021-06-15T05:10:23.911Z] Executing busybox-1.31.1-r20.trigger [2021-06-15T05:10:23.912Z] OK: 8 MiB in 20 packages [2021-06-15T05:10:24.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:10:24.177Z] Removing intermediate container 74a48427fe60 [2021-06-15T05:10:24.177Z] ---> 3c24011c9604 [2021-06-15T05:10:24.177Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-06-15T05:10:24.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:10:24.390Z] Configure a credential helper to remove this warning. See [2021-06-15T05:10:24.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:10:24.390Z] [2021-06-15T05:10:24.390Z] Login Succeeded [2021-06-15T05:10:24.390Z] docker.io [2021-06-15T05:10:24.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:10:24.756Z] ---> c0f36711a930 [2021-06-15T05:10:24.756Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-06-15T05:10:25.020Z] ---> 6a4f414f2963 [2021-06-15T05:10:25.020Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-06-15T05:10:25.020Z] ---> b3e36a729f26 [2021-06-15T05:10:25.020Z] Step 17/22 : EXPOSE 59901 [2021-06-15T05:10:25.020Z] ---> Running in 2aa8b62f82e3 [2021-06-15T05:10:25.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:10:25.271Z] Configure a credential helper to remove this warning. See [2021-06-15T05:10:25.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:10:25.271Z] [2021-06-15T05:10:25.271Z] Login Succeeded [2021-06-15T05:10:25.271Z] ---> docker-login.sh ends [2021-06-15T05:10:25.285Z] Removing intermediate container 2aa8b62f82e3 [2021-06-15T05:10:25.286Z] ---> 70ce6c64c3a7 [2021-06-15T05:10:25.286Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-06-15T05:10:25.286Z] ---> Running in 3e07d1def18d [2021-06-15T05:10:25.286Z] Removing intermediate container 3e07d1def18d [2021-06-15T05:10:25.286Z] ---> d1ccd9b5f427 [2021-06-15T05:10:25.286Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-15T05:10:25.286Z] ---> Running in ca50c1b18639 [Pipeline] } [2021-06-15T05:10:25.290Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-06-15T05:10:25.548Z] Removing intermediate container ca50c1b18639 [2021-06-15T05:10:25.548Z] ---> de057618951b [2021-06-15T05:10:25.548Z] Step 20/22 : LABEL arch=amd64 [2021-06-15T05:10:25.548Z] ---> Running in 4c264b682a20 [2021-06-15T05:10:25.548Z] Removing intermediate container 4c264b682a20 [2021-06-15T05:10:25.548Z] ---> 20cdabba8b67 [2021-06-15T05:10:25.548Z] Step 21/22 : LABEL git_sha=c0fea384d14ce91369cd6ac3614cfd01ba9409e9 [2021-06-15T05:10:25.548Z] ---> Running in a6e17421a888 [Pipeline] echo [2021-06-15T05:10:25.605Z] ========================================================= [2021-06-15T05:10:25.605Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-15T05:10:25.605Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:10:25.816Z] Removing intermediate container a6e17421a888 [2021-06-15T05:10:25.817Z] ---> 64a109311c8a [2021-06-15T05:10:25.817Z] Step 22/22 : LABEL version=1.3.2-dev.17 [2021-06-15T05:10:25.817Z] ---> Running in c87f16247d8f [2021-06-15T05:10:25.817Z] Removing intermediate container c87f16247d8f [2021-06-15T05:10:25.817Z] ---> e917cd2b409b [2021-06-15T05:10:25.817Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-15T05:10:25.817Z] Successfully built e917cd2b409b [2021-06-15T05:10:25.817Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2021-06-15T05:10:25.984Z] + 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 . [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-15T05:10:26.067Z] provisioning config files... [2021-06-15T05:10:26.084Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/56@tmp/config1014931167179800557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-15T05:10:26.261Z] Sending build context to Docker daemon 635.9kB [2021-06-15T05:10:26.404Z] ---> docker-login.sh [2021-06-15T05:10:26.404Z] nexus3.edgexfoundry.org:10001 [2021-06-15T05:10:26.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:10:26.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:10:26.404Z] Configure a credential helper to remove this warning. See [2021-06-15T05:10:26.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:10:26.404Z] [2021-06-15T05:10:26.404Z] Login Succeeded [2021-06-15T05:10:26.404Z] nexus3.edgexfoundry.org:10002 [2021-06-15T05:10:26.535Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-15T05:10:26.535Z] Step 2/8 : FROM ${BASE} [2021-06-15T05:10:26.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:10:26.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:10:26.688Z] Configure a credential helper to remove this warning. See [2021-06-15T05:10:26.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:10:26.688Z] [2021-06-15T05:10:26.688Z] Login Succeeded [2021-06-15T05:10:26.688Z] nexus3.edgexfoundry.org:10003 [2021-06-15T05:10:26.808Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-15T05:10:26.808Z] 595b0fe564bb: Pulling fs layer [2021-06-15T05:10:26.808Z] 3088b5b3c5c0: Pulling fs layer [2021-06-15T05:10:26.808Z] 5b7225fbf94c: Pulling fs layer [2021-06-15T05:10:26.808Z] ba82ee9f976e: Pulling fs layer [2021-06-15T05:10:26.808Z] 506bd15cee9f: Pulling fs layer [2021-06-15T05:10:26.808Z] 75a0a4a0db45: Pulling fs layer [2021-06-15T05:10:26.808Z] 618dc40b7e24: Pulling fs layer [2021-06-15T05:10:26.808Z] ba82ee9f976e: Waiting [2021-06-15T05:10:26.808Z] 506bd15cee9f: Waiting [2021-06-15T05:10:26.808Z] 75a0a4a0db45: Waiting [2021-06-15T05:10:26.808Z] 618dc40b7e24: Waiting [2021-06-15T05:10:26.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:10:27.102Z] 5b7225fbf94c: Verifying Checksum [2021-06-15T05:10:27.102Z] 5b7225fbf94c: Download complete [2021-06-15T05:10:27.102Z] 3088b5b3c5c0: Verifying Checksum [2021-06-15T05:10:27.102Z] 3088b5b3c5c0: Download complete [2021-06-15T05:10:27.102Z] 506bd15cee9f: Verifying Checksum [2021-06-15T05:10:27.102Z] 506bd15cee9f: Download complete [2021-06-15T05:10:27.102Z] 595b0fe564bb: Verifying Checksum [2021-06-15T05:10:27.102Z] 75a0a4a0db45: Download complete [2021-06-15T05:10:27.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:10:27.213Z] Configure a credential helper to remove this warning. See [2021-06-15T05:10:27.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:10:27.213Z] [2021-06-15T05:10:27.213Z] Login Succeeded [2021-06-15T05:10:27.213Z] nexus3.edgexfoundry.org:10004 [2021-06-15T05:10:27.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:10:27.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:10:27.483Z] Configure a credential helper to remove this warning. See [2021-06-15T05:10:27.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:10:27.483Z] [2021-06-15T05:10:27.483Z] Login Succeeded [2021-06-15T05:10:27.720Z] 595b0fe564bb: Pull complete [2021-06-15T05:10:27.749Z] docker.io [2021-06-15T05:10:27.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:10:28.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:10:28.014Z] Configure a credential helper to remove this warning. See [2021-06-15T05:10:28.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:10:28.014Z] [2021-06-15T05:10:28.014Z] Login Succeeded [2021-06-15T05:10:28.014Z] ---> docker-login.sh ends [Pipeline] } [2021-06-15T05:10:28.023Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-15T05:10:28.094Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2021-06-15T05:10:28.095Z] c0fea384d14ce91369cd6ac3614cfd01ba9409e9 [2021-06-15T05:10:28.095Z] latest [2021-06-15T05:10:28.095Z] 1.3.2-dev.17 [2021-06-15T05:10:28.095Z] c0fea384d14ce91369cd6ac3614cfd01ba9409e9-1.3.2-dev.17 [2021-06-15T05:10:28.095Z] master [2021-06-15T05:10:28.095Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:10:28.327Z] 3088b5b3c5c0: Pull complete [2021-06-15T05:10:28.460Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:c0fea384d14ce91369cd6ac3614cfd01ba9409e9 [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:10:28.767Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:c0fea384d14ce91369cd6ac3614cfd01ba9409e9 [2021-06-15T05:10:28.768Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-06-15T05:10:28.768Z] a1f75895fd21: Preparing [2021-06-15T05:10:28.768Z] 256396b39934: Preparing [2021-06-15T05:10:28.768Z] b9c6267a760d: Preparing [2021-06-15T05:10:28.768Z] 017509288cb0: Preparing [2021-06-15T05:10:28.768Z] 8b404bcbaf3f: Preparing [2021-06-15T05:10:28.768Z] 32f366d666a5: Preparing [2021-06-15T05:10:28.768Z] 32f366d666a5: Waiting [2021-06-15T05:10:28.932Z] 5b7225fbf94c: Pull complete [2021-06-15T05:10:29.035Z] 8b404bcbaf3f: Pushed [2021-06-15T05:10:29.035Z] 32f366d666a5: Layer already exists [2021-06-15T05:10:29.035Z] 256396b39934: Pushed [2021-06-15T05:10:29.301Z] 017509288cb0: Pushed [2021-06-15T05:10:29.301Z] a1f75895fd21: Pushed [2021-06-15T05:10:29.544Z] 618dc40b7e24: Verifying Checksum [2021-06-15T05:10:29.544Z] 618dc40b7e24: Download complete [2021-06-15T05:10:30.255Z] b9c6267a760d: Pushed [2021-06-15T05:10:30.516Z] c0fea384d14ce91369cd6ac3614cfd01ba9409e9: digest: sha256:f2c67c6b02af4882f43d7584f90235f5e9d5f61a5b4a5712c9d8f59f76f4998a size: 1572 [Pipeline] isUnix [2021-06-15T05:10:30.533Z] ba82ee9f976e: Verifying Checksum [2021-06-15T05:10:30.533Z] ba82ee9f976e: Download complete [Pipeline] sh [2021-06-15T05:10:30.822Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:10:31.117Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-06-15T05:10:31.117Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-06-15T05:10:31.117Z] a1f75895fd21: Preparing [2021-06-15T05:10:31.117Z] 256396b39934: Preparing [2021-06-15T05:10:31.117Z] b9c6267a760d: Preparing [2021-06-15T05:10:31.117Z] 017509288cb0: Preparing [2021-06-15T05:10:31.117Z] 8b404bcbaf3f: Preparing [2021-06-15T05:10:31.117Z] 32f366d666a5: Preparing [2021-06-15T05:10:31.117Z] 32f366d666a5: Waiting [2021-06-15T05:10:31.117Z] 017509288cb0: Layer already exists [2021-06-15T05:10:31.117Z] b9c6267a760d: Layer already exists [2021-06-15T05:10:31.117Z] 8b404bcbaf3f: Layer already exists [2021-06-15T05:10:31.117Z] 256396b39934: Layer already exists [2021-06-15T05:10:31.117Z] a1f75895fd21: Layer already exists [2021-06-15T05:10:31.117Z] 32f366d666a5: Layer already exists [2021-06-15T05:10:31.117Z] latest: digest: sha256:f2c67c6b02af4882f43d7584f90235f5e9d5f61a5b4a5712c9d8f59f76f4998a size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:10:31.427Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.17 [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:10:31.738Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.17 [2021-06-15T05:10:31.738Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-06-15T05:10:31.738Z] a1f75895fd21: Preparing [2021-06-15T05:10:31.738Z] 256396b39934: Preparing [2021-06-15T05:10:31.738Z] b9c6267a760d: Preparing [2021-06-15T05:10:31.738Z] 017509288cb0: Preparing [2021-06-15T05:10:31.738Z] 8b404bcbaf3f: Preparing [2021-06-15T05:10:31.738Z] 32f366d666a5: Preparing [2021-06-15T05:10:31.738Z] 32f366d666a5: Waiting [2021-06-15T05:10:31.738Z] 256396b39934: Layer already exists [2021-06-15T05:10:31.738Z] 8b404bcbaf3f: Layer already exists [2021-06-15T05:10:31.738Z] b9c6267a760d: Layer already exists [2021-06-15T05:10:31.738Z] a1f75895fd21: Layer already exists [2021-06-15T05:10:31.738Z] 017509288cb0: Layer already exists [2021-06-15T05:10:31.738Z] 32f366d666a5: Layer already exists [2021-06-15T05:10:31.738Z] 1.3.2-dev.17: digest: sha256:f2c67c6b02af4882f43d7584f90235f5e9d5f61a5b4a5712c9d8f59f76f4998a size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:10:32.045Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:c0fea384d14ce91369cd6ac3614cfd01ba9409e9-1.3.2-dev.17 [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:10:32.349Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:c0fea384d14ce91369cd6ac3614cfd01ba9409e9-1.3.2-dev.17 [2021-06-15T05:10:32.349Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-06-15T05:10:32.349Z] a1f75895fd21: Preparing [2021-06-15T05:10:32.349Z] 256396b39934: Preparing [2021-06-15T05:10:32.349Z] b9c6267a760d: Preparing [2021-06-15T05:10:32.349Z] 017509288cb0: Preparing [2021-06-15T05:10:32.349Z] 8b404bcbaf3f: Preparing [2021-06-15T05:10:32.349Z] 32f366d666a5: Preparing [2021-06-15T05:10:32.349Z] 32f366d666a5: Waiting [2021-06-15T05:10:32.349Z] 8b404bcbaf3f: Layer already exists [2021-06-15T05:10:32.349Z] b9c6267a760d: Layer already exists [2021-06-15T05:10:32.349Z] 256396b39934: Layer already exists [2021-06-15T05:10:32.349Z] 017509288cb0: Layer already exists [2021-06-15T05:10:32.349Z] a1f75895fd21: Layer already exists [2021-06-15T05:10:32.349Z] 32f366d666a5: Layer already exists [2021-06-15T05:10:32.349Z] c0fea384d14ce91369cd6ac3614cfd01ba9409e9-1.3.2-dev.17: digest: sha256:f2c67c6b02af4882f43d7584f90235f5e9d5f61a5b4a5712c9d8f59f76f4998a size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:10:32.656Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:master [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:10:32.957Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:master [2021-06-15T05:10:32.957Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-06-15T05:10:32.957Z] a1f75895fd21: Preparing [2021-06-15T05:10:32.957Z] 256396b39934: Preparing [2021-06-15T05:10:32.957Z] b9c6267a760d: Preparing [2021-06-15T05:10:32.957Z] 017509288cb0: Preparing [2021-06-15T05:10:32.957Z] 8b404bcbaf3f: Preparing [2021-06-15T05:10:32.957Z] 32f366d666a5: Preparing [2021-06-15T05:10:32.957Z] 32f366d666a5: Waiting [2021-06-15T05:10:32.957Z] 256396b39934: Layer already exists [2021-06-15T05:10:32.957Z] b9c6267a760d: Layer already exists [2021-06-15T05:10:32.957Z] 017509288cb0: Layer already exists [2021-06-15T05:10:32.957Z] a1f75895fd21: Layer already exists [2021-06-15T05:10:32.957Z] 8b404bcbaf3f: Layer already exists [2021-06-15T05:10:32.957Z] 32f366d666a5: Layer already exists [2021-06-15T05:10:33.222Z] master: digest: sha256:f2c67c6b02af4882f43d7584f90235f5e9d5f61a5b4a5712c9d8f59f76f4998a size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-15T05:10:33.313Z] ===================================================== [Pipeline] echo [2021-06-15T05:10:33.337Z] taggedImages: [2021-06-15T05:10:33.337Z] - nexus3.edgexfoundry.org:10004/device-modbus:c0fea384d14ce91369cd6ac3614cfd01ba9409e9 [2021-06-15T05:10:33.337Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-06-15T05:10:33.337Z] - nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.17 [2021-06-15T05:10:33.337Z] - nexus3.edgexfoundry.org:10004/device-modbus:c0fea384d14ce91369cd6ac3614cfd01ba9409e9-1.3.2-dev.17 [2021-06-15T05:10:33.337Z] - nexus3.edgexfoundry.org:10004/device-modbus:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-15T05:10:34.033Z] ---> job-cost.sh [2021-06-15T05:10:34.033Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-E40o [2021-06-15T05:10:40.703Z] ba82ee9f976e: Pull complete [2021-06-15T05:10:41.303Z] 506bd15cee9f: Pull complete [2021-06-15T05:10:41.578Z] 75a0a4a0db45: Pull complete [2021-06-15T05:10:44.063Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-15T05:10:44.976Z] 618dc40b7e24: Pull complete [2021-06-15T05:10:44.976Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-15T05:10:44.976Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-15T05:10:44.976Z] ---> a36622ca3599 [2021-06-15T05:10:44.976Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-15T05:10:46.962Z] ---> Running in 301e4e2a9f92 [2021-06-15T05:10:47.241Z] Removing intermediate container 301e4e2a9f92 [2021-06-15T05:10:47.241Z] ---> c42c158100d2 [2021-06-15T05:10:47.241Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-15T05:10:47.515Z] ---> Running in 9f56b8218812 [2021-06-15T05:10:50.147Z] Removing intermediate container 9f56b8218812 [2021-06-15T05:10:50.147Z] ---> 2d259406a772 [2021-06-15T05:10:50.147Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-15T05:10:50.147Z] ---> Running in a1669372bc8c [2021-06-15T05:10:51.131Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-15T05:10:52.106Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-15T05:10:53.082Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-15T05:10:53.082Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-15T05:10:53.082Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-15T05:10:53.082Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-15T05:10:53.352Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-15T05:10:53.352Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-15T05:10:53.352Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-15T05:10:53.950Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-15T05:10:53.950Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-15T05:10:53.950Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-15T05:10:54.221Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-15T05:10:54.221Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-15T05:10:54.221Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-15T05:10:54.491Z] Executing busybox-1.32.1-r6.trigger [2021-06-15T05:10:54.491Z] OK: 145 MiB in 53 packages [2021-06-15T05:10:55.917Z] Removing intermediate container a1669372bc8c [2021-06-15T05:10:55.917Z] ---> c83080a2fa6d [2021-06-15T05:10:55.917Z] Step 6/8 : WORKDIR /device-modbus-go [2021-06-15T05:10:55.917Z] ---> Running in a21debda0797 [2021-06-15T05:10:56.365Z] lf-activate-venv(): INFO: Adding /tmp/venv-E40o/bin to PATH [2021-06-15T05:10:56.365Z] INFO: No Stack... [2021-06-15T05:10:56.516Z] Removing intermediate container a21debda0797 [2021-06-15T05:10:56.516Z] ---> 346a87bc8cfc [2021-06-15T05:10:56.516Z] Step 7/8 : COPY . . [2021-06-15T05:10:56.631Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-15T05:10:57.218Z] INFO: Archiving Costs [Pipeline] sh [2021-06-15T05:10:57.501Z] ---> 404e7826964d [2021-06-15T05:10:57.501Z] Step 8/8 : RUN go mod download [2021-06-15T05:10:57.517Z] + cat /w/workspace/device-modbus-go/56/archives/cost.csv [2021-06-15T05:10:57.517Z] + cut -d, -f6 [Pipeline] lock [2021-06-15T05:10:57.546Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-56-stack-cost] [2021-06-15T05:10:57.555Z] Resource [jenkins-edgexfoundry-device-modbus-go-master-56-stack-cost] did not exist. Created. [2021-06-15T05:10:57.555Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-15T05:10:57.775Z] ---> Running in bf4532e76b73 [2021-06-15T05:10:57.880Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-15T05:10:57.951Z] Stashed 1 file(s) [Pipeline] } [2021-06-15T05:10:57.964Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-56-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-15T05:11:24.607Z] Removing intermediate container bf4532e76b73 [2021-06-15T05:11:24.608Z] ---> 5406a497a3d9 [2021-06-15T05:11:24.608Z] Successfully built 5406a497a3d9 [2021-06-15T05:11:24.608Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:11:24.950Z] + docker inspect -f . ci-base-image-arm64 [2021-06-15T05:11:24.950Z] . [Pipeline] withDockerContainer [2021-06-15T05:11:25.417Z] prd-ubuntu18.04-docker-arm64-4c-16g-1425 does not seem to be running inside a container [2021-06-15T05:11:25.545Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/56 -v /w/workspace/device-modbus-go/56:/w/workspace/device-modbus-go/56:rw,z -v /w/workspace/device-modbus-go/56@tmp:/w/workspace/device-modbus-go/56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-15T05:11:27.284Z] $ docker top 211f5c6b82ab536730eedf86b935e84174c59ac6184b20f391857fc41c88a7f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-15T05:11:28.360Z] + go version [2021-06-15T05:11:28.360Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-15T05:11:28.403Z] $ docker stop --time=1 211f5c6b82ab536730eedf86b935e84174c59ac6184b20f391857fc41c88a7f8 [2021-06-15T05:11:30.311Z] $ docker rm -f 211f5c6b82ab536730eedf86b935e84174c59ac6184b20f391857fc41c88a7f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:11:31.154Z] + docker inspect -f . ci-base-image-arm64 [2021-06-15T05:11:31.154Z] . [Pipeline] withDockerContainer [2021-06-15T05:11:31.414Z] prd-ubuntu18.04-docker-arm64-4c-16g-1425 does not seem to be running inside a container [2021-06-15T05:11:31.504Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/56 -v /w/workspace/device-modbus-go/56:/w/workspace/device-modbus-go/56:rw,z -v /w/workspace/device-modbus-go/56@tmp:/w/workspace/device-modbus-go/56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-15T05:11:33.159Z] $ docker top acf594257b19aeab374aaf4bef67a298f614cc6efbfae9a1a4cd4d300b5265eb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-15T05:11:34.133Z] + go mod tidy [Pipeline] sh [2021-06-15T05:11:35.391Z] + make test [2021-06-15T05:11:35.391Z] go mod tidy [2021-06-15T05:11:35.990Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-15T05:11:36.971Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-06-15T05:12:33.595Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-06-15T05:12:33.595Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.046s coverage: 47.7% of statements [2021-06-15T05:12:33.595Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-15T05:12:55.809Z] gofmt -l . [2021-06-15T05:12:55.809Z] [ "`gofmt -l .`" = "" ] [2021-06-15T05:12:55.809Z] ./bin/test-attribution-txt.sh [2021-06-15T05:12:55.809Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-15T05:12:55.833Z] $ docker stop --time=1 acf594257b19aeab374aaf4bef67a298f614cc6efbfae9a1a4cd4d300b5265eb [2021-06-15T05:12:57.768Z] $ docker rm -f acf594257b19aeab374aaf4bef67a298f614cc6efbfae9a1a4cd4d300b5265eb [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-15T05:12:58.567Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-15T05:12:58.601Z] Warning: overwriting stash ‘coverage-report’ [2021-06-15T05:12:59.068Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-15T05:12:59.560Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-15T05:12:59.898Z] + ls -al . [2021-06-15T05:12:59.898Z] total 144 [2021-06-15T05:12:59.898Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 15 05:12 . [2021-06-15T05:12:59.898Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 15 05:09 .. [2021-06-15T05:12:59.898Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 15 05:09 .dockerignore [2021-06-15T05:12:59.898Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 15 05:09 .git [2021-06-15T05:12:59.898Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 05:09 .github [2021-06-15T05:12:59.898Z] -rw-rw-r-- 1 jenkins jenkins 338 Jun 15 05:09 .gitignore [2021-06-15T05:12:59.898Z] -rw-rw-r-- 1 jenkins jenkins 7707 Jun 15 05:09 Attribution.txt [2021-06-15T05:12:59.898Z] -rw-rw-r-- 1 jenkins jenkins 1473 Jun 15 05:09 Dockerfile [2021-06-15T05:12:59.898Z] -rw-rw-r-- 1 jenkins jenkins 995 Jun 15 05:09 Dockerfile.build [2021-06-15T05:12:59.898Z] -rw-rw-r-- 1 jenkins jenkins 679 Jun 15 05:09 Jenkinsfile [2021-06-15T05:12:59.898Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 15 05:09 LICENSE [2021-06-15T05:12:59.898Z] -rw-rw-r-- 1 jenkins jenkins 914 Jun 15 05:09 Makefile [2021-06-15T05:12:59.898Z] -rw-rw-r-- 1 jenkins jenkins 2897 Jun 15 05:09 README.md [2021-06-15T05:12:59.898Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 15 05:06 VERSION [2021-06-15T05:12:59.898Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 05:09 bin [2021-06-15T05:12:59.898Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 15 05:09 cmd [2021-06-15T05:12:59.898Z] -rw-r--r-- 1 jenkins jenkins 22385 Jun 15 05:12 coverage.out [2021-06-15T05:12:59.898Z] -rw-r--r-- 1 jenkins jenkins 414 Jun 15 05:12 go.mod [2021-06-15T05:12:59.898Z] -rw-r--r-- 1 jenkins jenkins 21434 Jun 15 05:11 go.sum [2021-06-15T05:12:59.898Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 15 05:09 internal [2021-06-15T05:12:59.898Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 05:09 simulator [2021-06-15T05:12:59.898Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 15 05:09 snap [2021-06-15T05:12:59.898Z] -rw-rw-r-- 1 jenkins jenkins 229 Jun 15 05:09 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:13:00.234Z] + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=c0fea384d14ce91369cd6ac3614cfd01ba9409e9 --label arch=arm64 --label version=1.3.2-dev.17 . [2021-06-15T05:13:00.507Z] Sending build context to Docker daemon 658.9kB [2021-06-15T05:13:00.507Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.12 [2021-06-15T05:13:00.507Z] Step 2/22 : FROM ${BASE} AS builder [2021-06-15T05:13:00.507Z] ---> 5406a497a3d9 [2021-06-15T05:13:00.507Z] Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-15T05:13:01.112Z] ---> Running in 4dae274b6b1d [2021-06-15T05:13:03.093Z] Removing intermediate container 4dae274b6b1d [2021-06-15T05:13:03.093Z] ---> cd25fe9b2d26 [2021-06-15T05:13:03.093Z] Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-15T05:13:03.093Z] ---> Running in 4e2c07550c1f [2021-06-15T05:13:04.522Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-15T05:13:05.116Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-15T05:13:06.096Z] OK: 145 MiB in 53 packages [2021-06-15T05:13:07.076Z] Removing intermediate container 4e2c07550c1f [2021-06-15T05:13:07.076Z] ---> b385e43abe29 [2021-06-15T05:13:07.076Z] Step 5/22 : WORKDIR /device-modbus-go [2021-06-15T05:13:07.355Z] ---> Running in 3f347101621e [2021-06-15T05:13:07.951Z] Removing intermediate container 3f347101621e [2021-06-15T05:13:07.951Z] ---> 94b61eee2cb3 [2021-06-15T05:13:07.951Z] Step 6/22 : COPY . . [2021-06-15T05:13:08.937Z] ---> 6540d94e1f7e [2021-06-15T05:13:08.937Z] Step 7/22 : RUN go mod tidy [2021-06-15T05:13:09.211Z] ---> Running in 08b69b8943b0 [2021-06-15T05:13:11.841Z] Removing intermediate container 08b69b8943b0 [2021-06-15T05:13:11.841Z] ---> d8e7070546d9 [2021-06-15T05:13:11.841Z] Step 8/22 : RUN go mod download [2021-06-15T05:13:12.113Z] ---> Running in 647e71de46a6 [2021-06-15T05:13:14.738Z] Removing intermediate container 647e71de46a6 [2021-06-15T05:13:14.738Z] ---> be975567b89d [2021-06-15T05:13:14.738Z] Step 9/22 : RUN make build [2021-06-15T05:13:14.738Z] ---> Running in db9d1dae4933 [2021-06-15T05:13:15.724Z] go mod tidy [2021-06-15T05:13:16.321Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.17" -o cmd/device-modbus ./cmd [2021-06-15T05:13:55.390Z] Removing intermediate container db9d1dae4933 [2021-06-15T05:13:55.390Z] ---> 1bb817bec1e3 [2021-06-15T05:13:55.390Z] Step 10/22 : FROM alpine:3.12 [2021-06-15T05:13:55.390Z] 3.12: Pulling from library/alpine [2021-06-15T05:13:55.390Z] d2f70382dc9a: Pulling fs layer [2021-06-15T05:13:55.390Z] d2f70382dc9a: Verifying Checksum [2021-06-15T05:13:55.390Z] d2f70382dc9a: Download complete [2021-06-15T05:13:55.390Z] d2f70382dc9a: Pull complete [2021-06-15T05:13:55.390Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-15T05:13:55.390Z] Status: Downloaded newer image for alpine:3.12 [2021-06-15T05:13:55.390Z] ---> 9852663dfa18 [2021-06-15T05:13:55.390Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-06-15T05:13:55.390Z] ---> Running in 33ceee3ec1ed [2021-06-15T05:13:55.390Z] Removing intermediate container 33ceee3ec1ed [2021-06-15T05:13:55.390Z] ---> 17735f185758 [2021-06-15T05:13:55.390Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-15T05:13:55.390Z] ---> Running in 4c7ceb46b9f2 [2021-06-15T05:13:55.390Z] Removing intermediate container 4c7ceb46b9f2 [2021-06-15T05:13:55.390Z] ---> 831052e1b52c [2021-06-15T05:13:55.390Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-15T05:13:55.390Z] ---> Running in 2bc1207359d6 [2021-06-15T05:13:56.366Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-15T05:13:57.351Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-15T05:13:57.945Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-15T05:13:57.945Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-15T05:13:58.218Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-15T05:13:58.218Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-15T05:13:58.493Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-15T05:13:58.493Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-15T05:13:58.765Z] Executing busybox-1.31.1-r20.trigger [2021-06-15T05:13:58.765Z] OK: 8 MiB in 20 packages [2021-06-15T05:13:59.741Z] Removing intermediate container 2bc1207359d6 [2021-06-15T05:13:59.741Z] ---> 693fd96657f2 [2021-06-15T05:13:59.741Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-06-15T05:14:01.172Z] ---> 7bf233676a73 [2021-06-15T05:14:01.172Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-06-15T05:14:02.154Z] ---> f95ec13d72f7 [2021-06-15T05:14:02.154Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-06-15T05:14:02.747Z] ---> c6795b871a04 [2021-06-15T05:14:02.747Z] Step 17/22 : EXPOSE 59901 [2021-06-15T05:14:03.020Z] ---> Running in 8374d3dd439e [2021-06-15T05:14:03.291Z] Removing intermediate container 8374d3dd439e [2021-06-15T05:14:03.291Z] ---> 640b04b863bb [2021-06-15T05:14:03.291Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-06-15T05:14:03.566Z] ---> Running in dc5a827a9a17 [2021-06-15T05:14:03.843Z] Removing intermediate container dc5a827a9a17 [2021-06-15T05:14:03.843Z] ---> b4df4a3b5acf [2021-06-15T05:14:03.843Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-15T05:14:04.117Z] ---> Running in 3f9e53ed9691 [2021-06-15T05:14:04.716Z] Removing intermediate container 3f9e53ed9691 [2021-06-15T05:14:04.716Z] ---> 5e328a864dfe [2021-06-15T05:14:04.716Z] Step 20/22 : LABEL arch=arm64 [2021-06-15T05:14:04.716Z] ---> Running in fe051019b707 [2021-06-15T05:14:05.316Z] Removing intermediate container fe051019b707 [2021-06-15T05:14:05.316Z] ---> d1a228642c17 [2021-06-15T05:14:05.316Z] Step 21/22 : LABEL git_sha=c0fea384d14ce91369cd6ac3614cfd01ba9409e9 [2021-06-15T05:14:05.316Z] ---> Running in 51eecb97bd77 [2021-06-15T05:14:05.914Z] Removing intermediate container 51eecb97bd77 [2021-06-15T05:14:05.914Z] ---> 821e866e8aed [2021-06-15T05:14:05.914Z] Step 22/22 : LABEL version=1.3.2-dev.17 [2021-06-15T05:14:05.914Z] ---> Running in 7201fa5d9318 [2021-06-15T05:14:06.513Z] Removing intermediate container 7201fa5d9318 [2021-06-15T05:14:06.513Z] ---> 4aaebb0ea725 [2021-06-15T05:14:06.513Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-15T05:14:06.513Z] Successfully built 4aaebb0ea725 [2021-06-15T05:14:06.513Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-15T05:14:06.768Z] provisioning config files... [2021-06-15T05:14:06.793Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/56@tmp/config4582024512991692115tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-15T05:14:07.162Z] ---> docker-login.sh [2021-06-15T05:14:07.162Z] nexus3.edgexfoundry.org:10001 [2021-06-15T05:14:07.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:14:07.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:14:07.438Z] Configure a credential helper to remove this warning. See [2021-06-15T05:14:07.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:14:07.438Z] [2021-06-15T05:14:07.438Z] Login Succeeded [2021-06-15T05:14:07.714Z] nexus3.edgexfoundry.org:10002 [2021-06-15T05:14:07.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:14:08.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:14:08.264Z] Configure a credential helper to remove this warning. See [2021-06-15T05:14:08.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:14:08.264Z] [2021-06-15T05:14:08.264Z] Login Succeeded [2021-06-15T05:14:08.264Z] nexus3.edgexfoundry.org:10003 [2021-06-15T05:14:08.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:14:08.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:14:08.823Z] Configure a credential helper to remove this warning. See [2021-06-15T05:14:08.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:14:08.823Z] [2021-06-15T05:14:08.823Z] Login Succeeded [2021-06-15T05:14:08.823Z] nexus3.edgexfoundry.org:10004 [2021-06-15T05:14:09.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:14:09.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:14:09.374Z] Configure a credential helper to remove this warning. See [2021-06-15T05:14:09.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:14:09.374Z] [2021-06-15T05:14:09.374Z] Login Succeeded [2021-06-15T05:14:09.374Z] docker.io [2021-06-15T05:14:09.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T05:14:10.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T05:14:10.245Z] Configure a credential helper to remove this warning. See [2021-06-15T05:14:10.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T05:14:10.245Z] [2021-06-15T05:14:10.245Z] Login Succeeded [2021-06-15T05:14:10.245Z] ---> docker-login.sh ends [Pipeline] } [2021-06-15T05:14:10.263Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-15T05:14:10.341Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2021-06-15T05:14:10.341Z] c0fea384d14ce91369cd6ac3614cfd01ba9409e9 [2021-06-15T05:14:10.341Z] latest [2021-06-15T05:14:10.341Z] 1.3.2-dev.17 [2021-06-15T05:14:10.341Z] c0fea384d14ce91369cd6ac3614cfd01ba9409e9-1.3.2-dev.17 [2021-06-15T05:14:10.341Z] master [2021-06-15T05:14:10.341Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:14:10.734Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:c0fea384d14ce91369cd6ac3614cfd01ba9409e9 [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:14:11.081Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:c0fea384d14ce91369cd6ac3614cfd01ba9409e9 [2021-06-15T05:14:11.081Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-06-15T05:14:11.081Z] 0b96a80dbce1: Preparing [2021-06-15T05:14:11.081Z] 792358e4aa38: Preparing [2021-06-15T05:14:11.081Z] 8a0bf9626940: Preparing [2021-06-15T05:14:11.081Z] 3d91b25b6f9c: Preparing [2021-06-15T05:14:11.081Z] 489e4c7ec042: Preparing [2021-06-15T05:14:11.081Z] 3fbe34a1663b: Preparing [2021-06-15T05:14:11.081Z] 3fbe34a1663b: Waiting [2021-06-15T05:14:11.363Z] 792358e4aa38: Pushed [2021-06-15T05:14:11.363Z] 489e4c7ec042: Pushed [2021-06-15T05:14:11.363Z] 0b96a80dbce1: Pushed [2021-06-15T05:14:11.640Z] 3fbe34a1663b: Layer already exists [2021-06-15T05:14:12.243Z] 3d91b25b6f9c: Pushed [2021-06-15T05:14:14.218Z] 8a0bf9626940: Pushed [2021-06-15T05:14:14.218Z] c0fea384d14ce91369cd6ac3614cfd01ba9409e9: digest: sha256:3947dc9f06e55ffa42c7b450b6f28d281b9242f6e465902615e81ff91b636e5b size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:14:14.847Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:14:15.195Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-06-15T05:14:15.195Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-06-15T05:14:15.195Z] 0b96a80dbce1: Preparing [2021-06-15T05:14:15.195Z] 792358e4aa38: Preparing [2021-06-15T05:14:15.195Z] 8a0bf9626940: Preparing [2021-06-15T05:14:15.195Z] 3d91b25b6f9c: Preparing [2021-06-15T05:14:15.195Z] 489e4c7ec042: Preparing [2021-06-15T05:14:15.195Z] 3fbe34a1663b: Preparing [2021-06-15T05:14:15.195Z] 3fbe34a1663b: Waiting [2021-06-15T05:14:15.473Z] 3d91b25b6f9c: Layer already exists [2021-06-15T05:14:15.473Z] 792358e4aa38: Layer already exists [2021-06-15T05:14:15.473Z] 0b96a80dbce1: Layer already exists [2021-06-15T05:14:15.473Z] 8a0bf9626940: Layer already exists [2021-06-15T05:14:15.473Z] 489e4c7ec042: Layer already exists [2021-06-15T05:14:15.473Z] 3fbe34a1663b: Layer already exists [2021-06-15T05:14:15.473Z] latest: digest: sha256:3947dc9f06e55ffa42c7b450b6f28d281b9242f6e465902615e81ff91b636e5b size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:14:15.819Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.17 [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:14:16.161Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.17 [2021-06-15T05:14:16.162Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-06-15T05:14:16.162Z] 0b96a80dbce1: Preparing [2021-06-15T05:14:16.162Z] 792358e4aa38: Preparing [2021-06-15T05:14:16.162Z] 8a0bf9626940: Preparing [2021-06-15T05:14:16.162Z] 3d91b25b6f9c: Preparing [2021-06-15T05:14:16.162Z] 489e4c7ec042: Preparing [2021-06-15T05:14:16.162Z] 3fbe34a1663b: Preparing [2021-06-15T05:14:16.162Z] 3fbe34a1663b: Waiting [2021-06-15T05:14:16.162Z] 792358e4aa38: Layer already exists [2021-06-15T05:14:16.162Z] 3d91b25b6f9c: Layer already exists [2021-06-15T05:14:16.162Z] 489e4c7ec042: Layer already exists [2021-06-15T05:14:16.162Z] 0b96a80dbce1: Layer already exists [2021-06-15T05:14:16.437Z] 8a0bf9626940: Layer already exists [2021-06-15T05:14:16.437Z] 3fbe34a1663b: Layer already exists [2021-06-15T05:14:16.437Z] 1.3.2-dev.17: digest: sha256:3947dc9f06e55ffa42c7b450b6f28d281b9242f6e465902615e81ff91b636e5b size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:14:16.786Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:c0fea384d14ce91369cd6ac3614cfd01ba9409e9-1.3.2-dev.17 [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:14:17.135Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:c0fea384d14ce91369cd6ac3614cfd01ba9409e9-1.3.2-dev.17 [2021-06-15T05:14:17.135Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-06-15T05:14:17.135Z] 0b96a80dbce1: Preparing [2021-06-15T05:14:17.135Z] 792358e4aa38: Preparing [2021-06-15T05:14:17.135Z] 8a0bf9626940: Preparing [2021-06-15T05:14:17.135Z] 3d91b25b6f9c: Preparing [2021-06-15T05:14:17.135Z] 489e4c7ec042: Preparing [2021-06-15T05:14:17.135Z] 3fbe34a1663b: Preparing [2021-06-15T05:14:17.135Z] 3fbe34a1663b: Waiting [2021-06-15T05:14:17.135Z] 3d91b25b6f9c: Layer already exists [2021-06-15T05:14:17.135Z] 489e4c7ec042: Layer already exists [2021-06-15T05:14:17.135Z] 792358e4aa38: Layer already exists [2021-06-15T05:14:17.408Z] 8a0bf9626940: Layer already exists [2021-06-15T05:14:17.409Z] 0b96a80dbce1: Layer already exists [2021-06-15T05:14:17.409Z] 3fbe34a1663b: Layer already exists [2021-06-15T05:14:17.409Z] c0fea384d14ce91369cd6ac3614cfd01ba9409e9-1.3.2-dev.17: digest: sha256:3947dc9f06e55ffa42c7b450b6f28d281b9242f6e465902615e81ff91b636e5b size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:14:17.756Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:14:18.099Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [2021-06-15T05:14:18.099Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-06-15T05:14:18.099Z] 0b96a80dbce1: Preparing [2021-06-15T05:14:18.099Z] 792358e4aa38: Preparing [2021-06-15T05:14:18.099Z] 8a0bf9626940: Preparing [2021-06-15T05:14:18.099Z] 3d91b25b6f9c: Preparing [2021-06-15T05:14:18.099Z] 489e4c7ec042: Preparing [2021-06-15T05:14:18.099Z] 3fbe34a1663b: Preparing [2021-06-15T05:14:18.099Z] 3fbe34a1663b: Waiting [2021-06-15T05:14:18.099Z] 0b96a80dbce1: Layer already exists [2021-06-15T05:14:18.099Z] 8a0bf9626940: Layer already exists [2021-06-15T05:14:18.372Z] 489e4c7ec042: Layer already exists [2021-06-15T05:14:18.372Z] 3d91b25b6f9c: Layer already exists [2021-06-15T05:14:18.372Z] 792358e4aa38: Layer already exists [2021-06-15T05:14:18.372Z] 3fbe34a1663b: Layer already exists [2021-06-15T05:14:18.372Z] master: digest: sha256:3947dc9f06e55ffa42c7b450b6f28d281b9242f6e465902615e81ff91b636e5b size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-15T05:14:18.443Z] ===================================================== [Pipeline] echo [2021-06-15T05:14:18.459Z] taggedImages: [2021-06-15T05:14:18.459Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:c0fea384d14ce91369cd6ac3614cfd01ba9409e9 [2021-06-15T05:14:18.459Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-06-15T05:14:18.459Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.17 [2021-06-15T05:14:18.459Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:c0fea384d14ce91369cd6ac3614cfd01ba9409e9-1.3.2-dev.17 [2021-06-15T05:14:18.459Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-15T05:14:18.946Z] ---> job-cost.sh [2021-06-15T05:14:18.946Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-B6sY [2021-06-15T05:14:57.908Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-15T05:16:19.674Z] lf-activate-venv(): INFO: Adding /tmp/venv-B6sY/bin to PATH [2021-06-15T05:16:19.674Z] INFO: No Stack... [2021-06-15T05:16:19.674Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-15T05:16:20.268Z] INFO: Archiving Costs [Pipeline] sh [2021-06-15T05:16:20.613Z] + + cat /w/workspace/device-modbus-go/56/archives/cost.csv [2021-06-15T05:16:20.613Z] cut -d, -f6 [Pipeline] lock [2021-06-15T05:16:20.677Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-56-stack-cost] [2021-06-15T05:16:20.686Z] Resource [jenkins-edgexfoundry-device-modbus-go-master-56-stack-cost] did not exist. Created. [2021-06-15T05:16:20.687Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-15T05:16:21.079Z] /w/workspace/device-modbus-go/56@tmp/durable-336fd6e7/script.sh: 1: /w/workspace/device-modbus-go/56@tmp/durable-336fd6e7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-15T05:16:21.438Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-15T05:16:21.476Z] Warning: overwriting stash ‘stack-cost’ [2021-06-15T05:16:21.637Z] Stashed 1 file(s) [Pipeline] } [2021-06-15T05:16:21.651Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-56-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-15T05:16:22.387Z] provisioning config files... [2021-06-15T05:16:22.396Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config3204701606926912612tmp [Pipeline] { [Pipeline] sh [2021-06-15T05:16:22.861Z] + set +x [2021-06-15T05:16:22.861Z] + curl -s https://codecov.io/bash [2021-06-15T05:16:22.861Z] + bash -s -- [2021-06-15T05:16:22.861Z] [2021-06-15T05:16:22.861Z] _____ _ [2021-06-15T05:16:22.861Z] / ____| | | [2021-06-15T05:16:22.861Z] | | ___ __| | ___ ___ _____ __ [2021-06-15T05:16:22.861Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-15T05:16:22.861Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-15T05:16:22.861Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-15T05:16:22.861Z] Bash-1.0.3 [2021-06-15T05:16:22.861Z] [2021-06-15T05:16:22.861Z] [2021-06-15T05:16:22.861Z] ==> git version 2.24.4 found [2021-06-15T05:16:22.861Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-15T05:16:22.861Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-15T05:16:22.861Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-15T05:16:22.861Z] ==> Jenkins CI detected. [2021-06-15T05:16:22.861Z] project root: . [2021-06-15T05:16:22.861Z] --> token set from env [2021-06-15T05:16:22.861Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-15T05:16:23.131Z] ==> Running gcov in . (disable via -X gcov) [2021-06-15T05:16:23.131Z] ==> Python coveragepy not found [2021-06-15T05:16:23.131Z] ==> Searching for coverage reports in: [2021-06-15T05:16:23.131Z] + . [2021-06-15T05:16:23.131Z] -> Found 1 reports [2021-06-15T05:16:23.131Z] ==> Detecting git/mercurial file structure [2021-06-15T05:16:23.131Z] ==> Reading reports [2021-06-15T05:16:23.131Z] + ./coverage.out bytes=22385 [2021-06-15T05:16:23.131Z] ==> Appending adjustments [2021-06-15T05:16:23.131Z] https://docs.codecov.io/docs/fixing-reports [2021-06-15T05:16:23.131Z] + Found adjustments [2021-06-15T05:16:23.131Z] ==> Gzipping contents [2021-06-15T05:16:23.131Z] 4.0K /tmp/codecov.WdEXPO.gz [2021-06-15T05:16:23.131Z] ==> Uploading reports [2021-06-15T05:16:23.131Z] url: https://codecov.io [2021-06-15T05:16:23.131Z] query: branch=master&commit=c0fea384d14ce91369cd6ac3614cfd01ba9409e9&build=56&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F56%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-15T05:16:23.131Z] -> Pinging Codecov [2021-06-15T05:16:23.131Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=c0fea384d14ce91369cd6ac3614cfd01ba9409e9&build=56&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F56%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-15T05:16:23.708Z] -> Uploading to [2021-06-15T05:16:23.708Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-15/55DBCA73C666E3227836607328DD7E49/c0fea384d14ce91369cd6ac3614cfd01ba9409e9/c57c9f24-797c-4dc7-8681-b2b9c96ac9ef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210615%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210615T051623Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=66c3f73e90ac21be4197f9dff331b4d902b77877827ac36e197e18ee3f15a7d6 [2021-06-15T05:16:23.708Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-15T05:16:23.708Z] Dload Upload Total Spent Left Speed [2021-06-15T05:16:23.969Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3904 0 0 100 3904 0 9487 --:--:-- --:--:-- --:--:-- 9498 [2021-06-15T05:16:23.969Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/c0fea384d14ce91369cd6ac3614cfd01ba9409e9 [Pipeline] } [2021-06-15T05:16:23.977Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-06-15T05:16:24.291Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-06-15T05:16:24.315Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:16:24.632Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-15T05:16:24.632Z] [2021-06-15T05:16:24.632Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:16:24.953Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-15T05:16:25.217Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-06-15T05:16:25.217Z] 188c0c94c7c5: Pulling fs layer [2021-06-15T05:16:25.217Z] 0ef7d3d256c8: Pulling fs layer [2021-06-15T05:16:25.217Z] de9db76c5a1d: Pulling fs layer [2021-06-15T05:16:25.217Z] 0eba1c9be4d2: Pulling fs layer [2021-06-15T05:16:25.217Z] 0d57e429df01: Pulling fs layer [2021-06-15T05:16:25.217Z] 4e4be7b47b0d: Pulling fs layer [2021-06-15T05:16:25.217Z] e1f770b5df2f: Pulling fs layer [2021-06-15T05:16:25.217Z] 85a0685a4137: Pulling fs layer [2021-06-15T05:16:25.217Z] 0d57e429df01: Waiting [2021-06-15T05:16:25.217Z] 4e4be7b47b0d: Waiting [2021-06-15T05:16:25.217Z] e1f770b5df2f: Waiting [2021-06-15T05:16:25.217Z] 85a0685a4137: Waiting [2021-06-15T05:16:25.217Z] 0eba1c9be4d2: Waiting [2021-06-15T05:16:25.217Z] de9db76c5a1d: Verifying Checksum [2021-06-15T05:16:25.217Z] de9db76c5a1d: Download complete [2021-06-15T05:16:25.217Z] 0ef7d3d256c8: Verifying Checksum [2021-06-15T05:16:25.217Z] 0ef7d3d256c8: Download complete [2021-06-15T05:16:25.217Z] 0d57e429df01: Verifying Checksum [2021-06-15T05:16:25.217Z] 0d57e429df01: Download complete [2021-06-15T05:16:25.217Z] 188c0c94c7c5: Verifying Checksum [2021-06-15T05:16:25.217Z] 188c0c94c7c5: Download complete [2021-06-15T05:16:25.479Z] 188c0c94c7c5: Pull complete [2021-06-15T05:16:25.741Z] 0ef7d3d256c8: Pull complete [2021-06-15T05:16:25.741Z] de9db76c5a1d: Pull complete [2021-06-15T05:16:26.313Z] e1f770b5df2f: Verifying Checksum [2021-06-15T05:16:26.313Z] e1f770b5df2f: Download complete [2021-06-15T05:16:26.313Z] 4e4be7b47b0d: Verifying Checksum [2021-06-15T05:16:26.313Z] 4e4be7b47b0d: Download complete [2021-06-15T05:16:28.230Z] 0eba1c9be4d2: Verifying Checksum [2021-06-15T05:16:28.230Z] 0eba1c9be4d2: Download complete [2021-06-15T05:16:28.808Z] 85a0685a4137: Verifying Checksum [2021-06-15T05:16:28.808Z] 85a0685a4137: Download complete [2021-06-15T05:16:31.389Z] 0eba1c9be4d2: Pull complete [2021-06-15T05:16:31.390Z] 0d57e429df01: Pull complete [2021-06-15T05:16:31.666Z] 4e4be7b47b0d: Pull complete [2021-06-15T05:16:32.245Z] e1f770b5df2f: Pull complete [2021-06-15T05:16:36.486Z] 85a0685a4137: Pull complete [2021-06-15T05:16:36.486Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-06-15T05:16:36.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-15T05:16:36.486Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-06-15T05:16:36.567Z] prd-centos7-docker-4c-2g-1422 does not seem to be running inside a container [2021-06-15T05:16:36.618Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-06-15T05:16:40.305Z] $ docker top 034684d5981a43cf1f4a6dfbcd266cc7532a686e2d8ce1fb79ab91dfa6f2af05 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-06-15T05:16:40.402Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-06-15T05:16:40.710Z] + set -o pipefail [2021-06-15T05:16:40.710Z] + snyk monitor '--org=edgex-jenkins' [2021-06-15T05:16:47.366Z] [2021-06-15T05:16:47.366Z] Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... [2021-06-15T05:16:47.366Z] [2021-06-15T05:16:47.366Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/4ebe24b1-0272-43d7-a595-8cf0d8526258 [2021-06-15T05:16:47.366Z] [2021-06-15T05:16:47.366Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-06-15T05:16:47.366Z] [2021-06-15T05:16:47.366Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-06-15T05:16:47.366Z] [2021-06-15T05:16:47.366Z] [Pipeline] } [2021-06-15T05:16:47.383Z] $ docker stop --time=1 034684d5981a43cf1f4a6dfbcd266cc7532a686e2d8ce1fb79ab91dfa6f2af05 [2021-06-15T05:16:49.600Z] $ docker rm -f 034684d5981a43cf1f4a6dfbcd266cc7532a686e2d8ce1fb79ab91dfa6f2af05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-15T05:16:50.768Z] + git log --format=format:%s -1 c0fea384d14ce91369cd6ac3614cfd01ba9409e9 [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:16:51.078Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-15T05:16:51.079Z] . [Pipeline] withDockerContainer [2021-06-15T05:16:51.172Z] prd-centos7-docker-4c-2g-1422 does not seem to be running inside a container [2021-06-15T05:16:51.221Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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-15T05:16:51.657Z] $ docker top b066d2e51b762c16f314273b3aadb04350130d5beda678c42fd3b92758193c2d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-15T05:16:51.783Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-15T05:16:51.783Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-15T05:16:51.897Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-15T05:16:51.903Z] $ docker exec b066d2e51b762c16f314273b3aadb04350130d5beda678c42fd3b92758193c2d ssh-agent [2021-06-15T05:16:52.016Z] SSH_AUTH_SOCK=/tmp/ssh-wfK0Jz1Udzb0/agent.14 [2021-06-15T05:16:52.016Z] SSH_AGENT_PID=20 [2021-06-15T05:16:52.023Z] Running ssh-add (command line suppressed) [2021-06-15T05:16:52.131Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3060738668480476882.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3060738668480476882.key) [2021-06-15T05:16:52.141Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-15T05:16:52.445Z] + git semver tag [2021-06-15T05:16:52.445Z] # -> Open(): unable to determine branch for HEAD [2021-06-15T05:16:52.445Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-06-15T05:16:52.445Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-06-15T05:16:52.445Z] # $SEMVER_REMOTE_NAME = origin [2021-06-15T05:16:52.445Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-15T05:16:52.445Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-15T05:16:52.445Z] # $SEMVER_BRANCH = master [2021-06-15T05:16:52.445Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2021-06-15T05:16:52.445Z] # c0fea384d14ce91369cd6ac3614cfd01ba9409e9 HEAD [2021-06-15T05:16:52.445Z] # -> Force: false [2021-06-15T05:16:52.445Z] # e40b9b1208a089c84a923286cfd25ebd8e2bbff0 refs/tags/v1.3.2-dev.17 [Pipeline] } [2021-06-15T05:16:52.458Z] $ docker exec --env ******** --env ******** b066d2e51b762c16f314273b3aadb04350130d5beda678c42fd3b92758193c2d ssh-agent -k [2021-06-15T05:16:52.553Z] unset SSH_AUTH_SOCK; [2021-06-15T05:16:52.553Z] unset SSH_AGENT_PID; [2021-06-15T05:16:52.553Z] echo Agent pid 20 killed; [2021-06-15T05:16:52.562Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-15T05:16:52.896Z] + git semver [Pipeline] } [2021-06-15T05:16:52.914Z] $ docker stop --time=1 b066d2e51b762c16f314273b3aadb04350130d5beda678c42fd3b92758193c2d [2021-06-15T05:16:54.099Z] $ docker rm -f b066d2e51b762c16f314273b3aadb04350130d5beda678c42fd3b92758193c2d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:16:54.576Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-15T05:16:54.576Z] [2021-06-15T05:16:54.576Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:16:54.931Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-15T05:16:54.931Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-06-15T05:16:54.931Z] ab5ef0e58194: Pulling fs layer [2021-06-15T05:16:54.931Z] 9712f1f96733: Pulling fs layer [2021-06-15T05:16:54.931Z] 63f879dbbcfc: Pulling fs layer [2021-06-15T05:16:54.931Z] 0d9ebad4ef96: Pulling fs layer [2021-06-15T05:16:54.931Z] e9a5061849ea: Pulling fs layer [2021-06-15T05:16:54.931Z] d747dcd14b5f: Pulling fs layer [2021-06-15T05:16:54.931Z] 2de7ff778b66: Pulling fs layer [2021-06-15T05:16:54.931Z] 0d9ebad4ef96: Waiting [2021-06-15T05:16:54.931Z] e9a5061849ea: Waiting [2021-06-15T05:16:54.931Z] d747dcd14b5f: Waiting [2021-06-15T05:16:54.931Z] 2de7ff778b66: Waiting [2021-06-15T05:16:54.931Z] 9712f1f96733: Verifying Checksum [2021-06-15T05:16:54.931Z] 9712f1f96733: Download complete [2021-06-15T05:16:56.317Z] 63f879dbbcfc: Verifying Checksum [2021-06-15T05:16:56.317Z] 63f879dbbcfc: Download complete [2021-06-15T05:16:56.578Z] e9a5061849ea: Verifying Checksum [2021-06-15T05:16:56.578Z] e9a5061849ea: Download complete [2021-06-15T05:16:56.578Z] d747dcd14b5f: Verifying Checksum [2021-06-15T05:16:56.578Z] d747dcd14b5f: Download complete [2021-06-15T05:16:57.160Z] 2de7ff778b66: Verifying Checksum [2021-06-15T05:16:57.160Z] 2de7ff778b66: Download complete [2021-06-15T05:16:57.160Z] 0d9ebad4ef96: Verifying Checksum [2021-06-15T05:16:57.160Z] 0d9ebad4ef96: Download complete [2021-06-15T05:16:57.160Z] ab5ef0e58194: Download complete [2021-06-15T05:16:59.743Z] ab5ef0e58194: Pull complete [2021-06-15T05:16:59.743Z] 9712f1f96733: Pull complete [2021-06-15T05:17:00.327Z] 63f879dbbcfc: Pull complete [2021-06-15T05:17:03.683Z] 0d9ebad4ef96: Pull complete [2021-06-15T05:17:03.683Z] e9a5061849ea: Pull complete [2021-06-15T05:17:03.947Z] d747dcd14b5f: Pull complete [2021-06-15T05:17:04.895Z] 2de7ff778b66: Pull complete [2021-06-15T05:17:04.895Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-06-15T05:17:04.895Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-15T05:17:04.895Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-06-15T05:17:04.975Z] prd-centos7-docker-4c-2g-1422 does not seem to be running inside a container [2021-06-15T05:17:05.026Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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:10003/edgex-lftools:0.23.1-centos7 cat [2021-06-15T05:17:09.010Z] $ docker top ef0e931a20c38d80264345ceb79cd1c6f1280712a934e10593d0758ef0765d8a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-06-15T05:17:09.107Z] provisioning config files... [2021-06-15T05:17:09.117Z] copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config4990061661206772009tmp [2021-06-15T05:17:09.131Z] copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config8361263814786073698tmp [2021-06-15T05:17:09.176Z] copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config6600073769630059218tmp [Pipeline] { [Pipeline] echo [2021-06-15T05:17:09.200Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-15T05:17:09.504Z] ---> sigul-configuration.sh [2021-06-15T05:17:09.504Z] gpg: directory `/root/.gnupg' created [2021-06-15T05:17:09.504Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-06-15T05:17:09.504Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-06-15T05:17:09.504Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-06-15T05:17:09.504Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-06-15T05:17:09.504Z] gpg: CAST5 encrypted data [2021-06-15T05:17:09.504Z] gpg: encrypted with 1 passphrase [2021-06-15T05:17:09.504Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-06-15T05:17:09.803Z] + mkdir /home/jenkins [2021-06-15T05:17:09.803Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-06-15T05:17:10.103Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-06-15T05:17:10.114Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-15T05:17:10.432Z] ---> sigul-install.sh [2021-06-15T05:17:15.879Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-06-15T05:17:16.231Z] + git tag --list [2021-06-15T05:17:16.231Z] 0.7.1 [2021-06-15T05:17:16.231Z] v1.0.0 [2021-06-15T05:17:16.231Z] v1.1.0 [2021-06-15T05:17:16.231Z] v1.1.1 [2021-06-15T05:17:16.231Z] v1.2.2 [2021-06-15T05:17:16.231Z] v1.3.0 [2021-06-15T05:17:16.231Z] v1.3.1 [2021-06-15T05:17:16.231Z] v1.3.1-dev.1 [2021-06-15T05:17:16.231Z] v1.3.1-dev.2 [2021-06-15T05:17:16.231Z] v1.3.1-dev.3 [2021-06-15T05:17:16.231Z] v1.3.1-dev.4 [2021-06-15T05:17:16.231Z] v1.3.1-dev.5 [2021-06-15T05:17:16.231Z] v1.3.1-dev.6 [2021-06-15T05:17:16.231Z] v1.3.1-dev.7 [2021-06-15T05:17:16.231Z] v1.3.1-dev.8 [2021-06-15T05:17:16.231Z] v1.3.2-dev.1 [2021-06-15T05:17:16.231Z] v1.3.2-dev.10 [2021-06-15T05:17:16.231Z] v1.3.2-dev.11 [2021-06-15T05:17:16.231Z] v1.3.2-dev.12 [2021-06-15T05:17:16.231Z] v1.3.2-dev.13 [2021-06-15T05:17:16.231Z] v1.3.2-dev.14 [2021-06-15T05:17:16.231Z] v1.3.2-dev.15 [2021-06-15T05:17:16.231Z] v1.3.2-dev.16 [2021-06-15T05:17:16.231Z] v1.3.2-dev.17 [2021-06-15T05:17:16.231Z] v1.3.2-dev.2 [2021-06-15T05:17:16.231Z] v1.3.2-dev.3 [2021-06-15T05:17:16.231Z] v1.3.2-dev.4 [2021-06-15T05:17:16.231Z] v1.3.2-dev.5 [2021-06-15T05:17:16.231Z] v1.3.2-dev.6 [2021-06-15T05:17:16.231Z] v1.3.2-dev.7 [2021-06-15T05:17:16.231Z] v1.3.2-dev.8 [2021-06-15T05:17:16.231Z] v1.3.2-dev.9 [Pipeline] sh [2021-06-15T05:17:16.531Z] + lftools sign git-tag v1.3.2-dev.17 [2021-06-15T05:17:17.105Z] Signing Git tag with Sigul... [2021-06-15T05:17:17.105Z] Signing v1.3.2-dev.17 [Pipeline] echo [2021-06-15T05:17:17.732Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-15T05:17:18.059Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-06-15T05:17:18.068Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-06-15T05:17:18.101Z] $ docker stop --time=1 ef0e931a20c38d80264345ceb79cd1c6f1280712a934e10593d0758ef0765d8a [2021-06-15T05:17:20.263Z] $ docker rm -f ef0e931a20c38d80264345ceb79cd1c6f1280712a934e10593d0758ef0765d8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:17:20.942Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-15T05:17:20.942Z] . [Pipeline] withDockerContainer [2021-06-15T05:17:21.017Z] prd-centos7-docker-4c-2g-1422 does not seem to be running inside a container [2021-06-15T05:17:21.060Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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-15T05:17:21.460Z] $ docker top e997635c1d2aa9ed4dd69f9845b56c9b4edb559e2d8eed9a8a32f10dc4336f74 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-15T05:17:21.600Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-15T05:17:21.600Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-15T05:17:21.710Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-15T05:17:21.715Z] $ docker exec e997635c1d2aa9ed4dd69f9845b56c9b4edb559e2d8eed9a8a32f10dc4336f74 ssh-agent [2021-06-15T05:17:21.815Z] SSH_AUTH_SOCK=/tmp/ssh-CTZxcS5NFYC9/agent.14 [2021-06-15T05:17:21.815Z] SSH_AGENT_PID=19 [2021-06-15T05:17:21.821Z] Running ssh-add (command line suppressed) [2021-06-15T05:17:21.923Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6357962673524412157.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6357962673524412157.key) [2021-06-15T05:17:21.933Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-15T05:17:22.232Z] + git semver bump pre [2021-06-15T05:17:22.233Z] # -> Open(): unable to determine branch for HEAD [2021-06-15T05:17:22.233Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-06-15T05:17:22.233Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-06-15T05:17:22.233Z] # $SEMVER_REMOTE_NAME = origin [2021-06-15T05:17:22.233Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-15T05:17:22.233Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-15T05:17:22.233Z] # $SEMVER_BRANCH = master [2021-06-15T05:17:22.233Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2021-06-15T05:17:22.233Z] 1.3.2-dev.18 [Pipeline] } [2021-06-15T05:17:22.245Z] $ docker exec --env ******** --env ******** e997635c1d2aa9ed4dd69f9845b56c9b4edb559e2d8eed9a8a32f10dc4336f74 ssh-agent -k [2021-06-15T05:17:22.338Z] unset SSH_AUTH_SOCK; [2021-06-15T05:17:22.339Z] unset SSH_AGENT_PID; [2021-06-15T05:17:22.339Z] echo Agent pid 19 killed; [2021-06-15T05:17:22.348Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-15T05:17:22.683Z] + git semver [Pipeline] } [2021-06-15T05:17:22.699Z] $ docker stop --time=1 e997635c1d2aa9ed4dd69f9845b56c9b4edb559e2d8eed9a8a32f10dc4336f74 [2021-06-15T05:17:23.907Z] $ docker rm -f e997635c1d2aa9ed4dd69f9845b56c9b4edb559e2d8eed9a8a32f10dc4336f74 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:17:24.289Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-15T05:17:24.289Z] . [Pipeline] withDockerContainer [2021-06-15T05:17:24.359Z] prd-centos7-docker-4c-2g-1422 does not seem to be running inside a container [2021-06-15T05:17:24.405Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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-15T05:17:24.756Z] $ docker top ed02091128e3a2bcef65e836886a4d92690c6f57b6d34b979264d0150d0f1c45 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-15T05:17:24.879Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-15T05:17:24.879Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-15T05:17:24.983Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-15T05:17:24.988Z] $ docker exec ed02091128e3a2bcef65e836886a4d92690c6f57b6d34b979264d0150d0f1c45 ssh-agent [2021-06-15T05:17:25.097Z] SSH_AUTH_SOCK=/tmp/ssh-VvG56CWIgWuK/agent.14 [2021-06-15T05:17:25.097Z] SSH_AGENT_PID=20 [2021-06-15T05:17:25.103Z] Running ssh-add (command line suppressed) [2021-06-15T05:17:25.203Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7197424146150608973.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7197424146150608973.key) [2021-06-15T05:17:25.214Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-15T05:17:25.519Z] + git semver push [2021-06-15T05:17:25.519Z] # -> Open(): unable to determine branch for HEAD [2021-06-15T05:17:25.519Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-06-15T05:17:25.519Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-06-15T05:17:25.519Z] # $SEMVER_REMOTE_NAME = origin [2021-06-15T05:17:25.519Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-15T05:17:25.519Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-15T05:17:25.519Z] # $SEMVER_BRANCH = master [2021-06-15T05:17:25.519Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-06-15T05:17:29.738Z] $ docker exec --env ******** --env ******** ed02091128e3a2bcef65e836886a4d92690c6f57b6d34b979264d0150d0f1c45 ssh-agent -k [2021-06-15T05:17:29.865Z] unset SSH_AUTH_SOCK; [2021-06-15T05:17:29.865Z] unset SSH_AGENT_PID; [2021-06-15T05:17:29.866Z] echo Agent pid 20 killed; [2021-06-15T05:17:29.880Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-15T05:17:30.221Z] + git semver [Pipeline] } [2021-06-15T05:17:30.237Z] $ docker stop --time=1 ed02091128e3a2bcef65e836886a4d92690c6f57b6d34b979264d0150d0f1c45 [2021-06-15T05:17:31.439Z] $ docker rm -f ed02091128e3a2bcef65e836886a4d92690c6f57b6d34b979264d0150d0f1c45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [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-15T05:17:32.409Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-15T05:17:32.978Z] ---> package-listing.sh [2021-06-15T05:17:32.978Z] ++ facter osfamily [2021-06-15T05:17:32.978Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-15T05:17:33.243Z] + OS_FAMILY=redhat [2021-06-15T05:17:33.243Z] + workspace=/w/workspace/xfoundry_device-modbus-go_master [2021-06-15T05:17:33.243Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-15T05:17:33.243Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-15T05:17:33.243Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-15T05:17:33.243Z] + PACKAGES=/tmp/packages_start.txt [2021-06-15T05:17:33.243Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-06-15T05:17:33.243Z] + PACKAGES=/tmp/packages_end.txt [2021-06-15T05:17:33.243Z] + case "${OS_FAMILY}" in [2021-06-15T05:17:33.243Z] + rpm -qa [2021-06-15T05:17:33.243Z] + sort [2021-06-15T05:17:33.814Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-15T05:17:33.814Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-15T05:17:33.814Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-15T05:17:33.814Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-06-15T05:17:33.814Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ [2021-06-15T05:17:33.814Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_master/archives/ [Pipeline] echo [2021-06-15T05:17:33.826Z] 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_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-15T05:17:34.119Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:17:34.721Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-15T05:17:34.721Z] [2021-06-15T05:17:34.721Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-15T05:17:35.039Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-15T05:17:35.039Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-15T05:17:35.039Z] df20fa9351a1: Pulling fs layer [2021-06-15T05:17:35.039Z] 36b3adc4ff6f: Pulling fs layer [2021-06-15T05:17:35.039Z] 8ad3a11d3b57: Pulling fs layer [2021-06-15T05:17:35.039Z] 46f8f816bc3b: Pulling fs layer [2021-06-15T05:17:35.039Z] 93b61091891f: Pulling fs layer [2021-06-15T05:17:35.039Z] 93b9cdb0e59b: Pulling fs layer [2021-06-15T05:17:35.039Z] 5e14af77c1be: Pulling fs layer [2021-06-15T05:17:35.039Z] 01666e4c0597: Pulling fs layer [2021-06-15T05:17:35.039Z] aa168da1d23b: Pulling fs layer [2021-06-15T05:17:35.039Z] 93b9cdb0e59b: Waiting [2021-06-15T05:17:35.039Z] 5e14af77c1be: Waiting [2021-06-15T05:17:35.039Z] 01666e4c0597: Waiting [2021-06-15T05:17:35.039Z] aa168da1d23b: Waiting [2021-06-15T05:17:35.039Z] 46f8f816bc3b: Waiting [2021-06-15T05:17:35.039Z] 93b61091891f: Waiting [2021-06-15T05:17:35.039Z] 36b3adc4ff6f: Verifying Checksum [2021-06-15T05:17:35.039Z] 36b3adc4ff6f: Download complete [2021-06-15T05:17:35.039Z] 46f8f816bc3b: Verifying Checksum [2021-06-15T05:17:35.039Z] 46f8f816bc3b: Download complete [2021-06-15T05:17:35.039Z] df20fa9351a1: Verifying Checksum [2021-06-15T05:17:35.039Z] df20fa9351a1: Download complete [2021-06-15T05:17:35.039Z] 93b9cdb0e59b: Verifying Checksum [2021-06-15T05:17:35.039Z] 93b9cdb0e59b: Download complete [2021-06-15T05:17:35.039Z] 93b61091891f: Verifying Checksum [2021-06-15T05:17:35.039Z] 93b61091891f: Download complete [2021-06-15T05:17:35.306Z] 5e14af77c1be: Verifying Checksum [2021-06-15T05:17:35.306Z] 5e14af77c1be: Download complete [2021-06-15T05:17:35.306Z] 01666e4c0597: Verifying Checksum [2021-06-15T05:17:35.306Z] 01666e4c0597: Download complete [2021-06-15T05:17:35.306Z] df20fa9351a1: Pull complete [2021-06-15T05:17:35.306Z] 8ad3a11d3b57: Verifying Checksum [2021-06-15T05:17:35.306Z] 8ad3a11d3b57: Download complete [2021-06-15T05:17:35.618Z] 36b3adc4ff6f: Pull complete [2021-06-15T05:17:36.223Z] 8ad3a11d3b57: Pull complete [2021-06-15T05:17:36.223Z] 46f8f816bc3b: Pull complete [2021-06-15T05:17:36.483Z] 93b61091891f: Pull complete [2021-06-15T05:17:36.483Z] 93b9cdb0e59b: Pull complete [2021-06-15T05:17:36.483Z] 5e14af77c1be: Pull complete [2021-06-15T05:17:36.483Z] 01666e4c0597: Pull complete [2021-06-15T05:17:37.056Z] aa168da1d23b: Verifying Checksum [2021-06-15T05:17:37.056Z] aa168da1d23b: Download complete [2021-06-15T05:17:41.326Z] aa168da1d23b: Pull complete [2021-06-15T05:17:41.326Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-15T05:17:41.326Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-15T05:17:41.326Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-15T05:17:41.398Z] prd-centos7-docker-4c-2g-1422 does not seem to be running inside a container [2021-06-15T05:17:41.444Z] $ 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_master/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_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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:10003/edgex-lftools-log-publisher:alpine cat [2021-06-15T05:17:44.093Z] $ docker top 7d2f74e618e2884b54d6d33b7381f7e613679e12e16d57b320eb5308beee1ac1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-15T05:17:44.463Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-15T05:17:44.760Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-15T05:17:45.054Z] + ls /var/log/sa-host [2021-06-15T05:17:45.054Z] + sadf -c /var/log/sa-host/sa05 [2021-06-15T05:17:45.054Z] file_magic: OK [2021-06-15T05:17:45.054Z] HZ: Using current value: 100 [2021-06-15T05:17:45.054Z] file_header: OK [2021-06-15T05:17:45.054Z] 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-15T05:17:45.054Z] Statistics: [2021-06-15T05:17:45.054Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-15T05:17:45.054Z] File successfully converted to sysstat format version 12.2.1 [2021-06-15T05:17:45.054Z] + sadf -c /var/log/sa-host/sa15 [2021-06-15T05:17:45.054Z] file_magic: OK [2021-06-15T05:17:45.054Z] HZ: Using current value: 100 [2021-06-15T05:17:45.054Z] file_header: OK [2021-06-15T05:17:45.054Z] 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-15T05:17:45.054Z] Statistics: [2021-06-15T05:17:45.054Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-15T05:17:45.054Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-15T05:17:45.221Z] provisioning config files... [2021-06-15T05:17:45.238Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2291797343019167871tmp [Pipeline] { [Pipeline] echo [2021-06-15T05:17:45.262Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-15T05:17:45.556Z] ---> create-netrc.sh [Pipeline] } [2021-06-15T05:17:45.564Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-15T05:17:45.934Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-15T05:17:45.945Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-15T05:17:46.248Z] ---> sudo-logs.sh [2021-06-15T05:17:46.248Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-15T05:17:46.276Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-15T05:17:46.570Z] ---> job-cost.sh [2021-06-15T05:17:46.570Z] lf-activate-venv: SKIPPING [2021-06-15T05:17:46.570Z] DEBUG: total: 0.18000000715255737 [2021-06-15T05:17:46.570Z] INFO: Retrieving Stack Cost... [2021-06-15T05:17:47.143Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-15T05:17:47.715Z] INFO: Archiving Costs [Pipeline] echo [2021-06-15T05:17:47.729Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-15T05:17:48.022Z] ---> logs-deploy.sh [2021-06-15T05:17:48.023Z] lf-activate-venv: SKIPPING [2021-06-15T05:17:48.023Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/56 [2021-06-15T05:17:48.023Z] INFO: archiving workspace using pattern(s):