Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 94aa4268434e23c8f700f751c1eb2cf3b0794e00 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1006 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_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.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 94aa4268434e23c8f700f751c1eb2cf3b0794e00 (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 remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 94aa4268434e23c8f700f751c1eb2cf3b0794e00 # timeout=10 Commit message: "Merge pull request #225 from soda480/US149" > git rev-list --no-walk 81056913ade62285a0719976c4ebc3b61d7097b7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-19T22:39:29.932Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-19T22:39:30.017Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-19T22:39:30.043Z] ========================================================= [2021-04-19T22:39:30.043Z] EdgeX Global Pipelines Version Info [2021-04-19T22:39:30.043Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:39:31.555Z] ------------------- [2021-04-19T22:39:31.555Z] stable info: [2021-04-19T22:39:31.555Z] ------------------- [2021-04-19T22:39:31.555Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-19T22:39:31.555Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-19T22:39:31.555Z] Message: update stable to v1.0.186 [2021-04-19T22:39:32.501Z] ------------------- [2021-04-19T22:39:32.501Z] experimental info: [2021-04-19T22:39:32.501Z] ------------------- [2021-04-19T22:39:32.501Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-19T22:39:32.501Z] Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 [2021-04-19T22:39:32.501Z] Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-19T22:39:32.616Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-04-19T22:39:32.647Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-04-19T22:39:32.670Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-19T22:39:32.695Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-19T22:39:32.720Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-19T22:39:32.742Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-19T22:39:32.765Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-19T22:39:32.787Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-19T22:39:32.810Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-19T22:39:32.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-19T22:39:32.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-19T22:39:32.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo [2021-04-19T22:39:32.967Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-19T22:39:32.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-19T22:39:33.018Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-19T22:39:33.043Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-04-19T22:39:33.065Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-19T22:39:33.089Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-19T22:39:33.112Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-19T22:39:33.136Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-04-19T22:39:33.163Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-04-19T22:39:33.215Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-04-19T22:39:33.241Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-19T22:39:33.271Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-19T22:39:33.296Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-19T22:39:33.319Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-19T22:39:33.344Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-04-19T22:39:33.368Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-04-19T22:39:33.392Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-04-19T22:39:33.416Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 94aa4268434e23c8f700f751c1eb2cf3b0794e00 [Pipeline] echo [2021-04-19T22:39:33.438Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 94aa426 [Pipeline] echo [2021-04-19T22:39:33.463Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T22:39:33.557Z] provisioning config files... [2021-04-19T22:39:33.591Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config8443770153210125874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:39:33.919Z] ---> docker-login.sh [2021-04-19T22:39:33.919Z] nexus3.edgexfoundry.org:10001 [2021-04-19T22:39:34.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:39:34.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:39:34.449Z] Configure a credential helper to remove this warning. See [2021-04-19T22:39:34.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:39:34.449Z] [2021-04-19T22:39:34.449Z] Login Succeeded [2021-04-19T22:39:34.449Z] nexus3.edgexfoundry.org:10002 [2021-04-19T22:39:34.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:39:34.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:39:34.712Z] Configure a credential helper to remove this warning. See [2021-04-19T22:39:34.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:39:34.712Z] [2021-04-19T22:39:34.712Z] Login Succeeded [2021-04-19T22:39:34.712Z] nexus3.edgexfoundry.org:10003 [2021-04-19T22:39:34.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:39:34.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:39:34.975Z] Configure a credential helper to remove this warning. See [2021-04-19T22:39:34.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:39:34.975Z] [2021-04-19T22:39:34.975Z] Login Succeeded [2021-04-19T22:39:34.975Z] nexus3.edgexfoundry.org:10004 [2021-04-19T22:39:34.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:39:34.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:39:34.975Z] Configure a credential helper to remove this warning. See [2021-04-19T22:39:34.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:39:34.975Z] [2021-04-19T22:39:34.975Z] Login Succeeded [2021-04-19T22:39:34.975Z] docker.io [2021-04-19T22:39:35.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:39:35.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:39:35.507Z] Configure a credential helper to remove this warning. See [2021-04-19T22:39:35.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:39:35.507Z] [2021-04-19T22:39:35.507Z] Login Succeeded [2021-04-19T22:39:35.507Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T22:39:35.518Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T22:39:35.960Z] + git log --format=format:%s -1 94aa4268434e23c8f700f751c1eb2cf3b0794e00 [Pipeline] echo [2021-04-19T22:39:36.045Z] GIT_COMMIT: 94aa4268434e23c8f700f751c1eb2cf3b0794e00, Commit Message: Merge pull request #225 from soda480/US149 [Pipeline] echo [2021-04-19T22:39:36.057Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:39:36.613Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T22:39:36.613Z] [2021-04-19T22:39:36.613Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:39:36.940Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T22:39:36.940Z] latest: Pulling from edgex-devops/git-semver [2021-04-19T22:39:36.940Z] 31603596830f: Pulling fs layer [2021-04-19T22:39:36.940Z] 2a8b12db71e7: Pulling fs layer [2021-04-19T22:39:36.940Z] 6ca5941a6612: Pulling fs layer [2021-04-19T22:39:36.940Z] ecc8261a40a4: Pulling fs layer [2021-04-19T22:39:36.940Z] ecc8261a40a4: Waiting [2021-04-19T22:39:36.940Z] 2a8b12db71e7: Verifying Checksum [2021-04-19T22:39:36.940Z] 2a8b12db71e7: Download complete [2021-04-19T22:39:37.222Z] 31603596830f: Verifying Checksum [2021-04-19T22:39:37.222Z] 31603596830f: Download complete [2021-04-19T22:39:37.222Z] ecc8261a40a4: Verifying Checksum [2021-04-19T22:39:37.222Z] ecc8261a40a4: Download complete [2021-04-19T22:39:37.222Z] 6ca5941a6612: Verifying Checksum [2021-04-19T22:39:37.222Z] 6ca5941a6612: Download complete [2021-04-19T22:39:37.493Z] 31603596830f: Pull complete [2021-04-19T22:39:37.761Z] 2a8b12db71e7: Pull complete [2021-04-19T22:39:38.735Z] 6ca5941a6612: Pull complete [2021-04-19T22:39:38.999Z] ecc8261a40a4: Pull complete [2021-04-19T22:39:38.999Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-19T22:39:38.999Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T22:39:38.999Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-19T22:39:39.117Z] prd-centos7-docker-4c-2g-1006 does not seem to be running inside a container [2021-04-19T22:39:39.196Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-19T22:39:41.398Z] $ docker top 6303e1d6579290ef8ae638a41cbfd71d3e7b5a0509fa541e6e63f072e2263a64 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-19T22:39:41.568Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T22:39:41.568Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T22:39:41.810Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T22:39:41.824Z] $ docker exec 6303e1d6579290ef8ae638a41cbfd71d3e7b5a0509fa541e6e63f072e2263a64 ssh-agent [2021-04-19T22:39:41.999Z] SSH_AUTH_SOCK=/tmp/ssh-QY2y0fY1AjzI/agent.11 [2021-04-19T22:39:41.999Z] SSH_AGENT_PID=17 [2021-04-19T22:39:42.011Z] Running ssh-add (command line suppressed) [2021-04-19T22:39:42.156Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7751953168536865133.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7751953168536865133.key) [2021-04-19T22:39:42.203Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T22:39:42.512Z] + git tag --points-at HEAD [Pipeline] } [2021-04-19T22:39:42.545Z] $ docker exec --env ******** --env ******** 6303e1d6579290ef8ae638a41cbfd71d3e7b5a0509fa541e6e63f072e2263a64 ssh-agent -k [2021-04-19T22:39:42.676Z] unset SSH_AUTH_SOCK; [2021-04-19T22:39:42.676Z] unset SSH_AGENT_PID; [2021-04-19T22:39:42.676Z] echo Agent pid 17 killed; [2021-04-19T22:39:42.729Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-19T22:39:42.766Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T22:39:42.766Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T22:39:42.942Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T22:39:42.956Z] $ docker exec 6303e1d6579290ef8ae638a41cbfd71d3e7b5a0509fa541e6e63f072e2263a64 ssh-agent [2021-04-19T22:39:43.129Z] SSH_AUTH_SOCK=/tmp/ssh-kXo5J2OTdk8A/agent.48 [2021-04-19T22:39:43.129Z] SSH_AGENT_PID=53 [2021-04-19T22:39:43.138Z] Running ssh-add (command line suppressed) [2021-04-19T22:39:43.280Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_8448719319542794055.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_8448719319542794055.key) [2021-04-19T22:39:43.342Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T22:39:43.657Z] + git semver init [2021-04-19T22:39:43.657Z] # -> Open(): unable to determine branch for HEAD [2021-04-19T22:39:43.657Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-04-19T22:39:43.657Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-04-19T22:39:43.657Z] # $SEMVER_REMOTE_NAME = origin [2021-04-19T22:39:43.657Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-19T22:39:43.657Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-19T22:39:43.657Z] # $SEMVER_BRANCH = master [2021-04-19T22:39:43.657Z] # $SEMVER_TEMP = /tmp/semver-614919348 [2021-04-19T22:39:43.657Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-04-19T22:39:43.923Z] # '/tmp/semver-614919348' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' [2021-04-19T22:39:43.923Z] # -> Force: false [2021-04-19T22:39:43.923Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-04-19T22:39:43.947Z] $ docker exec --env ******** --env ******** 6303e1d6579290ef8ae638a41cbfd71d3e7b5a0509fa541e6e63f072e2263a64 ssh-agent -k [2021-04-19T22:39:44.074Z] unset SSH_AUTH_SOCK; [2021-04-19T22:39:44.075Z] unset SSH_AGENT_PID; [2021-04-19T22:39:44.075Z] echo Agent pid 53 killed; [2021-04-19T22:39:44.117Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-19T22:39:44.466Z] + git semver [Pipeline] } [2021-04-19T22:39:44.493Z] $ docker stop --time=1 6303e1d6579290ef8ae638a41cbfd71d3e7b5a0509fa541e6e63f072e2263a64 [2021-04-19T22:39:45.916Z] $ docker rm -f 6303e1d6579290ef8ae638a41cbfd71d3e7b5a0509fa541e6e63f072e2263a64 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T22:39:46.320Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-19T22:39:46.703Z] Stashed 1 file(s) [Pipeline] echo [2021-04-19T22:39:46.706Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.5 [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-04-19T22:40:01.864Z] Still waiting to schedule task [2021-04-19T22:40:01.864Z] ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-958’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-1005’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-949’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-1007’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-04-19T22:40:01.866Z] Still waiting to schedule task [2021-04-19T22:40:01.866Z] ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-builder-2c-1g-958’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-1005’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-8c-8g-949’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-1007’ is offline [2021-04-19T22:41:33.674Z] Running on prd-centos7-docker-4c-2g-1012 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-04-19T22:41:33.692Z] Running in /w/workspace/device-modbus-go/43 [Pipeline] { [Pipeline] checkout [2021-04-19T22:41:36.565Z] using credential edgex-jenkins-ssh [2021-04-19T22:41:36.598Z] Cloning the remote Git repository [2021-04-19T22:41:36.638Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-04-19T22:41:36.707Z] > git init /w/workspace/device-modbus-go/43 # timeout=10 [2021-04-19T22:41:36.769Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-04-19T22:41:36.769Z] > git --version # timeout=10 [2021-04-19T22:41:36.777Z] > git --version # 'git version 2.24.3' [2021-04-19T22:41:36.778Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T22:41:36.817Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T22:41:37.856Z] Checking out Revision 94aa4268434e23c8f700f751c1eb2cf3b0794e00 (master) [2021-04-19T22:41:37.371Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-04-19T22:41:37.381Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T22:41:37.397Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-04-19T22:41:37.413Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-04-19T22:41:37.414Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T22:41:37.419Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-19T22:41:37.865Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T22:41:37.873Z] > git checkout -f 94aa4268434e23c8f700f751c1eb2cf3b0794e00 # timeout=10 [2021-04-19T22:41:41.608Z] Commit message: "Merge pull request #225 from soda480/US149" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T22:41:42.546Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-19T22:41:42.874Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-19T22:41:43.173Z] + sudo service docker restart [2021-04-19T22:41:43.173Z] + true [2021-04-19T22:41:43.173Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T22:41:44.162Z] provisioning config files... [2021-04-19T22:41:44.196Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/43@tmp/config364729546532306633tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:41:44.528Z] ---> docker-login.sh [2021-04-19T22:41:44.528Z] nexus3.edgexfoundry.org:10001 [2021-04-19T22:41:44.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:41:45.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:41:45.053Z] Configure a credential helper to remove this warning. See [2021-04-19T22:41:45.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:41:45.053Z] [2021-04-19T22:41:45.053Z] Login Succeeded [2021-04-19T22:41:45.053Z] nexus3.edgexfoundry.org:10002 [2021-04-19T22:41:45.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:41:45.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:41:45.053Z] Configure a credential helper to remove this warning. See [2021-04-19T22:41:45.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:41:45.053Z] [2021-04-19T22:41:45.053Z] Login Succeeded [2021-04-19T22:41:45.053Z] nexus3.edgexfoundry.org:10003 [2021-04-19T22:41:45.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:41:45.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:41:45.315Z] Configure a credential helper to remove this warning. See [2021-04-19T22:41:45.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:41:45.315Z] [2021-04-19T22:41:45.315Z] Login Succeeded [2021-04-19T22:41:45.316Z] nexus3.edgexfoundry.org:10004 [2021-04-19T22:41:45.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:41:45.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:41:45.579Z] Configure a credential helper to remove this warning. See [2021-04-19T22:41:45.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:41:45.579Z] [2021-04-19T22:41:45.579Z] Login Succeeded [2021-04-19T22:41:45.579Z] docker.io [2021-04-19T22:41:45.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:41:45.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:41:45.844Z] Configure a credential helper to remove this warning. See [2021-04-19T22:41:45.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:41:45.844Z] [2021-04-19T22:41:45.844Z] Login Succeeded [2021-04-19T22:41:45.844Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T22:41:45.856Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-19T22:41:46.037Z] ========================================================= [2021-04-19T22:41:46.037Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-19T22:41:46.037Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:41:46.346Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-04-19T22:41:46.346Z] Sending build context to Docker daemon 588.3kB [2021-04-19T22:41:46.346Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T22:41:46.346Z] Step 2/8 : FROM ${BASE} [2021-04-19T22:41:46.619Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-19T22:41:46.619Z] 188c0c94c7c5: Pulling fs layer [2021-04-19T22:41:46.619Z] 0ef7d3d256c8: Pulling fs layer [2021-04-19T22:41:46.619Z] de9db76c5a1d: Pulling fs layer [2021-04-19T22:41:46.619Z] bca2f99d35d6: Pulling fs layer [2021-04-19T22:41:46.619Z] 93359f2a8cfa: Pulling fs layer [2021-04-19T22:41:46.619Z] 7c6f9722023f: Pulling fs layer [2021-04-19T22:41:46.619Z] a35cf1a2eb13: Pulling fs layer [2021-04-19T22:41:46.619Z] 7c6f9722023f: Waiting [2021-04-19T22:41:46.619Z] bca2f99d35d6: Waiting [2021-04-19T22:41:46.619Z] 93359f2a8cfa: Waiting [2021-04-19T22:41:46.619Z] a35cf1a2eb13: Waiting [2021-04-19T22:41:46.619Z] de9db76c5a1d: Verifying Checksum [2021-04-19T22:41:46.619Z] de9db76c5a1d: Download complete [2021-04-19T22:41:46.619Z] 0ef7d3d256c8: Verifying Checksum [2021-04-19T22:41:46.619Z] 0ef7d3d256c8: Download complete [2021-04-19T22:41:46.619Z] 93359f2a8cfa: Verifying Checksum [2021-04-19T22:41:46.619Z] 93359f2a8cfa: Download complete [2021-04-19T22:41:46.619Z] 7c6f9722023f: Verifying Checksum [2021-04-19T22:41:46.619Z] 7c6f9722023f: Download complete [2021-04-19T22:41:46.619Z] 188c0c94c7c5: Verifying Checksum [2021-04-19T22:41:46.619Z] 188c0c94c7c5: Download complete [2021-04-19T22:41:46.886Z] 188c0c94c7c5: Pull complete [2021-04-19T22:41:47.150Z] 0ef7d3d256c8: Pull complete [2021-04-19T22:41:47.418Z] de9db76c5a1d: Pull complete [2021-04-19T22:41:48.372Z] a35cf1a2eb13: Verifying Checksum [2021-04-19T22:41:48.372Z] a35cf1a2eb13: Download complete [2021-04-19T22:41:48.949Z] bca2f99d35d6: Verifying Checksum [2021-04-19T22:41:48.949Z] bca2f99d35d6: Download complete [2021-04-19T22:41:54.307Z] bca2f99d35d6: Pull complete [2021-04-19T22:41:54.307Z] 93359f2a8cfa: Pull complete [2021-04-19T22:41:54.574Z] 7c6f9722023f: Pull complete [2021-04-19T22:42:02.775Z] a35cf1a2eb13: Pull complete [2021-04-19T22:42:02.775Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-19T22:42:02.775Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-19T22:42:02.775Z] ---> a62c8e92a672 [2021-04-19T22:42:02.775Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-04-19T22:42:02.775Z] ---> Running in f60d840bec5f [2021-04-19T22:42:02.775Z] Removing intermediate container f60d840bec5f [2021-04-19T22:42:02.775Z] ---> da34ad58320e [2021-04-19T22:42:02.775Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:42:02.775Z] ---> Running in ff2bbb40be6a [2021-04-19T22:42:03.730Z] Removing intermediate container ff2bbb40be6a [2021-04-19T22:42:03.730Z] ---> 5b547068382a [2021-04-19T22:42:03.730Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-04-19T22:42:03.730Z] ---> Running in 57d74290f57f [2021-04-19T22:42:04.684Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T22:42:05.262Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T22:42:05.524Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-04-19T22:42:05.789Z] (2/13) Installing libsodium (1.0.18-r0) [2021-04-19T22:42:05.789Z] (3/13) Installing pkgconf (1.7.2-r0) [2021-04-19T22:42:05.789Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-04-19T22:42:06.057Z] (5/13) Installing openssh-keygen (8.3_p1-r2) [2021-04-19T22:42:06.057Z] (6/13) Installing libedit (20191231.3.1-r0) [2021-04-19T22:42:06.057Z] (7/13) Installing openssh-client (8.3_p1-r2) [2021-04-19T22:42:06.645Z] (8/13) Installing openssh-sftp-server (8.3_p1-r2) [2021-04-19T22:42:06.645Z] (9/13) Installing openssh-server-common (8.3_p1-r2) [2021-04-19T22:42:06.645Z] (10/13) Installing openssh-server (8.3_p1-r2) [2021-04-19T22:42:06.645Z] (11/13) Installing openssh (8.3_p1-r2) [2021-04-19T22:42:06.914Z] (12/13) Installing libzmq (4.3.3-r0) [2021-04-19T22:42:06.914Z] (13/13) Installing zeromq-dev (4.3.3-r0) [2021-04-19T22:42:06.914Z] Executing busybox-1.31.1-r19.trigger [2021-04-19T22:42:06.914Z] OK: 173 MiB in 52 packages [2021-04-19T22:42:07.866Z] Removing intermediate container 57d74290f57f [2021-04-19T22:42:07.866Z] ---> 7fe40a1ca964 [2021-04-19T22:42:07.866Z] Step 6/8 : WORKDIR /device-modbus-go [2021-04-19T22:42:07.866Z] ---> Running in e5c301762fad [2021-04-19T22:42:07.866Z] Removing intermediate container e5c301762fad [2021-04-19T22:42:07.866Z] ---> bcfd79c1adee [2021-04-19T22:42:07.866Z] Step 7/8 : COPY . . [2021-04-19T22:42:08.824Z] ---> b7aed55cc7a4 [2021-04-19T22:42:08.824Z] Step 8/8 : RUN go mod download [2021-04-19T22:42:08.824Z] ---> Running in 9c6f1efa9bd3 [2021-04-19T22:42:30.949Z] Removing intermediate container 9c6f1efa9bd3 [2021-04-19T22:42:30.949Z] ---> bd2c29a895d9 [2021-04-19T22:42:30.949Z] Successfully built bd2c29a895d9 [2021-04-19T22:42:30.949Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:42:31.273Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-19T22:42:31.273Z] . [Pipeline] withDockerContainer [2021-04-19T22:42:31.498Z] prd-centos7-docker-4c-2g-1012 does not seem to be running inside a container [2021-04-19T22:42:31.643Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/43 -v /w/workspace/device-modbus-go/43:/w/workspace/device-modbus-go/43:rw,z -v /w/workspace/device-modbus-go/43@tmp:/w/workspace/device-modbus-go/43@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 ******** ci-base-image-x86_64 cat [2021-04-19T22:42:32.916Z] $ docker top d0fd9eb40f425eeb4a2bd3a5d89de8ed8597a8a2f823f69883dfa93d0672ae7d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T22:42:33.345Z] + go version [2021-04-19T22:42:33.345Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-19T22:42:33.361Z] $ docker stop --time=1 d0fd9eb40f425eeb4a2bd3a5d89de8ed8597a8a2f823f69883dfa93d0672ae7d [2021-04-19T22:42:34.724Z] $ docker rm -f d0fd9eb40f425eeb4a2bd3a5d89de8ed8597a8a2f823f69883dfa93d0672ae7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:42:35.260Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-19T22:42:35.260Z] . [Pipeline] withDockerContainer [2021-04-19T22:42:35.363Z] prd-centos7-docker-4c-2g-1012 does not seem to be running inside a container [2021-04-19T22:42:35.416Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/43 -v /w/workspace/device-modbus-go/43:/w/workspace/device-modbus-go/43:rw,z -v /w/workspace/device-modbus-go/43@tmp:/w/workspace/device-modbus-go/43@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 ******** ci-base-image-x86_64 cat [2021-04-19T22:42:36.133Z] $ docker top 9de7cd22b61a4cc4ee9af9b284d1293fb3013266fc944fe303778db3cfa2b131 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T22:42:36.640Z] + make test [2021-04-19T22:42:36.640Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-04-19T22:42:37.617Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-04-19T22:42:52.871Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-04-19T22:42:52.871Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 50.1% of statements [2021-04-19T22:42:52.871Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-19T22:42:54.319Z] gofmt -l . [2021-04-19T22:42:54.319Z] [ "`gofmt -l .`" = "" ] [2021-04-19T22:42:54.319Z] ./bin/test-attribution-txt.sh [2021-04-19T22:42:55.278Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-19T22:42:55.564Z] $ docker stop --time=1 9de7cd22b61a4cc4ee9af9b284d1293fb3013266fc944fe303778db3cfa2b131 [2021-04-19T22:42:58.025Z] $ docker rm -f 9de7cd22b61a4cc4ee9af9b284d1293fb3013266fc944fe303778db3cfa2b131 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T22:42:58.607Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-19T22:42:58.969Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-19T22:42:59.958Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-19T22:43:00.259Z] + ls -al . [2021-04-19T22:43:00.259Z] total 112 [2021-04-19T22:43:00.259Z] drwxrwxr-x. 9 jenkins jenkins 4096 Apr 19 22:42 . [2021-04-19T22:43:00.259Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 19 22:41 .. [2021-04-19T22:43:00.259Z] -rw-rw-r--. 1 jenkins jenkins 7127 Apr 19 22:41 Attribution.txt [2021-04-19T22:43:00.259Z] drwxrwxr-x. 2 jenkins jenkins 87 Apr 19 22:41 bin [2021-04-19T22:43:00.259Z] drwxrwxr-x. 3 jenkins jenkins 32 Apr 19 22:41 cmd [2021-04-19T22:43:00.259Z] -rw-r--r--. 1 jenkins jenkins 23236 Apr 19 22:42 coverage.out [2021-04-19T22:43:00.259Z] -rw-rw-r--. 1 jenkins jenkins 1457 Apr 19 22:41 Dockerfile [2021-04-19T22:43:00.259Z] -rw-rw-r--. 1 jenkins jenkins 995 Apr 19 22:41 Dockerfile.build [2021-04-19T22:43:00.259Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 19 22:41 .dockerignore [2021-04-19T22:43:00.259Z] drwxrwxr-x. 8 jenkins jenkins 162 Apr 19 22:41 .git [2021-04-19T22:43:00.259Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 19 22:41 .github [2021-04-19T22:43:00.259Z] -rw-rw-r--. 1 jenkins jenkins 338 Apr 19 22:41 .gitignore [2021-04-19T22:43:00.259Z] -rw-r--r--. 1 jenkins jenkins 377 Apr 19 22:42 go.mod [2021-04-19T22:43:00.259Z] -rw-r--r--. 1 jenkins jenkins 21766 Apr 19 22:42 go.sum [2021-04-19T22:43:00.259Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 19 22:41 internal [2021-04-19T22:43:00.259Z] -rw-rw-r--. 1 jenkins jenkins 679 Apr 19 22:41 Jenkinsfile [2021-04-19T22:43:00.259Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 19 22:41 LICENSE [2021-04-19T22:43:00.259Z] -rw-rw-r--. 1 jenkins jenkins 930 Apr 19 22:41 Makefile [2021-04-19T22:43:00.259Z] -rw-rw-r--. 1 jenkins jenkins 2897 Apr 19 22:41 README.md [2021-04-19T22:43:00.259Z] drwxrwxr-x. 2 jenkins jenkins 52 Apr 19 22:41 simulator [2021-04-19T22:43:00.259Z] drwxrwxr-x. 4 jenkins jenkins 71 Apr 19 22:41 snap [2021-04-19T22:43:00.259Z] -rw-rw-r--. 1 jenkins jenkins 11 Apr 19 22:39 VERSION [2021-04-19T22:43:00.259Z] -rw-rw-r--. 1 jenkins jenkins 229 Apr 19 22:41 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:43:00.572Z] + docker build -t docker-device-modbus-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=94aa4268434e23c8f700f751c1eb2cf3b0794e00 --label arch=amd64 --label version=1.3.2-dev.5 . [2021-04-19T22:43:00.836Z] Sending build context to Docker daemon 612.4kB [2021-04-19T22:43:00.836Z] Step 1/21 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T22:43:00.836Z] Step 2/21 : FROM ${BASE} AS builder [2021-04-19T22:43:00.836Z] ---> bd2c29a895d9 [2021-04-19T22:43:00.836Z] Step 3/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:43:00.836Z] ---> Running in 425aa483a571 [2021-04-19T22:43:02.777Z] Removing intermediate container 425aa483a571 [2021-04-19T22:43:02.777Z] ---> 5fa3ac054355 [2021-04-19T22:43:02.777Z] Step 4/21 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-04-19T22:43:02.777Z] ---> Running in 86a85ab00ecc [2021-04-19T22:43:03.040Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T22:43:03.645Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T22:43:03.908Z] OK: 173 MiB in 52 packages [2021-04-19T22:43:04.484Z] Removing intermediate container 86a85ab00ecc [2021-04-19T22:43:04.484Z] ---> 3d0201e33661 [2021-04-19T22:43:04.484Z] Step 5/21 : WORKDIR /device-modbus-go [2021-04-19T22:43:04.484Z] ---> Running in f923a25d8ad1 [2021-04-19T22:43:04.746Z] Removing intermediate container f923a25d8ad1 [2021-04-19T22:43:04.746Z] ---> 0e0e03ae15bd [2021-04-19T22:43:04.746Z] Step 6/21 : COPY . . [2021-04-19T22:43:05.696Z] ---> 24485c41ee8c [2021-04-19T22:43:05.696Z] Step 7/21 : RUN go mod download [2021-04-19T22:43:05.696Z] ---> Running in f9e85733842d [2021-04-19T22:43:06.676Z] Removing intermediate container f9e85733842d [2021-04-19T22:43:06.676Z] ---> 56616e2d7483 [2021-04-19T22:43:06.676Z] Step 8/21 : RUN make build [2021-04-19T22:43:06.676Z] ---> Running in 4fec64e903ee [2021-04-19T22:43:07.257Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.5" -o cmd/device-modbus ./cmd [2021-04-19T22:43:09.543Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1015 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-04-19T22:43:09.561Z] Running in /w/workspace/device-modbus-go/43 [Pipeline] { [Pipeline] checkout [2021-04-19T22:43:15.427Z] using credential edgex-jenkins-ssh [2021-04-19T22:43:15.456Z] Cloning the remote Git repository [2021-04-19T22:43:15.511Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-04-19T22:43:15.618Z] > git init /w/workspace/device-modbus-go/43 # timeout=10 [2021-04-19T22:43:15.731Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-04-19T22:43:15.732Z] > git --version # timeout=10 [2021-04-19T22:43:15.778Z] > git --version # 'git version 2.17.1' [2021-04-19T22:43:15.780Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T22:43:15.882Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T22:43:16.752Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-04-19T22:43:16.774Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T22:43:16.805Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-04-19T22:43:16.833Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-04-19T22:43:16.834Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T22:43:16.847Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-19T22:43:17.331Z] Checking out Revision 94aa4268434e23c8f700f751c1eb2cf3b0794e00 (master) [2021-04-19T22:43:17.354Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T22:43:17.370Z] > git checkout -f 94aa4268434e23c8f700f751c1eb2cf3b0794e00 # timeout=10 [2021-04-19T22:43:19.671Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-04-19T22:43:21.691Z] Commit message: "Merge pull request #225 from soda480/US149" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T22:43:23.136Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-19T22:43:23.575Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-19T22:43:23.902Z] Removing intermediate container 4fec64e903ee [2021-04-19T22:43:23.903Z] ---> f93ade2a0926 [2021-04-19T22:43:23.903Z] Step 9/21 : FROM alpine:3.12 [2021-04-19T22:43:23.903Z] 3.12: Pulling from library/alpine [2021-04-19T22:43:23.903Z] 339de151aab4: Pulling fs layer [2021-04-19T22:43:23.903Z] 339de151aab4: Verifying Checksum [2021-04-19T22:43:23.903Z] 339de151aab4: Download complete [2021-04-19T22:43:23.903Z] 339de151aab4: Pull complete [2021-04-19T22:43:23.934Z] + true [2021-04-19T22:43:23.934Z] + sudo service docker restart [2021-04-19T22:43:24.167Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-19T22:43:24.167Z] Status: Downloaded newer image for alpine:3.12 [2021-04-19T22:43:24.167Z] ---> 13621d1b12d4 [2021-04-19T22:43:24.167Z] Step 10/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-04-19T22:43:24.167Z] ---> Running in 122040b060fb [2021-04-19T22:43:24.435Z] Removing intermediate container 122040b060fb [2021-04-19T22:43:24.435Z] ---> c85576710352 [2021-04-19T22:43:24.435Z] Step 11/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:43:24.435Z] ---> Running in 34622e367e8f [2021-04-19T22:43:25.842Z] Removing intermediate container 34622e367e8f [2021-04-19T22:43:25.842Z] ---> 4898b8ae54fb [2021-04-19T22:43:25.842Z] Step 12/21 : RUN apk add --update --no-cache zeromq dumb-init [2021-04-19T22:43:25.842Z] ---> Running in b9e90537e1b1 [2021-04-19T22:43:26.106Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T22:43:26.608Z] provisioning config files... [2021-04-19T22:43:26.662Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/43@tmp/config4778035672693299372tmp [2021-04-19T22:43:26.683Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:43:27.046Z] ---> docker-login.sh [2021-04-19T22:43:27.046Z] nexus3.edgexfoundry.org:10001 [2021-04-19T22:43:27.258Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-04-19T22:43:27.259Z] (2/6) Installing libgcc (9.3.0-r2) [2021-04-19T22:43:27.259Z] (3/6) Installing libsodium (1.0.18-r0) [2021-04-19T22:43:27.521Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-04-19T22:43:28.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:43:28.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:43:28.304Z] Configure a credential helper to remove this warning. See [2021-04-19T22:43:28.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:43:28.304Z] [2021-04-19T22:43:28.304Z] Login Succeeded [2021-04-19T22:43:28.304Z] nexus3.edgexfoundry.org:10002 [2021-04-19T22:43:28.472Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-19T22:43:28.472Z] (6/6) Installing zeromq (4.3.3-r0) [2021-04-19T22:43:28.472Z] Executing busybox-1.31.1-r20.trigger [2021-04-19T22:43:28.472Z] OK: 8 MiB in 20 packages [2021-04-19T22:43:28.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:43:28.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:43:28.904Z] Configure a credential helper to remove this warning. See [2021-04-19T22:43:28.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:43:28.904Z] [2021-04-19T22:43:28.904Z] Login Succeeded [2021-04-19T22:43:28.904Z] nexus3.edgexfoundry.org:10003 [2021-04-19T22:43:29.053Z] Removing intermediate container b9e90537e1b1 [2021-04-19T22:43:29.053Z] ---> 112c608edc39 [2021-04-19T22:43:29.053Z] Step 13/21 : COPY --from=builder /device-modbus-go/cmd / [2021-04-19T22:43:29.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:43:29.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:43:29.509Z] Configure a credential helper to remove this warning. See [2021-04-19T22:43:29.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:43:29.509Z] [2021-04-19T22:43:29.509Z] Login Succeeded [2021-04-19T22:43:29.509Z] nexus3.edgexfoundry.org:10004 [2021-04-19T22:43:29.632Z] ---> 08c38c6cd003 [2021-04-19T22:43:29.632Z] Step 14/21 : COPY --from=builder /device-modbus-go/LICENSE / [2021-04-19T22:43:29.896Z] ---> e455350aa7f9 [2021-04-19T22:43:29.896Z] Step 15/21 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-04-19T22:43:30.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:43:30.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:43:30.141Z] Configure a credential helper to remove this warning. See [2021-04-19T22:43:30.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:43:30.141Z] [2021-04-19T22:43:30.141Z] Login Succeeded [2021-04-19T22:43:30.141Z] docker.io [2021-04-19T22:43:30.159Z] ---> 4248e0bb5aa5 [2021-04-19T22:43:30.159Z] Step 16/21 : EXPOSE 49991 [2021-04-19T22:43:30.159Z] ---> Running in fe1fd24fd899 [2021-04-19T22:43:30.159Z] Removing intermediate container fe1fd24fd899 [2021-04-19T22:43:30.159Z] ---> 95d111f1aa16 [2021-04-19T22:43:30.159Z] Step 17/21 : ENTRYPOINT ["/device-modbus"] [2021-04-19T22:43:30.423Z] ---> Running in b8c1c6da0f47 [2021-04-19T22:43:30.423Z] Removing intermediate container b8c1c6da0f47 [2021-04-19T22:43:30.423Z] ---> 2623183ba3a5 [2021-04-19T22:43:30.423Z] Step 18/21 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-19T22:43:30.686Z] ---> Running in 8ddd13134875 [2021-04-19T22:43:30.687Z] Removing intermediate container 8ddd13134875 [2021-04-19T22:43:30.687Z] ---> 54a379c86c4f [2021-04-19T22:43:30.687Z] Step 19/21 : LABEL arch=amd64 [2021-04-19T22:43:30.687Z] ---> Running in a59885151b30 [2021-04-19T22:43:30.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:43:30.950Z] Removing intermediate container a59885151b30 [2021-04-19T22:43:30.950Z] ---> 976fe335c6cb [2021-04-19T22:43:30.950Z] Step 20/21 : LABEL git_sha=94aa4268434e23c8f700f751c1eb2cf3b0794e00 [2021-04-19T22:43:30.950Z] ---> Running in 11ca81f86ab2 [2021-04-19T22:43:31.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:43:31.018Z] Configure a credential helper to remove this warning. See [2021-04-19T22:43:31.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:43:31.018Z] [2021-04-19T22:43:31.018Z] Login Succeeded [2021-04-19T22:43:31.018Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T22:43:31.038Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-04-19T22:43:31.213Z] Removing intermediate container 11ca81f86ab2 [2021-04-19T22:43:31.214Z] ---> 95b1df6cbf00 [2021-04-19T22:43:31.214Z] Step 21/21 : LABEL version=1.3.2-dev.5 [2021-04-19T22:43:31.214Z] ---> Running in 53f5c159d524 [Pipeline] echo [2021-04-19T22:43:31.394Z] ========================================================= [2021-04-19T22:43:31.394Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-19T22:43:31.394Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:43:31.476Z] Removing intermediate container 53f5c159d524 [2021-04-19T22:43:31.476Z] ---> 85b03ab9f5be [2021-04-19T22:43:31.476Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-19T22:43:31.476Z] Successfully built 85b03ab9f5be [2021-04-19T22:43:31.476Z] Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T22:43:31.667Z] provisioning config files... [2021-04-19T22:43:31.779Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-04-19T22:43:32.052Z] Sending build context to Docker daemon 587.3kB [2021-04-19T22:43:32.135Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/43@tmp/config5459222553330918422tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:43:32.330Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T22:43:32.330Z] Step 2/8 : FROM ${BASE} [2021-04-19T22:43:32.330Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-19T22:43:32.330Z] 5f621e34cdf4: Pulling fs layer [2021-04-19T22:43:32.330Z] a4357932f1b6: Pulling fs layer [2021-04-19T22:43:32.330Z] 18c013af1878: Pulling fs layer [2021-04-19T22:43:32.330Z] 00ac8860ef70: Pulling fs layer [2021-04-19T22:43:32.330Z] 63d7cb157983: Pulling fs layer [2021-04-19T22:43:32.330Z] b116817d02f9: Pulling fs layer [2021-04-19T22:43:32.330Z] 745a02a5169b: Pulling fs layer [2021-04-19T22:43:32.330Z] 63d7cb157983: Waiting [2021-04-19T22:43:32.330Z] b116817d02f9: Waiting [2021-04-19T22:43:32.330Z] 745a02a5169b: Waiting [2021-04-19T22:43:32.330Z] 00ac8860ef70: Waiting [2021-04-19T22:43:32.330Z] 18c013af1878: Download complete [2021-04-19T22:43:32.330Z] a4357932f1b6: Verifying Checksum [2021-04-19T22:43:32.330Z] a4357932f1b6: Download complete [2021-04-19T22:43:32.330Z] 63d7cb157983: Download complete [2021-04-19T22:43:32.330Z] b116817d02f9: Verifying Checksum [2021-04-19T22:43:32.330Z] b116817d02f9: Download complete [2021-04-19T22:43:32.330Z] 5f621e34cdf4: Verifying Checksum [2021-04-19T22:43:32.330Z] 5f621e34cdf4: Download complete [2021-04-19T22:43:32.469Z] ---> docker-login.sh [2021-04-19T22:43:32.469Z] nexus3.edgexfoundry.org:10001 [2021-04-19T22:43:32.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:43:32.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:43:32.732Z] Configure a credential helper to remove this warning. See [2021-04-19T22:43:32.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:43:32.732Z] [2021-04-19T22:43:32.732Z] Login Succeeded [2021-04-19T22:43:32.732Z] nexus3.edgexfoundry.org:10002 [2021-04-19T22:43:33.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:43:33.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:43:33.006Z] Configure a credential helper to remove this warning. See [2021-04-19T22:43:33.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:43:33.006Z] [2021-04-19T22:43:33.006Z] Login Succeeded [2021-04-19T22:43:33.006Z] nexus3.edgexfoundry.org:10003 [2021-04-19T22:43:33.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:43:33.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:43:33.006Z] Configure a credential helper to remove this warning. See [2021-04-19T22:43:33.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:43:33.006Z] [2021-04-19T22:43:33.006Z] Login Succeeded [2021-04-19T22:43:33.006Z] nexus3.edgexfoundry.org:10004 [2021-04-19T22:43:33.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:43:33.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:43:33.270Z] Configure a credential helper to remove this warning. See [2021-04-19T22:43:33.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:43:33.270Z] [2021-04-19T22:43:33.270Z] Login Succeeded [2021-04-19T22:43:33.270Z] docker.io [2021-04-19T22:43:33.324Z] 5f621e34cdf4: Pull complete [2021-04-19T22:43:33.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:43:33.618Z] a4357932f1b6: Pull complete [2021-04-19T22:43:33.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:43:33.796Z] Configure a credential helper to remove this warning. See [2021-04-19T22:43:33.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:43:33.796Z] [2021-04-19T22:43:33.796Z] Login Succeeded [2021-04-19T22:43:33.796Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T22:43:33.807Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-19T22:43:33.877Z] [edgeXDocker.push] Tagging docker image docker-device-modbus-go with the following tags: [2021-04-19T22:43:33.877Z] 94aa4268434e23c8f700f751c1eb2cf3b0794e00 [2021-04-19T22:43:33.877Z] latest [2021-04-19T22:43:33.877Z] 1.3.2-dev.5 [2021-04-19T22:43:33.877Z] 94aa4268434e23c8f700f751c1eb2cf3b0794e00-1.3.2-dev.5 [2021-04-19T22:43:33.877Z] master [2021-04-19T22:43:33.877Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:43:34.226Z] 18c013af1878: Pull complete [2021-04-19T22:43:34.242Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:94aa4268434e23c8f700f751c1eb2cf3b0794e00 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:43:34.552Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:94aa4268434e23c8f700f751c1eb2cf3b0794e00 [2021-04-19T22:43:34.552Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-04-19T22:43:34.552Z] 7d837638eb89: Preparing [2021-04-19T22:43:34.552Z] ce6dea7153ea: Preparing [2021-04-19T22:43:34.552Z] 84ad475e3ece: Preparing [2021-04-19T22:43:34.552Z] a77ee75a67d1: Preparing [2021-04-19T22:43:34.552Z] b78ed3429977: Preparing [2021-04-19T22:43:34.552Z] 32f366d666a5: Preparing [2021-04-19T22:43:34.552Z] 32f366d666a5: Waiting [2021-04-19T22:43:34.819Z] 7d837638eb89: Pushed [2021-04-19T22:43:34.819Z] ce6dea7153ea: Pushed [2021-04-19T22:43:34.819Z] b78ed3429977: Pushed [2021-04-19T22:43:34.819Z] 32f366d666a5: Layer already exists [2021-04-19T22:43:34.819Z] a77ee75a67d1: Pushed [2021-04-19T22:43:35.221Z] 745a02a5169b: Verifying Checksum [2021-04-19T22:43:35.221Z] 745a02a5169b: Download complete [2021-04-19T22:43:35.775Z] 84ad475e3ece: Pushed [2021-04-19T22:43:35.825Z] 00ac8860ef70: Verifying Checksum [2021-04-19T22:43:35.825Z] 00ac8860ef70: Download complete [2021-04-19T22:43:36.037Z] 94aa4268434e23c8f700f751c1eb2cf3b0794e00: digest: sha256:be235b5e797a50556b663c9951d48406c5369f5a63aab95816c877e410b2a759 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:43:36.346Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:43:36.649Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [2021-04-19T22:43:36.649Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-04-19T22:43:36.649Z] 7d837638eb89: Preparing [2021-04-19T22:43:36.649Z] ce6dea7153ea: Preparing [2021-04-19T22:43:36.649Z] 84ad475e3ece: Preparing [2021-04-19T22:43:36.649Z] a77ee75a67d1: Preparing [2021-04-19T22:43:36.649Z] b78ed3429977: Preparing [2021-04-19T22:43:36.649Z] 32f366d666a5: Preparing [2021-04-19T22:43:36.649Z] 32f366d666a5: Waiting [2021-04-19T22:43:36.649Z] a77ee75a67d1: Layer already exists [2021-04-19T22:43:36.649Z] 84ad475e3ece: Layer already exists [2021-04-19T22:43:36.649Z] 7d837638eb89: Layer already exists [2021-04-19T22:43:36.649Z] b78ed3429977: Layer already exists [2021-04-19T22:43:36.649Z] ce6dea7153ea: Layer already exists [2021-04-19T22:43:36.649Z] 32f366d666a5: Layer already exists [2021-04-19T22:43:36.649Z] latest: digest: sha256:be235b5e797a50556b663c9951d48406c5369f5a63aab95816c877e410b2a759 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:43:36.973Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.2-dev.5 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:43:37.303Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.2-dev.5 [2021-04-19T22:43:37.303Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-04-19T22:43:37.303Z] 7d837638eb89: Preparing [2021-04-19T22:43:37.303Z] ce6dea7153ea: Preparing [2021-04-19T22:43:37.303Z] 84ad475e3ece: Preparing [2021-04-19T22:43:37.303Z] a77ee75a67d1: Preparing [2021-04-19T22:43:37.303Z] b78ed3429977: Preparing [2021-04-19T22:43:37.303Z] 32f366d666a5: Preparing [2021-04-19T22:43:37.303Z] 32f366d666a5: Waiting [2021-04-19T22:43:37.303Z] 7d837638eb89: Layer already exists [2021-04-19T22:43:37.303Z] ce6dea7153ea: Layer already exists [2021-04-19T22:43:37.303Z] b78ed3429977: Layer already exists [2021-04-19T22:43:37.303Z] a77ee75a67d1: Layer already exists [2021-04-19T22:43:37.303Z] 84ad475e3ece: Layer already exists [2021-04-19T22:43:37.303Z] 32f366d666a5: Layer already exists [2021-04-19T22:43:37.303Z] 1.3.2-dev.5: digest: sha256:be235b5e797a50556b663c9951d48406c5369f5a63aab95816c877e410b2a759 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:43:37.615Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:94aa4268434e23c8f700f751c1eb2cf3b0794e00-1.3.2-dev.5 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:43:37.921Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:94aa4268434e23c8f700f751c1eb2cf3b0794e00-1.3.2-dev.5 [2021-04-19T22:43:37.921Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-04-19T22:43:37.921Z] 7d837638eb89: Preparing [2021-04-19T22:43:37.921Z] ce6dea7153ea: Preparing [2021-04-19T22:43:37.921Z] 84ad475e3ece: Preparing [2021-04-19T22:43:37.921Z] a77ee75a67d1: Preparing [2021-04-19T22:43:37.921Z] b78ed3429977: Preparing [2021-04-19T22:43:37.921Z] 32f366d666a5: Preparing [2021-04-19T22:43:37.921Z] 32f366d666a5: Waiting [2021-04-19T22:43:37.921Z] a77ee75a67d1: Layer already exists [2021-04-19T22:43:37.921Z] b78ed3429977: Layer already exists [2021-04-19T22:43:37.921Z] 84ad475e3ece: Layer already exists [2021-04-19T22:43:37.921Z] 7d837638eb89: Layer already exists [2021-04-19T22:43:37.921Z] ce6dea7153ea: Layer already exists [2021-04-19T22:43:37.921Z] 32f366d666a5: Layer already exists [2021-04-19T22:43:37.921Z] 94aa4268434e23c8f700f751c1eb2cf3b0794e00-1.3.2-dev.5: digest: sha256:be235b5e797a50556b663c9951d48406c5369f5a63aab95816c877e410b2a759 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:43:38.230Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:43:38.530Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [2021-04-19T22:43:38.530Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-04-19T22:43:38.530Z] 7d837638eb89: Preparing [2021-04-19T22:43:38.530Z] ce6dea7153ea: Preparing [2021-04-19T22:43:38.530Z] 84ad475e3ece: Preparing [2021-04-19T22:43:38.530Z] a77ee75a67d1: Preparing [2021-04-19T22:43:38.530Z] b78ed3429977: Preparing [2021-04-19T22:43:38.530Z] 32f366d666a5: Preparing [2021-04-19T22:43:38.530Z] 32f366d666a5: Waiting [2021-04-19T22:43:38.530Z] ce6dea7153ea: Layer already exists [2021-04-19T22:43:38.530Z] 84ad475e3ece: Layer already exists [2021-04-19T22:43:38.530Z] 7d837638eb89: Layer already exists [2021-04-19T22:43:38.530Z] b78ed3429977: Layer already exists [2021-04-19T22:43:38.530Z] a77ee75a67d1: Layer already exists [2021-04-19T22:43:38.530Z] 32f366d666a5: Layer already exists [2021-04-19T22:43:38.530Z] master: digest: sha256:be235b5e797a50556b663c9951d48406c5369f5a63aab95816c877e410b2a759 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-19T22:43:38.594Z] ===================================================== [Pipeline] echo [2021-04-19T22:43:38.612Z] taggedImages: [2021-04-19T22:43:38.612Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:94aa4268434e23c8f700f751c1eb2cf3b0794e00 [2021-04-19T22:43:38.612Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [2021-04-19T22:43:38.612Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.2-dev.5 [2021-04-19T22:43:38.612Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:94aa4268434e23c8f700f751c1eb2cf3b0794e00-1.3.2-dev.5 [2021-04-19T22:43:38.612Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go: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-04-19T22:43:39.116Z] ---> job-cost.sh [2021-04-19T22:43:39.117Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-lXOK [2021-04-19T22:43:45.994Z] 00ac8860ef70: Pull complete [2021-04-19T22:43:45.994Z] 63d7cb157983: Pull complete [2021-04-19T22:43:45.994Z] b116817d02f9: Pull complete [2021-04-19T22:43:49.405Z] 745a02a5169b: Pull complete [2021-04-19T22:43:49.405Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-19T22:43:49.405Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-19T22:43:49.405Z] ---> b7e6874047d6 [2021-04-19T22:43:49.405Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-04-19T22:43:52.818Z] ---> Running in 6de59fc3e2a5 [2021-04-19T22:43:53.096Z] Removing intermediate container 6de59fc3e2a5 [2021-04-19T22:43:53.096Z] ---> cbec932d016e [2021-04-19T22:43:53.096Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:43:53.369Z] ---> Running in e63e36253d8a [2021-04-19T22:43:54.072Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-19T22:43:56.006Z] Removing intermediate container e63e36253d8a [2021-04-19T22:43:56.006Z] ---> 3d93362b7c4f [2021-04-19T22:43:56.006Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-04-19T22:43:56.006Z] ---> Running in f584a4a39513 [2021-04-19T22:43:56.991Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T22:43:57.586Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T22:43:58.566Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-04-19T22:43:58.566Z] (2/13) Installing libsodium (1.0.18-r0) [2021-04-19T22:43:58.566Z] (3/13) Installing pkgconf (1.7.2-r0) [2021-04-19T22:43:58.844Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-04-19T22:43:58.844Z] (5/13) Installing openssh-keygen (8.3_p1-r2) [2021-04-19T22:43:59.446Z] (6/13) Installing libedit (20191231.3.1-r0) [2021-04-19T22:43:59.446Z] (7/13) Installing openssh-client (8.3_p1-r2) [2021-04-19T22:44:00.043Z] (8/13) Installing openssh-sftp-server (8.3_p1-r2) [2021-04-19T22:44:00.043Z] (9/13) Installing openssh-server-common (8.3_p1-r2) [2021-04-19T22:44:00.043Z] (10/13) Installing openssh-server (8.3_p1-r2) [2021-04-19T22:44:00.316Z] (11/13) Installing openssh (8.3_p1-r2) [2021-04-19T22:44:00.589Z] (12/13) Installing libzmq (4.3.3-r0) [2021-04-19T22:44:00.861Z] (13/13) Installing zeromq-dev (4.3.3-r0) [2021-04-19T22:44:01.137Z] Executing busybox-1.31.1-r19.trigger [2021-04-19T22:44:01.137Z] OK: 149 MiB in 52 packages [2021-04-19T22:44:03.121Z] Removing intermediate container f584a4a39513 [2021-04-19T22:44:03.121Z] ---> a96516b677d0 [2021-04-19T22:44:03.121Z] Step 6/8 : WORKDIR /device-modbus-go [2021-04-19T22:44:03.121Z] ---> Running in fbc8a24ee778 [2021-04-19T22:44:03.396Z] Removing intermediate container fbc8a24ee778 [2021-04-19T22:44:03.396Z] ---> 2ef808cafbba [2021-04-19T22:44:03.396Z] Step 7/8 : COPY . . [2021-04-19T22:44:04.839Z] ---> 2277ecaf58d5 [2021-04-19T22:44:04.839Z] Step 8/8 : RUN go mod download [2021-04-19T22:44:04.839Z] ---> Running in 29e4618307b0 [2021-04-19T22:44:20.713Z] lf-activate-venv(): INFO: Adding /tmp/venv-lXOK/bin to PATH [2021-04-19T22:44:20.713Z] INFO: No Stack... [2021-04-19T22:44:20.977Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-19T22:44:22.905Z] INFO: Archiving Costs [Pipeline] sh [2021-04-19T22:44:23.278Z] + cat /w/workspace/device-modbus-go/43/archives/cost.csv [2021-04-19T22:44:23.278Z] + cut -d, -f6 [Pipeline] lock [2021-04-19T22:44:23.365Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-43-stack-cost] [2021-04-19T22:44:23.373Z] Resource [jenkins-edgexfoundry-device-modbus-go-master-43-stack-cost] did not exist. Created. [2021-04-19T22:44:23.373Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-19T22:44:23.709Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-19T22:44:23.874Z] Stashed 1 file(s) [Pipeline] } [2021-04-19T22:44:23.885Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-43-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-19T22:44:31.650Z] Removing intermediate container 29e4618307b0 [2021-04-19T22:44:31.650Z] ---> bd8b65cbe455 [2021-04-19T22:44:31.650Z] Successfully built bd8b65cbe455 [2021-04-19T22:44:31.650Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:44:32.000Z] + docker inspect -f . ci-base-image-arm64 [2021-04-19T22:44:32.000Z] . [Pipeline] withDockerContainer [2021-04-19T22:44:32.242Z] prd-ubuntu18.04-docker-arm64-4c-16g-1015 does not seem to be running inside a container [2021-04-19T22:44:32.345Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/43 -v /w/workspace/device-modbus-go/43:/w/workspace/device-modbus-go/43:rw,z -v /w/workspace/device-modbus-go/43@tmp:/w/workspace/device-modbus-go/43@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 ******** ci-base-image-arm64 cat [2021-04-19T22:44:33.724Z] $ docker top 955affe696b8d64b316fe7e5f20fbe03b6fc08796411669fdd40a073a0e9bba5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T22:44:34.626Z] + go version [2021-04-19T22:44:34.626Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-19T22:44:34.655Z] $ docker stop --time=1 955affe696b8d64b316fe7e5f20fbe03b6fc08796411669fdd40a073a0e9bba5 [2021-04-19T22:44:36.562Z] $ docker rm -f 955affe696b8d64b316fe7e5f20fbe03b6fc08796411669fdd40a073a0e9bba5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:44:37.256Z] + docker inspect -f . ci-base-image-arm64 [2021-04-19T22:44:37.256Z] . [Pipeline] withDockerContainer [2021-04-19T22:44:37.513Z] prd-ubuntu18.04-docker-arm64-4c-16g-1015 does not seem to be running inside a container [2021-04-19T22:44:37.619Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/43 -v /w/workspace/device-modbus-go/43:/w/workspace/device-modbus-go/43:rw,z -v /w/workspace/device-modbus-go/43@tmp:/w/workspace/device-modbus-go/43@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 ******** ci-base-image-arm64 cat [2021-04-19T22:44:39.072Z] $ docker top cb493bdf69f41cdcc99ba5d93ffb7505b8830b0a85cd04612ab3ed4f5c97755c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T22:44:40.027Z] + make test [2021-04-19T22:44:40.027Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-04-19T22:44:41.474Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-04-19T22:45:28.544Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-04-19T22:45:28.544Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.038s coverage: 50.1% of statements [2021-04-19T22:45:28.544Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-19T22:45:31.935Z] gofmt -l . [2021-04-19T22:45:31.935Z] [ "`gofmt -l .`" = "" ] [2021-04-19T22:45:31.935Z] ./bin/test-attribution-txt.sh [2021-04-19T22:45:32.915Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-19T22:45:33.600Z] $ docker stop --time=1 cb493bdf69f41cdcc99ba5d93ffb7505b8830b0a85cd04612ab3ed4f5c97755c [2021-04-19T22:45:35.885Z] $ docker rm -f cb493bdf69f41cdcc99ba5d93ffb7505b8830b0a85cd04612ab3ed4f5c97755c [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T22:45:36.884Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-19T22:45:36.914Z] Warning: overwriting stash ‘coverage-report’ [2021-04-19T22:45:38.113Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T22:45:38.584Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-19T22:45:38.943Z] + ls -al . [2021-04-19T22:45:38.943Z] total 144 [2021-04-19T22:45:38.943Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 22:45 . [2021-04-19T22:45:38.943Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 22:43 .. [2021-04-19T22:45:38.943Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 19 22:43 .dockerignore [2021-04-19T22:45:38.943Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 22:43 .git [2021-04-19T22:45:38.943Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 22:43 .github [2021-04-19T22:45:38.943Z] -rw-rw-r-- 1 jenkins jenkins 338 Apr 19 22:43 .gitignore [2021-04-19T22:45:38.943Z] -rw-rw-r-- 1 jenkins jenkins 7127 Apr 19 22:43 Attribution.txt [2021-04-19T22:45:38.943Z] -rw-rw-r-- 1 jenkins jenkins 1457 Apr 19 22:43 Dockerfile [2021-04-19T22:45:38.943Z] -rw-rw-r-- 1 jenkins jenkins 995 Apr 19 22:43 Dockerfile.build [2021-04-19T22:45:38.943Z] -rw-rw-r-- 1 jenkins jenkins 679 Apr 19 22:43 Jenkinsfile [2021-04-19T22:45:38.943Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 22:43 LICENSE [2021-04-19T22:45:38.943Z] -rw-rw-r-- 1 jenkins jenkins 930 Apr 19 22:43 Makefile [2021-04-19T22:45:38.943Z] -rw-rw-r-- 1 jenkins jenkins 2897 Apr 19 22:43 README.md [2021-04-19T22:45:38.943Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 19 22:39 VERSION [2021-04-19T22:45:38.943Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 22:43 bin [2021-04-19T22:45:38.943Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 22:43 cmd [2021-04-19T22:45:38.943Z] -rw-r--r-- 1 jenkins jenkins 23236 Apr 19 22:45 coverage.out [2021-04-19T22:45:38.943Z] -rw-r--r-- 1 jenkins jenkins 377 Apr 19 22:45 go.mod [2021-04-19T22:45:38.943Z] -rw-r--r-- 1 jenkins jenkins 21766 Apr 19 22:45 go.sum [2021-04-19T22:45:38.943Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 22:43 internal [2021-04-19T22:45:38.943Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 22:43 simulator [2021-04-19T22:45:38.943Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 22:43 snap [2021-04-19T22:45:38.943Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 19 22:43 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:45:39.303Z] + docker build -t docker-device-modbus-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=94aa4268434e23c8f700f751c1eb2cf3b0794e00 --label arch=arm64 --label version=1.3.2-dev.5 . [2021-04-19T22:45:39.585Z] Sending build context to Docker daemon 611.3kB [2021-04-19T22:45:39.858Z] Step 1/21 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T22:45:39.858Z] Step 2/21 : FROM ${BASE} AS builder [2021-04-19T22:45:39.858Z] ---> bd8b65cbe455 [2021-04-19T22:45:39.859Z] Step 3/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:45:40.140Z] ---> Running in fce79d1966b7 [2021-04-19T22:45:42.793Z] Removing intermediate container fce79d1966b7 [2021-04-19T22:45:42.794Z] ---> 28fe75498ad5 [2021-04-19T22:45:42.794Z] Step 4/21 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-04-19T22:45:42.794Z] ---> Running in 9f4076eeae1b [2021-04-19T22:45:43.778Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T22:45:44.759Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T22:45:45.355Z] OK: 149 MiB in 52 packages [2021-04-19T22:45:46.787Z] Removing intermediate container 9f4076eeae1b [2021-04-19T22:45:46.787Z] ---> 99e98442bc18 [2021-04-19T22:45:46.787Z] Step 5/21 : WORKDIR /device-modbus-go [2021-04-19T22:45:46.787Z] ---> Running in c44fa8d83e33 [2021-04-19T22:45:47.415Z] Removing intermediate container c44fa8d83e33 [2021-04-19T22:45:47.415Z] ---> c7520a3de969 [2021-04-19T22:45:47.415Z] Step 6/21 : COPY . . [2021-04-19T22:45:48.870Z] ---> d411ab54cfbc [2021-04-19T22:45:48.870Z] Step 7/21 : RUN go mod download [2021-04-19T22:45:48.870Z] ---> Running in a576b0039d7a [2021-04-19T22:45:51.490Z] Removing intermediate container a576b0039d7a [2021-04-19T22:45:51.490Z] ---> 22fa9f2107be [2021-04-19T22:45:51.490Z] Step 8/21 : RUN make build [2021-04-19T22:45:51.490Z] ---> Running in 83b7b46f09aa [2021-04-19T22:45:52.471Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.5" -o cmd/device-modbus ./cmd [2021-04-19T22:46:31.474Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-04-19T22:46:39.735Z] Removing intermediate container 83b7b46f09aa [2021-04-19T22:46:39.735Z] ---> 8bac7591ce9f [2021-04-19T22:46:39.735Z] Step 9/21 : FROM alpine:3.12 [2021-04-19T22:46:40.006Z] 3.12: Pulling from library/alpine [2021-04-19T22:46:40.006Z] d2f70382dc9a: Pulling fs layer [2021-04-19T22:46:40.276Z] d2f70382dc9a: Verifying Checksum [2021-04-19T22:46:40.276Z] d2f70382dc9a: Download complete [2021-04-19T22:46:40.888Z] d2f70382dc9a: Pull complete [2021-04-19T22:46:40.888Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-19T22:46:40.888Z] Status: Downloaded newer image for alpine:3.12 [2021-04-19T22:46:40.888Z] ---> 9852663dfa18 [2021-04-19T22:46:40.888Z] Step 10/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-04-19T22:46:41.168Z] ---> Running in cc073262c161 [2021-04-19T22:46:41.775Z] Removing intermediate container cc073262c161 [2021-04-19T22:46:41.775Z] ---> 9b848a46f60f [2021-04-19T22:46:41.775Z] Step 11/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:46:41.775Z] ---> Running in f2f13fac5f8c [2021-04-19T22:46:44.404Z] Removing intermediate container f2f13fac5f8c [2021-04-19T22:46:44.404Z] ---> a8e5d14792f7 [2021-04-19T22:46:44.404Z] Step 12/21 : RUN apk add --update --no-cache zeromq dumb-init [2021-04-19T22:46:44.404Z] ---> Running in 71e5a9af353c [2021-04-19T22:46:45.849Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T22:46:46.441Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T22:46:47.041Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-04-19T22:46:47.041Z] (2/6) Installing libgcc (9.3.0-r2) [2021-04-19T22:46:47.311Z] (3/6) Installing libsodium (1.0.18-r0) [2021-04-19T22:46:47.311Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-04-19T22:46:47.584Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-19T22:46:47.584Z] (6/6) Installing zeromq (4.3.3-r0) [2021-04-19T22:46:47.855Z] Executing busybox-1.31.1-r20.trigger [2021-04-19T22:46:47.855Z] OK: 8 MiB in 20 packages [2021-04-19T22:46:49.282Z] Removing intermediate container 71e5a9af353c [2021-04-19T22:46:49.282Z] ---> c450e923ac05 [2021-04-19T22:46:49.282Z] Step 13/21 : COPY --from=builder /device-modbus-go/cmd / [2021-04-19T22:46:50.259Z] ---> 8016078ceffc [2021-04-19T22:46:50.259Z] Step 14/21 : COPY --from=builder /device-modbus-go/LICENSE / [2021-04-19T22:46:51.247Z] ---> 904eaddd8464 [2021-04-19T22:46:51.247Z] Step 15/21 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-04-19T22:46:51.849Z] ---> 493d2f206017 [2021-04-19T22:46:51.849Z] Step 16/21 : EXPOSE 49991 [2021-04-19T22:46:52.121Z] ---> Running in fa2533783d6c [2021-04-19T22:46:52.394Z] Removing intermediate container fa2533783d6c [2021-04-19T22:46:52.394Z] ---> ab2fe9f55f8a [2021-04-19T22:46:52.394Z] Step 17/21 : ENTRYPOINT ["/device-modbus"] [2021-04-19T22:46:52.668Z] ---> Running in 5a75b0e9ec8a [2021-04-19T22:46:52.941Z] Removing intermediate container 5a75b0e9ec8a [2021-04-19T22:46:52.941Z] ---> fffe6fc18c35 [2021-04-19T22:46:52.941Z] Step 18/21 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-19T22:46:53.211Z] ---> Running in 804d78be53e7 [2021-04-19T22:46:53.483Z] Removing intermediate container 804d78be53e7 [2021-04-19T22:46:53.483Z] ---> 61d490033778 [2021-04-19T22:46:53.483Z] Step 19/21 : LABEL arch=arm64 [2021-04-19T22:46:53.754Z] ---> Running in 470d0c4c590b [2021-04-19T22:46:54.036Z] Removing intermediate container 470d0c4c590b [2021-04-19T22:46:54.036Z] ---> e202f1aaa925 [2021-04-19T22:46:54.036Z] Step 20/21 : LABEL git_sha=94aa4268434e23c8f700f751c1eb2cf3b0794e00 [2021-04-19T22:46:54.310Z] ---> Running in b4ed952ff371 [2021-04-19T22:46:54.584Z] Removing intermediate container b4ed952ff371 [2021-04-19T22:46:54.584Z] ---> 566f1d65ba6c [2021-04-19T22:46:54.584Z] Step 21/21 : LABEL version=1.3.2-dev.5 [2021-04-19T22:46:54.853Z] ---> Running in fce8fb0625d1 [2021-04-19T22:46:55.124Z] Removing intermediate container fce8fb0625d1 [2021-04-19T22:46:55.124Z] ---> 23eaa6e5921e [2021-04-19T22:46:55.124Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-19T22:46:55.394Z] Successfully built 23eaa6e5921e [2021-04-19T22:46:55.394Z] Successfully tagged docker-device-modbus-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T22:46:55.535Z] provisioning config files... [2021-04-19T22:46:55.576Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/43@tmp/config225885169111157443tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:46:55.937Z] ---> docker-login.sh [2021-04-19T22:46:55.937Z] nexus3.edgexfoundry.org:10001 [2021-04-19T22:46:56.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:46:56.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:46:56.208Z] Configure a credential helper to remove this warning. See [2021-04-19T22:46:56.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:46:56.208Z] [2021-04-19T22:46:56.208Z] Login Succeeded [2021-04-19T22:46:56.481Z] nexus3.edgexfoundry.org:10002 [2021-04-19T22:46:56.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:46:56.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:46:56.754Z] Configure a credential helper to remove this warning. See [2021-04-19T22:46:56.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:46:56.754Z] [2021-04-19T22:46:56.754Z] Login Succeeded [2021-04-19T22:46:56.754Z] nexus3.edgexfoundry.org:10003 [2021-04-19T22:46:57.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:46:57.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:46:57.346Z] Configure a credential helper to remove this warning. See [2021-04-19T22:46:57.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:46:57.346Z] [2021-04-19T22:46:57.346Z] Login Succeeded [2021-04-19T22:46:57.346Z] nexus3.edgexfoundry.org:10004 [2021-04-19T22:46:57.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:46:57.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:46:57.956Z] Configure a credential helper to remove this warning. See [2021-04-19T22:46:57.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:46:57.956Z] [2021-04-19T22:46:57.956Z] Login Succeeded [2021-04-19T22:46:57.956Z] docker.io [2021-04-19T22:46:58.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:46:58.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:46:58.825Z] Configure a credential helper to remove this warning. See [2021-04-19T22:46:58.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:46:58.825Z] [2021-04-19T22:46:58.825Z] Login Succeeded [2021-04-19T22:46:58.825Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T22:46:58.845Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-19T22:46:58.911Z] [edgeXDocker.push] Tagging docker image docker-device-modbus-go-arm64 with the following tags: [2021-04-19T22:46:58.911Z] 94aa4268434e23c8f700f751c1eb2cf3b0794e00 [2021-04-19T22:46:58.911Z] latest [2021-04-19T22:46:58.911Z] 1.3.2-dev.5 [2021-04-19T22:46:58.911Z] 94aa4268434e23c8f700f751c1eb2cf3b0794e00-1.3.2-dev.5 [2021-04-19T22:46:58.911Z] master [2021-04-19T22:46:58.911Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:46:59.295Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:94aa4268434e23c8f700f751c1eb2cf3b0794e00 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:46:59.659Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:94aa4268434e23c8f700f751c1eb2cf3b0794e00 [2021-04-19T22:46:59.660Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-04-19T22:46:59.660Z] 7714c91d5b37: Preparing [2021-04-19T22:46:59.660Z] 7eeeb35de13c: Preparing [2021-04-19T22:46:59.660Z] c99e6330c8fa: Preparing [2021-04-19T22:46:59.660Z] e6654ec7e5ff: Preparing [2021-04-19T22:46:59.660Z] d285fa4bd312: Preparing [2021-04-19T22:46:59.660Z] 3fbe34a1663b: Preparing [2021-04-19T22:46:59.660Z] 3fbe34a1663b: Waiting [2021-04-19T22:46:59.934Z] 7eeeb35de13c: Pushed [2021-04-19T22:46:59.934Z] 7714c91d5b37: Pushed [2021-04-19T22:46:59.934Z] d285fa4bd312: Pushed [2021-04-19T22:46:59.934Z] 3fbe34a1663b: Layer already exists [2021-04-19T22:47:00.529Z] e6654ec7e5ff: Pushed [2021-04-19T22:47:03.141Z] c99e6330c8fa: Pushed [2021-04-19T22:47:03.141Z] 94aa4268434e23c8f700f751c1eb2cf3b0794e00: digest: sha256:e0aa275bd93bad4838a3a206aa8fd418cdbe4ae773ea77f2e449f438923c6b10 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:47:03.492Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:47:03.827Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [2021-04-19T22:47:03.827Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-04-19T22:47:03.827Z] 7714c91d5b37: Preparing [2021-04-19T22:47:03.827Z] 7eeeb35de13c: Preparing [2021-04-19T22:47:03.827Z] c99e6330c8fa: Preparing [2021-04-19T22:47:03.827Z] e6654ec7e5ff: Preparing [2021-04-19T22:47:03.827Z] d285fa4bd312: Preparing [2021-04-19T22:47:03.827Z] 3fbe34a1663b: Preparing [2021-04-19T22:47:03.827Z] 3fbe34a1663b: Waiting [2021-04-19T22:47:03.827Z] d285fa4bd312: Layer already exists [2021-04-19T22:47:03.827Z] 7714c91d5b37: Layer already exists [2021-04-19T22:47:03.827Z] 7eeeb35de13c: Layer already exists [2021-04-19T22:47:03.827Z] e6654ec7e5ff: Layer already exists [2021-04-19T22:47:03.827Z] c99e6330c8fa: Layer already exists [2021-04-19T22:47:03.827Z] 3fbe34a1663b: Layer already exists [2021-04-19T22:47:04.098Z] latest: digest: sha256:e0aa275bd93bad4838a3a206aa8fd418cdbe4ae773ea77f2e449f438923c6b10 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:47:04.437Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.2-dev.5 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:47:04.773Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.2-dev.5 [2021-04-19T22:47:04.773Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-04-19T22:47:04.773Z] 7714c91d5b37: Preparing [2021-04-19T22:47:04.773Z] 7eeeb35de13c: Preparing [2021-04-19T22:47:04.773Z] c99e6330c8fa: Preparing [2021-04-19T22:47:04.773Z] e6654ec7e5ff: Preparing [2021-04-19T22:47:04.773Z] d285fa4bd312: Preparing [2021-04-19T22:47:04.773Z] 3fbe34a1663b: Preparing [2021-04-19T22:47:04.773Z] 3fbe34a1663b: Waiting [2021-04-19T22:47:05.044Z] 7714c91d5b37: Layer already exists [2021-04-19T22:47:05.044Z] d285fa4bd312: Layer already exists [2021-04-19T22:47:05.044Z] e6654ec7e5ff: Layer already exists [2021-04-19T22:47:05.044Z] 7eeeb35de13c: Layer already exists [2021-04-19T22:47:05.044Z] c99e6330c8fa: Layer already exists [2021-04-19T22:47:05.044Z] 3fbe34a1663b: Layer already exists [2021-04-19T22:47:05.044Z] 1.3.2-dev.5: digest: sha256:e0aa275bd93bad4838a3a206aa8fd418cdbe4ae773ea77f2e449f438923c6b10 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:47:05.385Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:94aa4268434e23c8f700f751c1eb2cf3b0794e00-1.3.2-dev.5 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:47:05.726Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:94aa4268434e23c8f700f751c1eb2cf3b0794e00-1.3.2-dev.5 [2021-04-19T22:47:05.726Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-04-19T22:47:05.726Z] 7714c91d5b37: Preparing [2021-04-19T22:47:05.726Z] 7eeeb35de13c: Preparing [2021-04-19T22:47:05.726Z] c99e6330c8fa: Preparing [2021-04-19T22:47:05.726Z] e6654ec7e5ff: Preparing [2021-04-19T22:47:05.726Z] d285fa4bd312: Preparing [2021-04-19T22:47:05.726Z] 3fbe34a1663b: Preparing [2021-04-19T22:47:05.726Z] 3fbe34a1663b: Waiting [2021-04-19T22:47:05.726Z] d285fa4bd312: Layer already exists [2021-04-19T22:47:05.726Z] c99e6330c8fa: Layer already exists [2021-04-19T22:47:05.726Z] 7714c91d5b37: Layer already exists [2021-04-19T22:47:05.726Z] e6654ec7e5ff: Layer already exists [2021-04-19T22:47:05.726Z] 7eeeb35de13c: Layer already exists [2021-04-19T22:47:05.726Z] 3fbe34a1663b: Layer already exists [2021-04-19T22:47:05.998Z] 94aa4268434e23c8f700f751c1eb2cf3b0794e00-1.3.2-dev.5: digest: sha256:e0aa275bd93bad4838a3a206aa8fd418cdbe4ae773ea77f2e449f438923c6b10 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:47:06.344Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:47:06.687Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [2021-04-19T22:47:06.687Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-04-19T22:47:06.958Z] 7714c91d5b37: Preparing [2021-04-19T22:47:06.958Z] 7eeeb35de13c: Preparing [2021-04-19T22:47:06.958Z] c99e6330c8fa: Preparing [2021-04-19T22:47:06.958Z] e6654ec7e5ff: Preparing [2021-04-19T22:47:06.958Z] d285fa4bd312: Preparing [2021-04-19T22:47:06.958Z] 3fbe34a1663b: Preparing [2021-04-19T22:47:06.958Z] 3fbe34a1663b: Waiting [2021-04-19T22:47:06.958Z] e6654ec7e5ff: Layer already exists [2021-04-19T22:47:06.958Z] 7eeeb35de13c: Layer already exists [2021-04-19T22:47:06.958Z] c99e6330c8fa: Layer already exists [2021-04-19T22:47:06.958Z] d285fa4bd312: Layer already exists [2021-04-19T22:47:06.958Z] 7714c91d5b37: Layer already exists [2021-04-19T22:47:06.958Z] 3fbe34a1663b: Layer already exists [2021-04-19T22:47:07.229Z] master: digest: sha256:e0aa275bd93bad4838a3a206aa8fd418cdbe4ae773ea77f2e449f438923c6b10 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-19T22:47:07.333Z] ===================================================== [Pipeline] echo [2021-04-19T22:47:07.349Z] taggedImages: [2021-04-19T22:47:07.349Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:94aa4268434e23c8f700f751c1eb2cf3b0794e00 [2021-04-19T22:47:07.349Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [2021-04-19T22:47:07.349Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.2-dev.5 [2021-04-19T22:47:07.349Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:94aa4268434e23c8f700f751c1eb2cf3b0794e00-1.3.2-dev.5 [2021-04-19T22:47:07.349Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:47:07.804Z] ---> job-cost.sh [2021-04-19T22:47:07.804Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-YQFR [2021-04-19T22:48:04.335Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-19T22:50:11.142Z] lf-activate-venv(): INFO: Adding /tmp/venv-YQFR/bin to PATH [2021-04-19T22:50:11.142Z] INFO: No Stack... [2021-04-19T22:50:11.142Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-19T22:50:11.142Z] INFO: Archiving Costs [Pipeline] sh [2021-04-19T22:50:11.486Z] + cat /w/workspace/device-modbus-go/43/archives/cost.csv [2021-04-19T22:50:11.487Z] + cut -d, -f6 [Pipeline] lock [2021-04-19T22:50:11.622Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-43-stack-cost] [2021-04-19T22:50:11.634Z] Resource [jenkins-edgexfoundry-device-modbus-go-master-43-stack-cost] did not exist. Created. [2021-04-19T22:50:11.634Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-19T22:50:12.015Z] /w/workspace/device-modbus-go/43@tmp/durable-3fda7d16/script.sh: 1: /w/workspace/device-modbus-go/43@tmp/durable-3fda7d16/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-19T22:50:12.360Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-19T22:50:12.392Z] Warning: overwriting stash ‘stack-cost’ [2021-04-19T22:50:12.542Z] Stashed 1 file(s) [Pipeline] } [2021-04-19T22:50:12.552Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-43-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] wrap [2021-04-19T22:50:13.090Z] provisioning config files... [2021-04-19T22:50:13.100Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2737176610917214816tmp [Pipeline] { [Pipeline] sh [2021-04-19T22:50:13.428Z] + set +x [2021-04-19T22:50:13.429Z] + curl -s https://codecov.io/bash [2021-04-19T22:50:13.429Z] + bash -s -- [2021-04-19T22:50:13.691Z] [2021-04-19T22:50:13.691Z] _____ _ [2021-04-19T22:50:13.691Z] / ____| | | [2021-04-19T22:50:13.691Z] | | ___ __| | ___ ___ _____ __ [2021-04-19T22:50:13.691Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-19T22:50:13.691Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-19T22:50:13.691Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-19T22:50:13.691Z] Bash-1.0.1 [2021-04-19T22:50:13.691Z] [2021-04-19T22:50:13.691Z] [2021-04-19T22:50:13.691Z] ==> git version 2.24.3 found [2021-04-19T22:50:13.691Z] ==> 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-04-19T22:50:13.691Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-19T22:50:13.691Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-19T22:50:13.691Z] ==> Jenkins CI detected. [2021-04-19T22:50:13.691Z] project root: . [2021-04-19T22:50:13.691Z] --> token set from env [2021-04-19T22:50:13.691Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-19T22:50:13.691Z] ==> Running gcov in . (disable via -X gcov) [2021-04-19T22:50:13.691Z] ==> Python coveragepy not found [2021-04-19T22:50:13.691Z] ==> Searching for coverage reports in: [2021-04-19T22:50:13.691Z] + . [2021-04-19T22:50:13.691Z] -> Found 1 reports [2021-04-19T22:50:13.691Z] ==> Detecting git/mercurial file structure [2021-04-19T22:50:13.691Z] ==> Reading reports [2021-04-19T22:50:13.691Z] + ./coverage.out bytes=23236 [2021-04-19T22:50:13.691Z] ==> Appending adjustments [2021-04-19T22:50:13.691Z] https://docs.codecov.io/docs/fixing-reports [2021-04-19T22:50:13.955Z] + Found adjustments [2021-04-19T22:50:13.955Z] ==> Gzipping contents [2021-04-19T22:50:13.955Z] 8.0K /tmp/codecov.GOFsY2.gz [2021-04-19T22:50:13.955Z] ==> Uploading reports [2021-04-19T22:50:13.955Z] url: https://codecov.io [2021-04-19T22:50:13.955Z] query: branch=master&commit=94aa4268434e23c8f700f751c1eb2cf3b0794e00&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F43%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-19T22:50:13.955Z] -> Pinging Codecov [2021-04-19T22:50:13.955Z] https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=master&commit=94aa4268434e23c8f700f751c1eb2cf3b0794e00&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F43%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-19T22:50:14.533Z] -> Uploading to [2021-04-19T22:50:14.533Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-19/55DBCA73C666E3227836607328DD7E49/94aa4268434e23c8f700f751c1eb2cf3b0794e00/3826aefe-ca00-4b3e-8c0e-3dc993d40f76.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210419T225014Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4ad5d7d86e4ae823dba8bd19a10a3df315435ce83336b69f6b5e0c29dbcd71d9 [2021-04-19T22:50:14.533Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-19T22:50:14.533Z] Dload Upload Total Spent Left Speed [2021-04-19T22:50:15.109Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4311 0 0 100 4311 0 9531 --:--:-- --:--:-- --:--:-- 9516 [2021-04-19T22:50:15.109Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/94aa4268434e23c8f700f751c1eb2cf3b0794e00 [Pipeline] } [2021-04-19T22:50:15.119Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-04-19T22:50:15.369Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-04-19T22:50:15.396Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:50:15.707Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-19T22:50:15.707Z] [2021-04-19T22:50:15.707Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:50:16.026Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-19T22:50:16.027Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-04-19T22:50:16.027Z] 188c0c94c7c5: Pulling fs layer [2021-04-19T22:50:16.027Z] 0ef7d3d256c8: Pulling fs layer [2021-04-19T22:50:16.027Z] de9db76c5a1d: Pulling fs layer [2021-04-19T22:50:16.027Z] 0eba1c9be4d2: Pulling fs layer [2021-04-19T22:50:16.027Z] 0d57e429df01: Pulling fs layer [2021-04-19T22:50:16.027Z] 4e4be7b47b0d: Pulling fs layer [2021-04-19T22:50:16.027Z] e1f770b5df2f: Pulling fs layer [2021-04-19T22:50:16.027Z] 85a0685a4137: Pulling fs layer [2021-04-19T22:50:16.027Z] 0d57e429df01: Waiting [2021-04-19T22:50:16.027Z] 4e4be7b47b0d: Waiting [2021-04-19T22:50:16.027Z] e1f770b5df2f: Waiting [2021-04-19T22:50:16.027Z] 0eba1c9be4d2: Waiting [2021-04-19T22:50:16.027Z] 85a0685a4137: Waiting [2021-04-19T22:50:16.027Z] de9db76c5a1d: Verifying Checksum [2021-04-19T22:50:16.027Z] de9db76c5a1d: Download complete [2021-04-19T22:50:16.027Z] 0ef7d3d256c8: Verifying Checksum [2021-04-19T22:50:16.027Z] 0ef7d3d256c8: Download complete [2021-04-19T22:50:16.027Z] 0d57e429df01: Verifying Checksum [2021-04-19T22:50:16.027Z] 0d57e429df01: Download complete [2021-04-19T22:50:16.027Z] 4e4be7b47b0d: Verifying Checksum [2021-04-19T22:50:16.027Z] 4e4be7b47b0d: Download complete [2021-04-19T22:50:16.027Z] 188c0c94c7c5: Download complete [2021-04-19T22:50:16.622Z] 188c0c94c7c5: Pull complete [2021-04-19T22:50:16.888Z] 0ef7d3d256c8: Pull complete [2021-04-19T22:50:16.888Z] de9db76c5a1d: Pull complete [2021-04-19T22:50:17.470Z] e1f770b5df2f: Verifying Checksum [2021-04-19T22:50:17.470Z] e1f770b5df2f: Download complete [2021-04-19T22:50:21.717Z] 0eba1c9be4d2: Verifying Checksum [2021-04-19T22:50:21.717Z] 0eba1c9be4d2: Download complete [2021-04-19T22:50:21.717Z] 85a0685a4137: Verifying Checksum [2021-04-19T22:50:21.717Z] 85a0685a4137: Download complete [2021-04-19T22:50:27.052Z] 0eba1c9be4d2: Pull complete [2021-04-19T22:50:27.052Z] 0d57e429df01: Pull complete [2021-04-19T22:50:27.052Z] 4e4be7b47b0d: Pull complete [2021-04-19T22:50:28.986Z] e1f770b5df2f: Pull complete [2021-04-19T22:50:37.182Z] 85a0685a4137: Pull complete [2021-04-19T22:50:37.182Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-04-19T22:50:37.182Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-19T22:50:37.182Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-04-19T22:50:37.432Z] prd-centos7-docker-4c-2g-1006 does not seem to be running inside a container [2021-04-19T22:50:37.501Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-04-19T22:50:38.585Z] $ docker top d733dd454348726e4b0bb73bf9bae3f9e8acaa33b82c046c936920d2b6115e64 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-04-19T22:50:38.785Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-04-19T22:50:39.083Z] + set -o pipefail [2021-04-19T22:50:39.083Z] + snyk monitor '--org=edgex-jenkins' [2021-04-19T22:50:49.121Z] [2021-04-19T22:50:49.121Z] Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... [2021-04-19T22:50:49.121Z] [2021-04-19T22:50:49.121Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/2153ff94-1638-478b-acd1-504ff38629f5 [2021-04-19T22:50:49.121Z] [2021-04-19T22:50:49.121Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-04-19T22:50:49.121Z] [2021-04-19T22:50:49.121Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-04-19T22:50:49.121Z] [2021-04-19T22:50:49.121Z] [2021-04-19T22:50:49.121Z] You have reached your monthly limit of 300 private tests for your edgex-jenkins org. [2021-04-19T22:50:49.121Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-04-19T22:50:49.147Z] $ docker stop --time=1 d733dd454348726e4b0bb73bf9bae3f9e8acaa33b82c046c936920d2b6115e64 [2021-04-19T22:50:52.030Z] $ docker rm -f d733dd454348726e4b0bb73bf9bae3f9e8acaa33b82c046c936920d2b6115e64 [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-04-19T22:50:53.133Z] + git log --format=format:%s -1 94aa4268434e23c8f700f751c1eb2cf3b0794e00 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:50:53.455Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T22:50:53.455Z] . [Pipeline] withDockerContainer [2021-04-19T22:50:53.561Z] prd-centos7-docker-4c-2g-1006 does not seem to be running inside a container [2021-04-19T22:50:53.617Z] $ 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-04-19T22:50:54.645Z] $ docker top 159d27a64590087f75af3a95b66bda749c045c3d5ed84d3054a3fa1fd0af4838 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-19T22:50:54.849Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T22:50:54.849Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T22:50:55.132Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T22:50:55.143Z] $ docker exec 159d27a64590087f75af3a95b66bda749c045c3d5ed84d3054a3fa1fd0af4838 ssh-agent [2021-04-19T22:50:55.326Z] SSH_AUTH_SOCK=/tmp/ssh-ywt9TfEWreF2/agent.11 [2021-04-19T22:50:55.326Z] SSH_AGENT_PID=16 [2021-04-19T22:50:55.335Z] Running ssh-add (command line suppressed) [2021-04-19T22:50:55.485Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_8009568292449256936.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_8009568292449256936.key) [2021-04-19T22:50:55.545Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T22:50:55.848Z] + git semver tag [2021-04-19T22:50:55.848Z] # -> Open(): unable to determine branch for HEAD [2021-04-19T22:50:55.849Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-04-19T22:50:55.849Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-04-19T22:50:55.849Z] # $SEMVER_REMOTE_NAME = origin [2021-04-19T22:50:55.849Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-19T22:50:55.849Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-19T22:50:55.849Z] # $SEMVER_BRANCH = master [2021-04-19T22:50:55.849Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2021-04-19T22:50:55.849Z] # 94aa4268434e23c8f700f751c1eb2cf3b0794e00 HEAD [2021-04-19T22:50:55.849Z] # -> Force: false [2021-04-19T22:50:55.849Z] # a13c265859229bce5c1a2be24c6f5e5c6fd2d293 refs/tags/v1.3.2-dev.5 [Pipeline] } [2021-04-19T22:50:55.870Z] $ docker exec --env ******** --env ******** 159d27a64590087f75af3a95b66bda749c045c3d5ed84d3054a3fa1fd0af4838 ssh-agent -k [2021-04-19T22:50:56.000Z] unset SSH_AUTH_SOCK; [2021-04-19T22:50:56.000Z] unset SSH_AGENT_PID; [2021-04-19T22:50:56.000Z] echo Agent pid 16 killed; [2021-04-19T22:50:56.050Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-19T22:50:56.384Z] + git semver [Pipeline] } [2021-04-19T22:50:56.410Z] $ docker stop --time=1 159d27a64590087f75af3a95b66bda749c045c3d5ed84d3054a3fa1fd0af4838 [2021-04-19T22:50:57.775Z] $ docker rm -f 159d27a64590087f75af3a95b66bda749c045c3d5ed84d3054a3fa1fd0af4838 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:50:58.238Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-19T22:50:58.238Z] [2021-04-19T22:50:58.238Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:50:58.559Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-19T22:50:58.559Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-04-19T22:50:58.559Z] ab5ef0e58194: Pulling fs layer [2021-04-19T22:50:58.559Z] 9712f1f96733: Pulling fs layer [2021-04-19T22:50:58.559Z] 63f879dbbcfc: Pulling fs layer [2021-04-19T22:50:58.559Z] 0d9ebad4ef96: Pulling fs layer [2021-04-19T22:50:58.559Z] e9a5061849ea: Pulling fs layer [2021-04-19T22:50:58.559Z] d747dcd14b5f: Pulling fs layer [2021-04-19T22:50:58.559Z] 2de7ff778b66: Pulling fs layer [2021-04-19T22:50:58.559Z] e9a5061849ea: Waiting [2021-04-19T22:50:58.559Z] d747dcd14b5f: Waiting [2021-04-19T22:50:58.559Z] 2de7ff778b66: Waiting [2021-04-19T22:50:58.559Z] 0d9ebad4ef96: Waiting [2021-04-19T22:50:58.559Z] 9712f1f96733: Download complete [2021-04-19T22:50:59.964Z] 63f879dbbcfc: Verifying Checksum [2021-04-19T22:50:59.964Z] 63f879dbbcfc: Download complete [2021-04-19T22:51:00.236Z] e9a5061849ea: Verifying Checksum [2021-04-19T22:51:00.236Z] e9a5061849ea: Download complete [2021-04-19T22:51:00.236Z] d747dcd14b5f: Verifying Checksum [2021-04-19T22:51:00.236Z] d747dcd14b5f: Download complete [2021-04-19T22:51:00.506Z] 0d9ebad4ef96: Verifying Checksum [2021-04-19T22:51:00.506Z] 0d9ebad4ef96: Download complete [2021-04-19T22:51:00.506Z] 2de7ff778b66: Verifying Checksum [2021-04-19T22:51:00.506Z] 2de7ff778b66: Download complete [2021-04-19T22:51:00.770Z] ab5ef0e58194: Verifying Checksum [2021-04-19T22:51:00.770Z] ab5ef0e58194: Download complete [2021-04-19T22:51:06.113Z] ab5ef0e58194: Pull complete [2021-04-19T22:51:06.113Z] 9712f1f96733: Pull complete [2021-04-19T22:51:08.056Z] 63f879dbbcfc: Pull complete [2021-04-19T22:51:14.718Z] 0d9ebad4ef96: Pull complete [2021-04-19T22:51:16.642Z] e9a5061849ea: Pull complete [2021-04-19T22:51:16.642Z] d747dcd14b5f: Pull complete [2021-04-19T22:51:19.223Z] 2de7ff778b66: Pull complete [2021-04-19T22:51:19.223Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-04-19T22:51:19.223Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-19T22:51:19.223Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-04-19T22:51:19.484Z] prd-centos7-docker-4c-2g-1006 does not seem to be running inside a container [2021-04-19T22:51:19.542Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-04-19T22:51:22.934Z] $ docker top eef7e46bf783d98d7374d2cd3abdcc7de7a6b377d60ad8009e0e710e6e70894a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-04-19T22:51:23.140Z] provisioning config files... [2021-04-19T22:51:23.151Z] copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config4003766189416921436tmp [2021-04-19T22:51:23.169Z] copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config4033740923819874406tmp [2021-04-19T22:51:23.185Z] copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config4113701583656045889tmp [Pipeline] { [Pipeline] echo [2021-04-19T22:51:23.217Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:51:23.520Z] ---> sigul-configuration.sh [2021-04-19T22:51:23.520Z] gpg: directory `/root/.gnupg' created [2021-04-19T22:51:23.520Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-04-19T22:51:23.520Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-04-19T22:51:23.520Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-04-19T22:51:23.520Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-04-19T22:51:23.520Z] gpg: CAST5 encrypted data [2021-04-19T22:51:23.786Z] gpg: encrypted with 1 passphrase [2021-04-19T22:51:23.786Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-04-19T22:51:24.089Z] + mkdir /home/jenkins [2021-04-19T22:51:24.089Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-04-19T22:51:24.403Z] + 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-04-19T22:51:24.414Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:51:24.711Z] ---> sigul-install.sh [2021-04-19T22:51:32.879Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-04-19T22:51:33.180Z] + git tag --list [2021-04-19T22:51:33.180Z] 0.7.1 [2021-04-19T22:51:33.180Z] v1.0.0 [2021-04-19T22:51:33.180Z] v1.1.0 [2021-04-19T22:51:33.180Z] v1.1.1 [2021-04-19T22:51:33.180Z] v1.2.2 [2021-04-19T22:51:33.180Z] v1.3.0 [2021-04-19T22:51:33.180Z] v1.3.1 [2021-04-19T22:51:33.180Z] v1.3.1-dev.1 [2021-04-19T22:51:33.180Z] v1.3.1-dev.2 [2021-04-19T22:51:33.180Z] v1.3.1-dev.3 [2021-04-19T22:51:33.180Z] v1.3.1-dev.4 [2021-04-19T22:51:33.180Z] v1.3.1-dev.5 [2021-04-19T22:51:33.180Z] v1.3.1-dev.6 [2021-04-19T22:51:33.180Z] v1.3.1-dev.7 [2021-04-19T22:51:33.180Z] v1.3.1-dev.8 [2021-04-19T22:51:33.180Z] v1.3.2-dev.1 [2021-04-19T22:51:33.180Z] v1.3.2-dev.2 [2021-04-19T22:51:33.180Z] v1.3.2-dev.3 [2021-04-19T22:51:33.180Z] v1.3.2-dev.4 [2021-04-19T22:51:33.180Z] v1.3.2-dev.5 [Pipeline] sh [2021-04-19T22:51:33.481Z] + lftools sign git-tag v1.3.2-dev.5 [2021-04-19T22:51:34.880Z] Signing Git tag with Sigul... [2021-04-19T22:51:34.880Z] Signing v1.3.2-dev.5 [Pipeline] echo [2021-04-19T22:51:36.312Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:51:36.773Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-04-19T22:51:36.813Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-04-19T22:51:36.867Z] $ docker stop --time=1 eef7e46bf783d98d7374d2cd3abdcc7de7a6b377d60ad8009e0e710e6e70894a [2021-04-19T22:51:39.057Z] $ docker rm -f eef7e46bf783d98d7374d2cd3abdcc7de7a6b377d60ad8009e0e710e6e70894a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:51:39.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T22:51:39.618Z] . [Pipeline] withDockerContainer [2021-04-19T22:51:39.725Z] prd-centos7-docker-4c-2g-1006 does not seem to be running inside a container [2021-04-19T22:51:39.783Z] $ 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-04-19T22:51:40.671Z] $ docker top 2e9ffa37b21b32233cb024243486f242f83c201314e1502f304251fae092ab75 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-19T22:51:40.831Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T22:51:40.832Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T22:51:41.080Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T22:51:41.091Z] $ docker exec 2e9ffa37b21b32233cb024243486f242f83c201314e1502f304251fae092ab75 ssh-agent [2021-04-19T22:51:41.282Z] SSH_AUTH_SOCK=/tmp/ssh-OchZB5e7KYCu/agent.11 [2021-04-19T22:51:41.282Z] SSH_AGENT_PID=17 [2021-04-19T22:51:41.289Z] Running ssh-add (command line suppressed) [2021-04-19T22:51:41.430Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_1696155325296949060.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_1696155325296949060.key) [2021-04-19T22:51:41.483Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T22:51:41.787Z] + git semver bump pre [2021-04-19T22:51:41.787Z] # -> Open(): unable to determine branch for HEAD [2021-04-19T22:51:41.787Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-04-19T22:51:41.787Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-04-19T22:51:41.787Z] # $SEMVER_REMOTE_NAME = origin [2021-04-19T22:51:41.787Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-19T22:51:41.787Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-19T22:51:41.787Z] # $SEMVER_BRANCH = master [2021-04-19T22:51:41.787Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2021-04-19T22:51:41.787Z] 1.3.2-dev.6 [Pipeline] } [2021-04-19T22:51:41.807Z] $ docker exec --env ******** --env ******** 2e9ffa37b21b32233cb024243486f242f83c201314e1502f304251fae092ab75 ssh-agent -k [2021-04-19T22:51:41.949Z] unset SSH_AUTH_SOCK; [2021-04-19T22:51:41.949Z] unset SSH_AGENT_PID; [2021-04-19T22:51:41.949Z] echo Agent pid 17 killed; [2021-04-19T22:51:41.999Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-19T22:51:42.340Z] + git semver [Pipeline] } [2021-04-19T22:51:42.365Z] $ docker stop --time=1 2e9ffa37b21b32233cb024243486f242f83c201314e1502f304251fae092ab75 [2021-04-19T22:51:43.742Z] $ docker rm -f 2e9ffa37b21b32233cb024243486f242f83c201314e1502f304251fae092ab75 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:51:44.165Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T22:51:44.165Z] . [Pipeline] withDockerContainer [2021-04-19T22:51:44.269Z] prd-centos7-docker-4c-2g-1006 does not seem to be running inside a container [2021-04-19T22:51:44.324Z] $ 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-04-19T22:51:45.032Z] $ docker top d6a69f7776669391fce525fcca72f0b28ca5e48be83086dfe2cec01d8b3aa944 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-19T22:51:45.232Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T22:51:45.232Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T22:51:45.443Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T22:51:45.453Z] $ docker exec d6a69f7776669391fce525fcca72f0b28ca5e48be83086dfe2cec01d8b3aa944 ssh-agent [2021-04-19T22:51:45.659Z] SSH_AUTH_SOCK=/tmp/ssh-wUQHR5WW7Cnz/agent.11 [2021-04-19T22:51:45.659Z] SSH_AGENT_PID=16 [2021-04-19T22:51:45.668Z] Running ssh-add (command line suppressed) [2021-04-19T22:51:45.838Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5328109111174049789.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5328109111174049789.key) [2021-04-19T22:51:45.899Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T22:51:46.203Z] + git semver push [2021-04-19T22:51:46.203Z] # -> Open(): unable to determine branch for HEAD [2021-04-19T22:51:46.203Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-04-19T22:51:46.203Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-04-19T22:51:46.203Z] # $SEMVER_REMOTE_NAME = origin [2021-04-19T22:51:46.203Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-19T22:51:46.203Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-19T22:51:46.203Z] # $SEMVER_BRANCH = master [2021-04-19T22:51:46.203Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-04-19T22:51:50.443Z] $ docker exec --env ******** --env ******** d6a69f7776669391fce525fcca72f0b28ca5e48be83086dfe2cec01d8b3aa944 ssh-agent -k [2021-04-19T22:51:50.605Z] unset SSH_AUTH_SOCK; [2021-04-19T22:51:50.606Z] unset SSH_AGENT_PID; [2021-04-19T22:51:50.606Z] echo Agent pid 16 killed; [2021-04-19T22:51:50.659Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-19T22:51:50.992Z] + git semver [Pipeline] } [2021-04-19T22:51:51.017Z] $ docker stop --time=1 d6a69f7776669391fce525fcca72f0b28ca5e48be83086dfe2cec01d8b3aa944 [2021-04-19T22:51:52.414Z] $ docker rm -f d6a69f7776669391fce525fcca72f0b28ca5e48be83086dfe2cec01d8b3aa944 [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-04-19T22:51:53.134Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:51:53.706Z] ---> package-listing.sh [2021-04-19T22:51:53.706Z] ++ facter osfamily [2021-04-19T22:51:53.706Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-19T22:51:53.706Z] + OS_FAMILY=redhat [2021-04-19T22:51:53.706Z] + workspace=/w/workspace/xfoundry_device-modbus-go_master [2021-04-19T22:51:53.706Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-19T22:51:53.706Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-19T22:51:53.706Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-19T22:51:53.706Z] + PACKAGES=/tmp/packages_start.txt [2021-04-19T22:51:53.706Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-04-19T22:51:53.706Z] + PACKAGES=/tmp/packages_end.txt [2021-04-19T22:51:53.706Z] + case "${OS_FAMILY}" in [2021-04-19T22:51:53.706Z] + rpm -qa [2021-04-19T22:51:53.706Z] + sort [2021-04-19T22:51:59.030Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-19T22:51:59.030Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-19T22:51:59.030Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-19T22:51:59.030Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-04-19T22:51:59.030Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ [2021-04-19T22:51:59.030Z] + 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-04-19T22:51:59.044Z] 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-04-19T22:51:59.344Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:51:59.653Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T22:51:59.654Z] [2021-04-19T22:51:59.654Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:51:59.977Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T22:51:59.977Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-19T22:51:59.977Z] df20fa9351a1: Pulling fs layer [2021-04-19T22:51:59.977Z] 36b3adc4ff6f: Pulling fs layer [2021-04-19T22:51:59.977Z] 8ad3a11d3b57: Pulling fs layer [2021-04-19T22:51:59.977Z] 46f8f816bc3b: Pulling fs layer [2021-04-19T22:51:59.977Z] 93b61091891f: Pulling fs layer [2021-04-19T22:51:59.977Z] 93b9cdb0e59b: Pulling fs layer [2021-04-19T22:51:59.977Z] 5e14af77c1be: Pulling fs layer [2021-04-19T22:51:59.977Z] 01666e4c0597: Pulling fs layer [2021-04-19T22:51:59.977Z] aa168da1d23b: Pulling fs layer [2021-04-19T22:51:59.977Z] 5e14af77c1be: Waiting [2021-04-19T22:51:59.977Z] 01666e4c0597: Waiting [2021-04-19T22:51:59.977Z] 46f8f816bc3b: Waiting [2021-04-19T22:51:59.977Z] aa168da1d23b: Waiting [2021-04-19T22:51:59.977Z] 93b61091891f: Waiting [2021-04-19T22:51:59.977Z] 93b9cdb0e59b: Waiting [2021-04-19T22:51:59.977Z] 36b3adc4ff6f: Verifying Checksum [2021-04-19T22:51:59.977Z] 36b3adc4ff6f: Download complete [2021-04-19T22:51:59.977Z] 46f8f816bc3b: Verifying Checksum [2021-04-19T22:51:59.977Z] 46f8f816bc3b: Download complete [2021-04-19T22:51:59.977Z] df20fa9351a1: Verifying Checksum [2021-04-19T22:51:59.977Z] df20fa9351a1: Download complete [2021-04-19T22:52:00.243Z] 93b9cdb0e59b: Verifying Checksum [2021-04-19T22:52:00.243Z] 93b9cdb0e59b: Download complete [2021-04-19T22:52:00.243Z] 5e14af77c1be: Verifying Checksum [2021-04-19T22:52:00.243Z] 5e14af77c1be: Download complete [2021-04-19T22:52:00.243Z] 01666e4c0597: Verifying Checksum [2021-04-19T22:52:00.243Z] 01666e4c0597: Download complete [2021-04-19T22:52:00.243Z] 93b61091891f: Verifying Checksum [2021-04-19T22:52:00.243Z] 93b61091891f: Download complete [2021-04-19T22:52:00.243Z] 8ad3a11d3b57: Verifying Checksum [2021-04-19T22:52:00.243Z] 8ad3a11d3b57: Download complete [2021-04-19T22:52:00.508Z] df20fa9351a1: Pull complete [2021-04-19T22:52:00.776Z] 36b3adc4ff6f: Pull complete [2021-04-19T22:52:02.209Z] aa168da1d23b: Verifying Checksum [2021-04-19T22:52:02.209Z] aa168da1d23b: Download complete [2021-04-19T22:52:02.209Z] 8ad3a11d3b57: Pull complete [2021-04-19T22:52:02.474Z] 46f8f816bc3b: Pull complete [2021-04-19T22:52:02.737Z] 93b61091891f: Pull complete [2021-04-19T22:52:02.999Z] 93b9cdb0e59b: Pull complete [2021-04-19T22:52:02.999Z] 5e14af77c1be: Pull complete [2021-04-19T22:52:03.263Z] 01666e4c0597: Pull complete [2021-04-19T22:52:11.548Z] aa168da1d23b: Pull complete [2021-04-19T22:52:11.548Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-19T22:52:11.548Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T22:52:11.548Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-19T22:52:11.765Z] prd-centos7-docker-4c-2g-1006 does not seem to be running inside a container [2021-04-19T22:52:11.821Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-19T22:52:14.888Z] $ docker top 72e90ca17e0221d7fc5a568dcfc7de2a2846e677bcdba439249db75434c72535 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T22:52:15.399Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-19T22:52:15.723Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-19T22:52:16.026Z] + ls /var/log/sa-host [2021-04-19T22:52:16.026Z] + sadf -c /var/log/sa-host/sa19 [2021-04-19T22:52:16.026Z] file_magic: OK [2021-04-19T22:52:16.026Z] HZ: Using current value: 100 [2021-04-19T22:52:16.026Z] file_header: OK [2021-04-19T22:52:16.026Z] 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-04-19T22:52:16.026Z] Statistics: [2021-04-19T22:52:16.026Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-19T22:52:16.026Z] File successfully converted to sysstat format version 12.2.1 [2021-04-19T22:52:16.026Z] + sadf -c /var/log/sa-host/sa23 [2021-04-19T22:52:16.026Z] file_magic: OK [2021-04-19T22:52:16.026Z] HZ: Using current value: 100 [2021-04-19T22:52:16.026Z] file_header: OK [2021-04-19T22:52:16.026Z] 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-04-19T22:52:16.026Z] Statistics: [2021-04-19T22:52:16.026Z] Hnuu...uuuununununu... [2021-04-19T22:52:16.026Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-19T22:52:16.221Z] provisioning config files... [2021-04-19T22:52:16.236Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config8377896105254195296tmp [Pipeline] { [Pipeline] echo [2021-04-19T22:52:16.258Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:52:16.556Z] ---> create-netrc.sh [Pipeline] } [2021-04-19T22:52:16.566Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-19T22:52:16.594Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:52:16.891Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-19T22:52:16.903Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:52:17.199Z] ---> sudo-logs.sh [2021-04-19T22:52:17.199Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-19T22:52:17.227Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:52:17.528Z] ---> job-cost.sh [2021-04-19T22:52:17.528Z] lf-activate-venv: SKIPPING [2021-04-19T22:52:17.528Z] DEBUG: total: 0.20999999344348907 [2021-04-19T22:52:17.528Z] INFO: Retrieving Stack Cost... [2021-04-19T22:52:18.476Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-19T22:52:18.738Z] INFO: Archiving Costs [Pipeline] echo [2021-04-19T22:52:18.752Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:52:19.051Z] ---> logs-deploy.sh [2021-04-19T22:52:19.051Z] lf-activate-venv: SKIPPING [2021-04-19T22:52:19.051Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/43 [2021-04-19T22:52:19.051Z] INFO: archiving workspace using pattern(s): [2021-04-19T22:52:20.444Z] Archives upload complete. [2021-04-19T22:52:20.707Z] INFO: archiving logs to Nexus