Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2131b689a16c8ebcf80a1a6c70dc215d317472ea Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3178500260488696645.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4291292385815335170.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/master/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7033305411816607889.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6052748591920104837.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/master/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4170023738455455299.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-625 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Avoid second fetch Checking out Revision 2131b689a16c8ebcf80a1a6c70dc215d317472ea (master) Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_device-modbus-go_master@tmp/jenkins-gitclient-ssh5406419901199238862.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2131b689a16c8ebcf80a1a6c70dc215d317472ea # timeout=10 Commit message: "Merge pull request #271 from cloudxxx8/issue-270" > git rev-list --no-walk add7319ca76619587cd081c32c0d0dde4cc2319e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-29T01:56:02.805Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-29T01:56:02.916Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-29T01:56:02.951Z] ========================================================= [2021-06-29T01:56:02.951Z] EdgeX Global Pipelines Version Info [2021-06-29T01:56:02.951Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-29T01:56:04.561Z] ------------------- [2021-06-29T01:56:04.561Z] stable info: [2021-06-29T01:56:04.561Z] ------------------- [2021-06-29T01:56:04.561Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-29T01:56:04.561Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-29T01:56:04.561Z] Message: update stable to v1.0.195 [2021-06-29T01:56:05.137Z] ------------------- [2021-06-29T01:56:05.137Z] experimental info: [2021-06-29T01:56:05.137Z] ------------------- [2021-06-29T01:56:05.137Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-29T01:56:05.137Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-29T01:56:05.137Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-29T01:56:05.279Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-06-29T01:56:05.310Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-06-29T01:56:05.341Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-29T01:56:05.371Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-29T01:56:05.401Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-29T01:56:05.432Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-29T01:56:05.462Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-29T01:56:05.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-29T01:56:05.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-29T01:56:05.553Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-29T01:56:05.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-29T01:56:05.632Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2021-06-29T01:56:05.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-29T01:56:05.700Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-29T01:56:05.733Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-29T01:56:05.763Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-29T01:56:05.795Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-29T01:56:05.826Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-29T01:56:05.858Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-29T01:56:05.888Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-06-29T01:56:05.919Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-29T01:56:05.947Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-29T01:56:05.977Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-29T01:56:06.006Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-29T01:56:06.066Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-29T01:56:06.097Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-29T01:56:06.127Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-06-29T01:56:06.158Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-06-29T01:56:06.189Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-06-29T01:56:06.216Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2131b689a16c8ebcf80a1a6c70dc215d317472ea [Pipeline] echo [2021-06-29T01:56:06.247Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2131b68 [Pipeline] echo [2021-06-29T01:56:06.279Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-29T01:56:06.372Z] provisioning config files... [2021-06-29T01:56:06.391Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config4945188107467005170tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-29T01:56:06.731Z] ---> docker-login.sh [2021-06-29T01:56:06.731Z] nexus3.edgexfoundry.org:10001 [2021-06-29T01:56:07.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T01:56:07.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T01:56:07.569Z] Configure a credential helper to remove this warning. See [2021-06-29T01:56:07.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T01:56:07.569Z] [2021-06-29T01:56:07.569Z] Login Succeeded [2021-06-29T01:56:07.569Z] nexus3.edgexfoundry.org:10002 [2021-06-29T01:56:07.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T01:56:07.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T01:56:07.835Z] Configure a credential helper to remove this warning. See [2021-06-29T01:56:07.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T01:56:07.835Z] [2021-06-29T01:56:07.835Z] Login Succeeded [2021-06-29T01:56:07.835Z] nexus3.edgexfoundry.org:10003 [2021-06-29T01:56:07.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T01:56:07.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T01:56:07.835Z] Configure a credential helper to remove this warning. See [2021-06-29T01:56:07.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T01:56:07.835Z] [2021-06-29T01:56:07.835Z] Login Succeeded [2021-06-29T01:56:07.835Z] nexus3.edgexfoundry.org:10004 [2021-06-29T01:56:08.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T01:56:08.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T01:56:08.097Z] Configure a credential helper to remove this warning. See [2021-06-29T01:56:08.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T01:56:08.097Z] [2021-06-29T01:56:08.097Z] Login Succeeded [2021-06-29T01:56:08.097Z] docker.io [2021-06-29T01:56:08.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T01:56:08.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T01:56:08.677Z] Configure a credential helper to remove this warning. See [2021-06-29T01:56:08.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T01:56:08.677Z] [2021-06-29T01:56:08.677Z] Login Succeeded [2021-06-29T01:56:08.677Z] ---> docker-login.sh ends [Pipeline] } [2021-06-29T01:56:08.687Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-29T01:56:09.255Z] + git log --format=format:%s -1 2131b689a16c8ebcf80a1a6c70dc215d317472ea [Pipeline] echo [2021-06-29T01:56:09.316Z] GIT_COMMIT: 2131b689a16c8ebcf80a1a6c70dc215d317472ea, Commit Message: Merge pull request #271 from cloudxxx8/issue-270 [Pipeline] echo [2021-06-29T01:56:09.333Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-29T01:56:10.005Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-29T01:56:10.005Z] [2021-06-29T01:56:10.005Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-29T01:56:10.325Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-29T01:56:10.325Z] latest: Pulling from edgex-devops/git-semver [2021-06-29T01:56:10.325Z] 31603596830f: Pulling fs layer [2021-06-29T01:56:10.325Z] 54011a49482f: Pulling fs layer [2021-06-29T01:56:10.325Z] a6820b24f6d8: Pulling fs layer [2021-06-29T01:56:10.325Z] f581987b2513: Pulling fs layer [2021-06-29T01:56:10.325Z] f581987b2513: Waiting [2021-06-29T01:56:10.325Z] 54011a49482f: Download complete [2021-06-29T01:56:10.587Z] 31603596830f: Verifying Checksum [2021-06-29T01:56:10.587Z] 31603596830f: Download complete [2021-06-29T01:56:10.587Z] f581987b2513: Verifying Checksum [2021-06-29T01:56:10.587Z] f581987b2513: Download complete [2021-06-29T01:56:10.587Z] a6820b24f6d8: Verifying Checksum [2021-06-29T01:56:10.587Z] a6820b24f6d8: Download complete [2021-06-29T01:56:10.855Z] 31603596830f: Pull complete [2021-06-29T01:56:10.855Z] 54011a49482f: Pull complete [2021-06-29T01:56:11.803Z] a6820b24f6d8: Pull complete [2021-06-29T01:56:11.803Z] f581987b2513: Pull complete [2021-06-29T01:56:12.066Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-29T01:56:12.066Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-29T01:56:12.066Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-29T01:56:12.154Z] prd-centos7-docker-4c-2g-625 does not seem to be running inside a container [2021-06-29T01:56:12.208Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-29T01:56:14.547Z] $ docker top 01671b7a30fb7fc79c55a4be2b093b143ecfaf44db0ed8126c7500e6ccb3d5b8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-29T01:56:14.702Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-29T01:56:14.702Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-29T01:56:14.828Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-29T01:56:14.828Z] $ docker exec 01671b7a30fb7fc79c55a4be2b093b143ecfaf44db0ed8126c7500e6ccb3d5b8 ssh-agent [2021-06-29T01:56:14.958Z] SSH_AUTH_SOCK=/tmp/ssh-5SVgRBah9juL/agent.15 [2021-06-29T01:56:14.958Z] SSH_AGENT_PID=21 [2021-06-29T01:56:14.970Z] Running ssh-add (command line suppressed) [2021-06-29T01:56:15.095Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3636521970017007863.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3636521970017007863.key) [2021-06-29T01:56:15.118Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-29T01:56:15.432Z] + git tag --points-at HEAD [Pipeline] } [2021-06-29T01:56:15.446Z] $ docker exec --env ******** --env ******** 01671b7a30fb7fc79c55a4be2b093b143ecfaf44db0ed8126c7500e6ccb3d5b8 ssh-agent -k [2021-06-29T01:56:15.552Z] unset SSH_AUTH_SOCK; [2021-06-29T01:56:15.552Z] unset SSH_AGENT_PID; [2021-06-29T01:56:15.552Z] echo Agent pid 21 killed; [2021-06-29T01:56:15.570Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-29T01:56:15.631Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-29T01:56:15.631Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-29T01:56:15.763Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-29T01:56:15.764Z] $ docker exec 01671b7a30fb7fc79c55a4be2b093b143ecfaf44db0ed8126c7500e6ccb3d5b8 ssh-agent [2021-06-29T01:56:15.899Z] SSH_AUTH_SOCK=/tmp/ssh-3WZyGxRWDqXR/agent.53 [2021-06-29T01:56:15.899Z] SSH_AGENT_PID=59 [2021-06-29T01:56:15.909Z] Running ssh-add (command line suppressed) [2021-06-29T01:56:16.022Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3009942784791087566.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3009942784791087566.key) [2021-06-29T01:56:16.045Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-29T01:56:16.364Z] + git semver init [2021-06-29T01:56:16.365Z] # -> Open(): unable to determine branch for HEAD [2021-06-29T01:56:16.365Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-06-29T01:56:16.365Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-06-29T01:56:16.365Z] # $SEMVER_REMOTE_NAME = origin [2021-06-29T01:56:16.365Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-29T01:56:16.365Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-29T01:56:16.365Z] # $SEMVER_BRANCH = master [2021-06-29T01:56:16.365Z] # $SEMVER_TEMP = /tmp/semver-153367957 [2021-06-29T01:56:16.365Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-06-29T01:56:16.945Z] # '/tmp/semver-153367957' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' [2021-06-29T01:56:16.945Z] # -> Force: false [2021-06-29T01:56:16.945Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-06-29T01:56:16.953Z] $ docker exec --env ******** --env ******** 01671b7a30fb7fc79c55a4be2b093b143ecfaf44db0ed8126c7500e6ccb3d5b8 ssh-agent -k [2021-06-29T01:56:17.066Z] unset SSH_AUTH_SOCK; [2021-06-29T01:56:17.069Z] unset SSH_AGENT_PID; [2021-06-29T01:56:17.069Z] echo Agent pid 59 killed; [2021-06-29T01:56:17.096Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-29T01:56:17.446Z] + git semver [Pipeline] } [2021-06-29T01:56:17.458Z] $ docker stop --time=1 01671b7a30fb7fc79c55a4be2b093b143ecfaf44db0ed8126c7500e6ccb3d5b8 [2021-06-29T01:56:19.067Z] $ docker rm -f 01671b7a30fb7fc79c55a4be2b093b143ecfaf44db0ed8126c7500e6ccb3d5b8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-29T01:56:19.521Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-29T01:56:19.861Z] Stashed 1 file(s) [Pipeline] echo [2021-06-29T01:56:19.865Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.21 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-06-29T01:56:35.304Z] Still waiting to schedule task [2021-06-29T01:56:35.305Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-29T01:56:35.307Z] Still waiting to schedule task [2021-06-29T01:56:35.308Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-29T02:00:05.183Z] Running on prd-centos7-docker-4c-2g-626 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-06-29T02:00:05.204Z] Running in /w/workspace/device-modbus-go/60 [Pipeline] { [Pipeline] checkout [2021-06-29T02:00:05.314Z] Selected Git installation does not exist. Using Default [2021-06-29T02:00:05.314Z] The recommended git tool is: NONE [2021-06-29T02:00:07.689Z] using credential edgex-jenkins-ssh [2021-06-29T02:00:07.702Z] Cloning the remote Git repository [2021-06-29T02:00:08.578Z] Avoid second fetch [2021-06-29T02:00:08.579Z] Checking out Revision 2131b689a16c8ebcf80a1a6c70dc215d317472ea (master) [2021-06-29T02:00:07.721Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-06-29T02:00:07.814Z] > git init /w/workspace/device-modbus-go/60 # timeout=10 [2021-06-29T02:00:07.872Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-06-29T02:00:07.872Z] > git --version # timeout=10 [2021-06-29T02:00:07.883Z] > git --version # 'git version 2.24.4' [2021-06-29T02:00:07.883Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-29T02:00:07.912Z] [INFO] Currently running in a labeled security context [2021-06-29T02:00:07.912Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-29T02:00:07.912Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/60@tmp/jenkins-gitclient-ssh1549251834268196042.key [2021-06-29T02:00:07.938Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-29T02:00:08.558Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-06-29T02:00:08.567Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-29T02:00:08.585Z] > git config core.sparsecheckout # timeout=10 [2021-06-29T02:00:08.593Z] > git checkout -f 2131b689a16c8ebcf80a1a6c70dc215d317472ea # timeout=10 [2021-06-29T02:00:12.217Z] Commit message: "Merge pull request #271 from cloudxxx8/issue-270" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-29T02:00:13.386Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-29T02:00:13.726Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-29T02:00:14.033Z] + sudo service docker restart [2021-06-29T02:00:14.033Z] + true [2021-06-29T02:00:14.033Z] Redirecting to /bin/systemctl restart docker.service [2021-06-29T02:00:24.368Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-627 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-06-29T02:00:24.396Z] Running in /w/workspace/device-modbus-go/60 [Pipeline] { [Pipeline] checkout [2021-06-29T02:00:24.597Z] Selected Git installation does not exist. Using Default [2021-06-29T02:00:24.597Z] The recommended git tool is: NONE [2021-06-29T02:00:29.769Z] using credential edgex-jenkins-ssh [2021-06-29T02:00:29.789Z] Cloning the remote Git repository [2021-06-29T02:00:29.835Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-06-29T02:00:29.947Z] > git init /w/workspace/device-modbus-go/60 # timeout=10 [2021-06-29T02:00:30.035Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-06-29T02:00:30.036Z] > git --version # timeout=10 [2021-06-29T02:00:30.092Z] > git --version # 'git version 2.17.1' [2021-06-29T02:00:30.095Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-29T02:00:30.212Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-29T02:00:31.105Z] Avoid second fetch [2021-06-29T02:00:31.105Z] Checking out Revision 2131b689a16c8ebcf80a1a6c70dc215d317472ea (master) [2021-06-29T02:00:31.051Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-06-29T02:00:31.083Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-29T02:00:31.115Z] > git config core.sparsecheckout # timeout=10 [2021-06-29T02:00:31.125Z] > git checkout -f 2131b689a16c8ebcf80a1a6c70dc215d317472ea # timeout=10 [2021-06-29T02:00:35.312Z] Commit message: "Merge pull request #271 from cloudxxx8/issue-270" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-29T02:00:36.319Z] provisioning config files... [2021-06-29T02:00:36.335Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/60@tmp/config3096360283835872458tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-29T02:00:36.611Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-06-29T02:00:36.690Z] ---> docker-login.sh [2021-06-29T02:00:36.690Z] nexus3.edgexfoundry.org:10001 [Pipeline] sh [2021-06-29T02:00:37.029Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-29T02:00:37.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:00:37.389Z] + sudo service docker restart [2021-06-29T02:00:37.389Z] + true [2021-06-29T02:00:37.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:00:37.537Z] Configure a credential helper to remove this warning. See [2021-06-29T02:00:37.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:00:37.537Z] [2021-06-29T02:00:37.537Z] Login Succeeded [2021-06-29T02:00:37.537Z] nexus3.edgexfoundry.org:10002 [2021-06-29T02:00:37.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:00:37.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:00:37.537Z] Configure a credential helper to remove this warning. See [2021-06-29T02:00:37.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:00:37.537Z] [2021-06-29T02:00:37.537Z] Login Succeeded [2021-06-29T02:00:37.537Z] nexus3.edgexfoundry.org:10003 [2021-06-29T02:00:37.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:00:37.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:00:37.801Z] Configure a credential helper to remove this warning. See [2021-06-29T02:00:37.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:00:37.801Z] [2021-06-29T02:00:37.801Z] Login Succeeded [2021-06-29T02:00:37.801Z] nexus3.edgexfoundry.org:10004 [2021-06-29T02:00:37.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:00:38.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:00:38.069Z] Configure a credential helper to remove this warning. See [2021-06-29T02:00:38.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:00:38.069Z] [2021-06-29T02:00:38.069Z] Login Succeeded [2021-06-29T02:00:38.069Z] docker.io [2021-06-29T02:00:38.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:00:38.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:00:38.648Z] Configure a credential helper to remove this warning. See [2021-06-29T02:00:38.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:00:38.648Z] [2021-06-29T02:00:38.648Z] Login Succeeded [2021-06-29T02:00:38.648Z] ---> docker-login.sh ends [Pipeline] } [2021-06-29T02:00:38.658Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-29T02:00:38.839Z] ========================================================= [2021-06-29T02:00:38.839Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-29T02:00:38.839Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:00:39.171Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-29T02:00:39.171Z] Sending build context to Docker daemon 648.7kB [2021-06-29T02:00:39.171Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-29T02:00:39.171Z] Step 2/8 : FROM ${BASE} [2021-06-29T02:00:39.441Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-29T02:00:39.441Z] 540db60ca938: Pulling fs layer [2021-06-29T02:00:39.441Z] adcc1eea9eea: Pulling fs layer [2021-06-29T02:00:39.441Z] 4c4ab2625f07: Pulling fs layer [2021-06-29T02:00:39.441Z] 0510c868ecb4: Pulling fs layer [2021-06-29T02:00:39.441Z] afea3b2eda06: Pulling fs layer [2021-06-29T02:00:39.441Z] 7809a108b3ef: Pulling fs layer [2021-06-29T02:00:39.441Z] f706445af74f: Pulling fs layer [2021-06-29T02:00:39.441Z] afea3b2eda06: Waiting [2021-06-29T02:00:39.441Z] 7809a108b3ef: Waiting [2021-06-29T02:00:39.441Z] f706445af74f: Waiting [2021-06-29T02:00:39.441Z] 0510c868ecb4: Waiting [2021-06-29T02:00:39.441Z] 4c4ab2625f07: Verifying Checksum [2021-06-29T02:00:39.441Z] 4c4ab2625f07: Download complete [2021-06-29T02:00:39.441Z] adcc1eea9eea: Verifying Checksum [2021-06-29T02:00:39.441Z] adcc1eea9eea: Download complete [2021-06-29T02:00:39.441Z] afea3b2eda06: Verifying Checksum [2021-06-29T02:00:39.441Z] afea3b2eda06: Download complete [2021-06-29T02:00:39.441Z] 7809a108b3ef: Verifying Checksum [2021-06-29T02:00:39.441Z] 7809a108b3ef: Download complete [2021-06-29T02:00:39.441Z] 540db60ca938: Verifying Checksum [2021-06-29T02:00:39.441Z] 540db60ca938: Download complete [2021-06-29T02:00:39.706Z] 540db60ca938: Pull complete [2021-06-29T02:00:39.970Z] adcc1eea9eea: Pull complete [2021-06-29T02:00:40.235Z] 4c4ab2625f07: Pull complete [2021-06-29T02:00:42.171Z] f706445af74f: Verifying Checksum [2021-06-29T02:00:42.171Z] f706445af74f: Download complete [2021-06-29T02:00:43.120Z] 0510c868ecb4: Verifying Checksum [2021-06-29T02:00:43.120Z] 0510c868ecb4: Download complete [2021-06-29T02:00:47.408Z] 0510c868ecb4: Pull complete [2021-06-29T02:00:47.408Z] afea3b2eda06: Pull complete [2021-06-29T02:00:47.408Z] 7809a108b3ef: Pull complete [2021-06-29T02:00:48.833Z] f706445af74f: Pull complete [2021-06-29T02:00:48.833Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-29T02:00:48.833Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-29T02:00:48.833Z] ---> b068be0155e3 [2021-06-29T02:00:48.833Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-29T02:00:55.783Z] provisioning config files... [2021-06-29T02:00:55.811Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/60@tmp/config1135956625448061981tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-29T02:00:56.187Z] ---> docker-login.sh [2021-06-29T02:00:56.187Z] nexus3.edgexfoundry.org:10001 [2021-06-29T02:00:56.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:00:57.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:00:57.466Z] Configure a credential helper to remove this warning. See [2021-06-29T02:00:57.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:00:57.466Z] [2021-06-29T02:00:57.466Z] Login Succeeded [2021-06-29T02:00:57.466Z] nexus3.edgexfoundry.org:10002 [2021-06-29T02:00:57.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:00:58.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:00:58.019Z] Configure a credential helper to remove this warning. See [2021-06-29T02:00:58.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:00:58.019Z] [2021-06-29T02:00:58.019Z] Login Succeeded [2021-06-29T02:00:58.019Z] nexus3.edgexfoundry.org:10003 [2021-06-29T02:00:58.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:00:58.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:00:58.574Z] Configure a credential helper to remove this warning. See [2021-06-29T02:00:58.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:00:58.574Z] [2021-06-29T02:00:58.574Z] Login Succeeded [2021-06-29T02:00:58.574Z] nexus3.edgexfoundry.org:10004 [2021-06-29T02:00:58.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:00:59.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:00:59.123Z] Configure a credential helper to remove this warning. See [2021-06-29T02:00:59.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:00:59.123Z] [2021-06-29T02:00:59.123Z] Login Succeeded [2021-06-29T02:00:59.123Z] docker.io [2021-06-29T02:00:59.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:01:00.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:01:00.010Z] Configure a credential helper to remove this warning. See [2021-06-29T02:01:00.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:01:00.010Z] [2021-06-29T02:01:00.010Z] Login Succeeded [2021-06-29T02:01:00.010Z] ---> docker-login.sh ends [Pipeline] } [2021-06-29T02:01:00.026Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-29T02:01:00.306Z] ========================================================= [2021-06-29T02:01:00.306Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-29T02:01:00.306Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:01:00.693Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-29T02:01:00.967Z] Sending build context to Docker daemon 647.7kB [2021-06-29T02:01:01.245Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-29T02:01:01.245Z] Step 2/8 : FROM ${BASE} [2021-06-29T02:01:01.245Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-29T02:01:01.245Z] 595b0fe564bb: Pulling fs layer [2021-06-29T02:01:01.245Z] 3088b5b3c5c0: Pulling fs layer [2021-06-29T02:01:01.245Z] 5b7225fbf94c: Pulling fs layer [2021-06-29T02:01:01.245Z] ba82ee9f976e: Pulling fs layer [2021-06-29T02:01:01.245Z] 506bd15cee9f: Pulling fs layer [2021-06-29T02:01:01.245Z] ba82ee9f976e: Waiting [2021-06-29T02:01:01.245Z] 75a0a4a0db45: Pulling fs layer [2021-06-29T02:01:01.245Z] 618dc40b7e24: Pulling fs layer [2021-06-29T02:01:01.245Z] 506bd15cee9f: Waiting [2021-06-29T02:01:01.245Z] 75a0a4a0db45: Waiting [2021-06-29T02:01:01.245Z] 618dc40b7e24: Waiting [2021-06-29T02:01:01.539Z] 3088b5b3c5c0: Verifying Checksum [2021-06-29T02:01:01.539Z] 3088b5b3c5c0: Download complete [2021-06-29T02:01:01.539Z] 5b7225fbf94c: Verifying Checksum [2021-06-29T02:01:01.539Z] 5b7225fbf94c: Download complete [2021-06-29T02:01:01.539Z] 506bd15cee9f: Verifying Checksum [2021-06-29T02:01:01.539Z] 506bd15cee9f: Download complete [2021-06-29T02:01:01.539Z] 595b0fe564bb: Verifying Checksum [2021-06-29T02:01:01.539Z] 595b0fe564bb: Download complete [2021-06-29T02:01:01.539Z] 75a0a4a0db45: Verifying Checksum [2021-06-29T02:01:01.539Z] 75a0a4a0db45: Download complete [2021-06-29T02:01:02.155Z] 595b0fe564bb: Pull complete [2021-06-29T02:01:02.762Z] 3088b5b3c5c0: Pull complete [2021-06-29T02:01:03.363Z] 5b7225fbf94c: Pull complete [2021-06-29T02:01:03.634Z] 618dc40b7e24: Verifying Checksum [2021-06-29T02:01:03.634Z] 618dc40b7e24: Download complete [2021-06-29T02:01:05.623Z] ba82ee9f976e: Verifying Checksum [2021-06-29T02:01:05.623Z] ba82ee9f976e: Download complete [2021-06-29T02:01:06.993Z] ---> Running in 3df6346f1d69 [2021-06-29T02:01:06.993Z] Removing intermediate container 3df6346f1d69 [2021-06-29T02:01:06.993Z] ---> 3ff05ff22638 [2021-06-29T02:01:06.993Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-29T02:01:06.993Z] ---> Running in 9393797f06c1 [2021-06-29T02:01:07.580Z] Removing intermediate container 9393797f06c1 [2021-06-29T02:01:07.580Z] ---> 425dbca09857 [2021-06-29T02:01:07.580Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-29T02:01:07.580Z] ---> Running in 6631eb91c848 [2021-06-29T02:01:08.169Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-29T02:01:10.094Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-29T02:01:15.396Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-29T02:01:15.396Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-29T02:01:15.396Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-29T02:01:15.396Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-29T02:01:15.396Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-29T02:01:15.657Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-29T02:01:15.919Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-29T02:01:16.147Z] ba82ee9f976e: Pull complete [2021-06-29T02:01:16.147Z] 506bd15cee9f: Pull complete [2021-06-29T02:01:16.749Z] 75a0a4a0db45: Pull complete [2021-06-29T02:01:18.474Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-29T02:01:18.474Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-29T02:01:18.474Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-29T02:01:19.046Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-29T02:01:19.307Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-29T02:01:19.570Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-29T02:01:19.833Z] Executing busybox-1.32.1-r6.trigger [2021-06-29T02:01:19.833Z] OK: 156 MiB in 53 packages [2021-06-29T02:01:20.157Z] 618dc40b7e24: Pull complete [2021-06-29T02:01:20.157Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-29T02:01:20.157Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-29T02:01:20.157Z] ---> a36622ca3599 [2021-06-29T02:01:20.157Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-29T02:01:22.182Z] ---> Running in 9171372d35c3 [2021-06-29T02:01:22.386Z] Removing intermediate container 6631eb91c848 [2021-06-29T02:01:22.386Z] ---> 5e53e01e1605 [2021-06-29T02:01:22.386Z] Step 6/8 : WORKDIR /device-modbus-go [2021-06-29T02:01:22.386Z] ---> Running in 0eb57e8e0bcb [2021-06-29T02:01:22.648Z] Removing intermediate container 0eb57e8e0bcb [2021-06-29T02:01:22.648Z] ---> 3b94c51b2b2e [2021-06-29T02:01:22.648Z] Step 7/8 : COPY . . [2021-06-29T02:01:22.781Z] Removing intermediate container 9171372d35c3 [2021-06-29T02:01:22.781Z] ---> 8e24f1e1bf2e [2021-06-29T02:01:22.781Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-29T02:01:22.910Z] ---> a64d831784be [2021-06-29T02:01:22.910Z] Step 8/8 : RUN go mod download [2021-06-29T02:01:22.910Z] ---> Running in 79f564173e4a [2021-06-29T02:01:23.056Z] ---> Running in 9648aa9eabb7 [2021-06-29T02:01:25.693Z] Removing intermediate container 9648aa9eabb7 [2021-06-29T02:01:25.693Z] ---> 3350c0c92f8b [2021-06-29T02:01:25.693Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-29T02:01:25.693Z] ---> Running in 6de4b05b68cf [2021-06-29T02:01:26.679Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-29T02:01:27.653Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-29T02:01:29.623Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-29T02:01:29.623Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-29T02:01:29.894Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-29T02:01:30.166Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-29T02:01:30.438Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-29T02:01:31.030Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-29T02:01:31.303Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-29T02:01:34.687Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-29T02:01:34.687Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-29T02:01:34.960Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-29T02:01:35.552Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-29T02:01:35.825Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-29T02:01:36.422Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-29T02:01:36.422Z] Executing busybox-1.32.1-r6.trigger [2021-06-29T02:01:36.422Z] OK: 145 MiB in 53 packages [2021-06-29T02:01:37.858Z] Removing intermediate container 6de4b05b68cf [2021-06-29T02:01:37.858Z] ---> 6db4bceae560 [2021-06-29T02:01:37.858Z] Step 6/8 : WORKDIR /device-modbus-go [2021-06-29T02:01:37.858Z] ---> Running in 1db7b2ac1797 [2021-06-29T02:01:38.455Z] Removing intermediate container 1db7b2ac1797 [2021-06-29T02:01:38.455Z] ---> efad1db5f700 [2021-06-29T02:01:38.455Z] Step 7/8 : COPY . . [2021-06-29T02:01:39.460Z] ---> 65a861d0b7d0 [2021-06-29T02:01:39.460Z] Step 8/8 : RUN go mod download [2021-06-29T02:01:39.733Z] ---> Running in 2f285a898292 [2021-06-29T02:01:49.523Z] Removing intermediate container 79f564173e4a [2021-06-29T02:01:49.523Z] ---> 2bbb9f16cac8 [2021-06-29T02:01:49.523Z] Successfully built 2bbb9f16cac8 [2021-06-29T02:01:49.523Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:01:49.839Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-29T02:01:49.840Z] . [Pipeline] withDockerContainer [2021-06-29T02:01:49.918Z] prd-centos7-docker-4c-2g-626 does not seem to be running inside a container [2021-06-29T02:01:50.104Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/60 -v /w/workspace/device-modbus-go/60:/w/workspace/device-modbus-go/60:rw,z -v /w/workspace/device-modbus-go/60@tmp:/w/workspace/device-modbus-go/60@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-29T02:01:50.659Z] $ docker top 6ce578987c0fb8986d6c4c28c758eb8f9b4e56a77270a9efd855883413c63118 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-29T02:01:51.034Z] + go version [2021-06-29T02:01:51.034Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-29T02:01:51.044Z] $ docker stop --time=1 6ce578987c0fb8986d6c4c28c758eb8f9b4e56a77270a9efd855883413c63118 [2021-06-29T02:01:52.340Z] $ docker rm -f 6ce578987c0fb8986d6c4c28c758eb8f9b4e56a77270a9efd855883413c63118 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:01:52.931Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-29T02:01:52.931Z] . [Pipeline] withDockerContainer [2021-06-29T02:01:53.010Z] prd-centos7-docker-4c-2g-626 does not seem to be running inside a container [2021-06-29T02:01:53.050Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/60 -v /w/workspace/device-modbus-go/60:/w/workspace/device-modbus-go/60:rw,z -v /w/workspace/device-modbus-go/60@tmp:/w/workspace/device-modbus-go/60@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-29T02:01:53.416Z] $ docker top ed4792529b4a6d19dd0c54bb149c5a9a2de8ca87357a5acba87df7dcaacd51d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-29T02:01:53.808Z] + go mod tidy [Pipeline] sh [2021-06-29T02:01:54.374Z] + make test [2021-06-29T02:01:54.374Z] go mod tidy [2021-06-29T02:01:54.374Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-29T02:01:54.952Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-06-29T02:02:12.077Z] Removing intermediate container 2f285a898292 [2021-06-29T02:02:12.077Z] ---> de4de88ffc6d [2021-06-29T02:02:12.077Z] Successfully built de4de88ffc6d [2021-06-29T02:02:12.077Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:02:12.434Z] + docker inspect -f . ci-base-image-arm64 [2021-06-29T02:02:12.434Z] . [Pipeline] withDockerContainer [2021-06-29T02:02:12.707Z] prd-ubuntu18.04-docker-arm64-4c-16g-627 does not seem to be running inside a container [2021-06-29T02:02:12.808Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/60 -v /w/workspace/device-modbus-go/60:/w/workspace/device-modbus-go/60:rw,z -v /w/workspace/device-modbus-go/60@tmp:/w/workspace/device-modbus-go/60@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-29T02:02:13.247Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-06-29T02:02:13.248Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 47.7% of statements [2021-06-29T02:02:13.248Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-29T02:02:14.640Z] $ docker top dba3fdbd910f2bacfa72b2d4874d43ac6579ccc792303cef4e921ba7a9f71c12 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-29T02:02:15.692Z] + go version [2021-06-29T02:02:15.693Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-29T02:02:15.720Z] $ docker stop --time=1 dba3fdbd910f2bacfa72b2d4874d43ac6579ccc792303cef4e921ba7a9f71c12 [2021-06-29T02:02:17.546Z] $ docker rm -f dba3fdbd910f2bacfa72b2d4874d43ac6579ccc792303cef4e921ba7a9f71c12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:02:18.436Z] + docker inspect -f . ci-base-image-arm64 [2021-06-29T02:02:18.436Z] . [Pipeline] withDockerContainer [2021-06-29T02:02:18.641Z] gofmt -l . [2021-06-29T02:02:18.641Z] [ "`gofmt -l .`" = "" ] [2021-06-29T02:02:18.641Z] ./bin/test-attribution-txt.sh [2021-06-29T02:02:18.707Z] prd-ubuntu18.04-docker-arm64-4c-16g-627 does not seem to be running inside a container [2021-06-29T02:02:18.794Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/60 -v /w/workspace/device-modbus-go/60:/w/workspace/device-modbus-go/60:rw,z -v /w/workspace/device-modbus-go/60@tmp:/w/workspace/device-modbus-go/60@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-29T02:02:19.227Z] ./bin/test-go-mod-tidy.sh [2021-06-29T02:02:20.574Z] $ docker top 26f6a017794a9a5b89791fbf86c26c1008dcc2d8168c0b1e9e0e10eecb4c449a -eo pid,comm [Pipeline] { [Pipeline] } [2021-06-29T02:02:20.910Z] $ docker stop --time=1 ed4792529b4a6d19dd0c54bb149c5a9a2de8ca87357a5acba87df7dcaacd51d8 [2021-06-29T02:02:24.845Z] $ docker rm -f ed4792529b4a6d19dd0c54bb149c5a9a2de8ca87357a5acba87df7dcaacd51d8 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2021-06-29T02:02:25.346Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-29T02:02:25.553Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-06-29T02:02:25.725Z] + go mod tidy [Pipeline] sh [Pipeline] sh [2021-06-29T02:02:26.947Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-29T02:02:27.225Z] + make test [2021-06-29T02:02:27.225Z] go mod tidy [2021-06-29T02:02:27.250Z] + ls -al . [2021-06-29T02:02:27.250Z] total 120 [2021-06-29T02:02:27.250Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jun 29 02:02 . [2021-06-29T02:02:27.250Z] drwxrwxr-x. 4 jenkins jenkins 30 Jun 29 02:00 .. [2021-06-29T02:02:27.250Z] -rw-rw-r--. 1 jenkins jenkins 7707 Jun 29 02:00 Attribution.txt [2021-06-29T02:02:27.250Z] drwxrwxr-x. 2 jenkins jenkins 87 Jun 29 02:00 bin [2021-06-29T02:02:27.250Z] -rw-rw-r--. 1 jenkins jenkins 6038 Jun 29 02:00 CHANGELOG.md [2021-06-29T02:02:27.250Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 29 02:00 cmd [2021-06-29T02:02:27.250Z] -rw-r--r--. 1 jenkins jenkins 22385 Jun 29 02:02 coverage.out [2021-06-29T02:02:27.250Z] -rw-rw-r--. 1 jenkins jenkins 1473 Jun 29 02:00 Dockerfile [2021-06-29T02:02:27.250Z] -rw-rw-r--. 1 jenkins jenkins 995 Jun 29 02:00 Dockerfile.build [2021-06-29T02:02:27.250Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 29 02:00 .dockerignore [2021-06-29T02:02:27.250Z] drwxrwxr-x. 8 jenkins jenkins 162 Jun 29 02:00 .git [2021-06-29T02:02:27.250Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 29 02:00 .github [2021-06-29T02:02:27.250Z] -rw-rw-r--. 1 jenkins jenkins 338 Jun 29 02:00 .gitignore [2021-06-29T02:02:27.250Z] -rw-r--r--. 1 jenkins jenkins 414 Jun 29 02:02 go.mod [2021-06-29T02:02:27.250Z] -rw-r--r--. 1 jenkins jenkins 21529 Jun 29 02:01 go.sum [2021-06-29T02:02:27.250Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 29 02:00 internal [2021-06-29T02:02:27.250Z] -rw-rw-r--. 1 jenkins jenkins 679 Jun 29 02:00 Jenkinsfile [2021-06-29T02:02:27.250Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 29 02:00 LICENSE [2021-06-29T02:02:27.250Z] -rw-rw-r--. 1 jenkins jenkins 914 Jun 29 02:00 Makefile [2021-06-29T02:02:27.250Z] -rw-rw-r--. 1 jenkins jenkins 2897 Jun 29 02:00 README.md [2021-06-29T02:02:27.250Z] drwxrwxr-x. 2 jenkins jenkins 52 Jun 29 02:00 simulator [2021-06-29T02:02:27.250Z] drwxrwxr-x. 4 jenkins jenkins 71 Jun 29 02:00 snap [2021-06-29T02:02:27.250Z] -rw-rw-r--. 1 jenkins jenkins 12 Jun 29 01:56 VERSION [2021-06-29T02:02:27.250Z] -rw-rw-r--. 1 jenkins jenkins 229 Jun 29 02:00 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:02:27.589Z] + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=2131b689a16c8ebcf80a1a6c70dc215d317472ea --label arch=amd64 --label version=1.3.2-dev.21 . [2021-06-29T02:02:27.589Z] Sending build context to Docker daemon 671.7kB [2021-06-29T02:02:27.589Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.12 [2021-06-29T02:02:27.589Z] Step 2/22 : FROM ${BASE} AS builder [2021-06-29T02:02:27.589Z] ---> 2bbb9f16cac8 [2021-06-29T02:02:27.589Z] Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-29T02:02:27.826Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-29T02:02:28.161Z] ---> Running in 957ef9086888 [2021-06-29T02:02:28.812Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-06-29T02:02:29.113Z] Removing intermediate container 957ef9086888 [2021-06-29T02:02:29.113Z] ---> 5ec1f9360fb0 [2021-06-29T02:02:29.113Z] Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-29T02:02:29.113Z] ---> Running in 489007867f71 [2021-06-29T02:02:29.695Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-29T02:02:30.646Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-29T02:02:30.909Z] OK: 156 MiB in 53 packages [2021-06-29T02:02:31.484Z] Removing intermediate container 489007867f71 [2021-06-29T02:02:31.484Z] ---> f7a28c544c6b [2021-06-29T02:02:31.484Z] Step 5/22 : WORKDIR /device-modbus-go [2021-06-29T02:02:31.484Z] ---> Running in dd78d2c6d0ef [2021-06-29T02:02:31.752Z] Removing intermediate container dd78d2c6d0ef [2021-06-29T02:02:31.752Z] ---> e507b77f20cb [2021-06-29T02:02:31.752Z] Step 6/22 : COPY . . [2021-06-29T02:02:32.325Z] ---> 5fc4711445f4 [2021-06-29T02:02:32.325Z] Step 7/22 : RUN go mod tidy [2021-06-29T02:02:32.588Z] ---> Running in 6538d4519d76 [2021-06-29T02:02:33.979Z] Removing intermediate container 6538d4519d76 [2021-06-29T02:02:33.979Z] ---> 1a0c403863c1 [2021-06-29T02:02:33.979Z] Step 8/22 : RUN go mod download [2021-06-29T02:02:33.979Z] ---> Running in 51b0098017b6 [2021-06-29T02:02:34.928Z] Removing intermediate container 51b0098017b6 [2021-06-29T02:02:34.928Z] ---> 4fbeda689f82 [2021-06-29T02:02:34.928Z] Step 9/22 : RUN make build [2021-06-29T02:02:35.190Z] ---> Running in eb9358506d77 [2021-06-29T02:02:36.137Z] go mod tidy [2021-06-29T02:02:36.401Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.21" -o cmd/device-modbus ./cmd [2021-06-29T02:02:51.405Z] Removing intermediate container eb9358506d77 [2021-06-29T02:02:51.405Z] ---> 7cf4a63ec4de [2021-06-29T02:02:51.405Z] Step 10/22 : FROM alpine:3.12 [2021-06-29T02:02:51.405Z] 3.12: Pulling from library/alpine [2021-06-29T02:02:51.405Z] 339de151aab4: Pulling fs layer [2021-06-29T02:02:51.405Z] 339de151aab4: Verifying Checksum [2021-06-29T02:02:51.405Z] 339de151aab4: Download complete [2021-06-29T02:02:51.405Z] 339de151aab4: Pull complete [2021-06-29T02:02:51.405Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-29T02:02:51.405Z] Status: Downloaded newer image for alpine:3.12 [2021-06-29T02:02:51.405Z] ---> 13621d1b12d4 [2021-06-29T02:02:51.405Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-06-29T02:02:51.669Z] ---> Running in 7e32bd5f649e [2021-06-29T02:02:51.934Z] Removing intermediate container 7e32bd5f649e [2021-06-29T02:02:51.934Z] ---> b2fe4c4e7bc7 [2021-06-29T02:02:51.934Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-29T02:02:52.196Z] ---> Running in bbc85c37ab2a [2021-06-29T02:02:53.153Z] Removing intermediate container bbc85c37ab2a [2021-06-29T02:02:53.153Z] ---> 2d23e2464d1a [2021-06-29T02:02:53.153Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-29T02:02:53.415Z] ---> Running in 27bcaeceb33d [2021-06-29T02:02:53.991Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-29T02:02:54.566Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-29T02:02:55.141Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-29T02:02:55.141Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-29T02:02:55.141Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-29T02:02:55.401Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-29T02:02:56.352Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-29T02:02:56.352Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-29T02:02:56.614Z] Executing busybox-1.31.1-r20.trigger [2021-06-29T02:02:56.614Z] OK: 8 MiB in 20 packages [2021-06-29T02:02:57.186Z] Removing intermediate container 27bcaeceb33d [2021-06-29T02:02:57.186Z] ---> 7800dbca482b [2021-06-29T02:02:57.186Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-06-29T02:02:57.764Z] ---> 6239ba3d3bee [2021-06-29T02:02:57.764Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-06-29T02:02:57.764Z] ---> 4e2f3396ba69 [2021-06-29T02:02:57.764Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-06-29T02:02:58.027Z] ---> a75ae3030763 [2021-06-29T02:02:58.027Z] Step 17/22 : EXPOSE 59901 [2021-06-29T02:02:58.027Z] ---> Running in 0f6b9bb66546 [2021-06-29T02:02:58.289Z] Removing intermediate container 0f6b9bb66546 [2021-06-29T02:02:58.289Z] ---> 54845d61fe03 [2021-06-29T02:02:58.289Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-06-29T02:02:58.289Z] ---> Running in 0adf1759ca6c [2021-06-29T02:02:58.551Z] Removing intermediate container 0adf1759ca6c [2021-06-29T02:02:58.551Z] ---> 2995cf5ba6d4 [2021-06-29T02:02:58.551Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-29T02:02:58.551Z] ---> Running in d53df80061cf [2021-06-29T02:02:58.813Z] Removing intermediate container d53df80061cf [2021-06-29T02:02:58.813Z] ---> c839f635d824 [2021-06-29T02:02:58.813Z] Step 20/22 : LABEL arch=amd64 [2021-06-29T02:02:58.813Z] ---> Running in a2558b2db80d [2021-06-29T02:02:59.078Z] Removing intermediate container a2558b2db80d [2021-06-29T02:02:59.078Z] ---> 4d4860dd4ebe [2021-06-29T02:02:59.078Z] Step 21/22 : LABEL git_sha=2131b689a16c8ebcf80a1a6c70dc215d317472ea [2021-06-29T02:02:59.078Z] ---> Running in 1ddbc8e3feb7 [2021-06-29T02:02:59.351Z] Removing intermediate container 1ddbc8e3feb7 [2021-06-29T02:02:59.351Z] ---> 1b9b44aefd40 [2021-06-29T02:02:59.351Z] Step 22/22 : LABEL version=1.3.2-dev.21 [2021-06-29T02:02:59.351Z] ---> Running in ccaff1c22acb [2021-06-29T02:02:59.613Z] Removing intermediate container ccaff1c22acb [2021-06-29T02:02:59.613Z] ---> bf2c57024103 [2021-06-29T02:02:59.613Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-06-29T02:02:59.613Z] Successfully built bf2c57024103 [2021-06-29T02:02:59.613Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-29T02:02:59.933Z] provisioning config files... [2021-06-29T02:02:59.946Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/60@tmp/config4702509209164463332tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-29T02:03:00.270Z] ---> docker-login.sh [2021-06-29T02:03:00.270Z] nexus3.edgexfoundry.org:10001 [2021-06-29T02:03:00.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:03:00.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:03:00.270Z] Configure a credential helper to remove this warning. See [2021-06-29T02:03:00.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:03:00.270Z] [2021-06-29T02:03:00.270Z] Login Succeeded [2021-06-29T02:03:00.270Z] nexus3.edgexfoundry.org:10002 [2021-06-29T02:03:00.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:03:00.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:03:00.532Z] Configure a credential helper to remove this warning. See [2021-06-29T02:03:00.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:03:00.532Z] [2021-06-29T02:03:00.532Z] Login Succeeded [2021-06-29T02:03:00.532Z] nexus3.edgexfoundry.org:10003 [2021-06-29T02:03:00.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:03:00.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:03:00.532Z] Configure a credential helper to remove this warning. See [2021-06-29T02:03:00.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:03:00.532Z] [2021-06-29T02:03:00.532Z] Login Succeeded [2021-06-29T02:03:00.532Z] nexus3.edgexfoundry.org:10004 [2021-06-29T02:03:00.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:03:00.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:03:00.795Z] Configure a credential helper to remove this warning. See [2021-06-29T02:03:00.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:03:00.795Z] [2021-06-29T02:03:00.795Z] Login Succeeded [2021-06-29T02:03:00.795Z] docker.io [2021-06-29T02:03:00.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:03:01.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:03:01.059Z] Configure a credential helper to remove this warning. See [2021-06-29T02:03:01.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:03:01.059Z] [2021-06-29T02:03:01.059Z] Login Succeeded [2021-06-29T02:03:01.059Z] ---> docker-login.sh ends [Pipeline] } [2021-06-29T02:03:01.068Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-29T02:03:01.242Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2021-06-29T02:03:01.242Z] 2131b689a16c8ebcf80a1a6c70dc215d317472ea [2021-06-29T02:03:01.242Z] latest [2021-06-29T02:03:01.242Z] 1.3.2-dev.21 [2021-06-29T02:03:01.242Z] 2131b689a16c8ebcf80a1a6c70dc215d317472ea-1.3.2-dev.21 [2021-06-29T02:03:01.242Z] master [2021-06-29T02:03:01.242Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:03:01.603Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2131b689a16c8ebcf80a1a6c70dc215d317472ea [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:03:01.915Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2131b689a16c8ebcf80a1a6c70dc215d317472ea [2021-06-29T02:03:01.915Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-06-29T02:03:01.915Z] da1de62d6036: Preparing [2021-06-29T02:03:01.915Z] 15569c4e7fcb: Preparing [2021-06-29T02:03:01.915Z] 9991915b3dcb: Preparing [2021-06-29T02:03:01.915Z] 4e3e658ffd3a: Preparing [2021-06-29T02:03:01.915Z] 110f8bbc8a15: Preparing [2021-06-29T02:03:01.915Z] 32f366d666a5: Preparing [2021-06-29T02:03:01.915Z] 32f366d666a5: Waiting [2021-06-29T02:03:02.180Z] 15569c4e7fcb: Pushed [2021-06-29T02:03:02.180Z] da1de62d6036: Pushed [2021-06-29T02:03:02.180Z] 32f366d666a5: Layer already exists [2021-06-29T02:03:02.180Z] 4e3e658ffd3a: Pushed [2021-06-29T02:03:02.180Z] 110f8bbc8a15: Pushed [2021-06-29T02:03:03.566Z] 9991915b3dcb: Pushed [2021-06-29T02:03:03.566Z] 2131b689a16c8ebcf80a1a6c70dc215d317472ea: digest: sha256:e08ce42730ca4970595f0bab150493bba62d6bc60dbed1d9dbefbf74d2630df9 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:03:03.881Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:03:04.183Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-06-29T02:03:04.183Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-06-29T02:03:04.183Z] da1de62d6036: Preparing [2021-06-29T02:03:04.183Z] 15569c4e7fcb: Preparing [2021-06-29T02:03:04.183Z] 9991915b3dcb: Preparing [2021-06-29T02:03:04.183Z] 4e3e658ffd3a: Preparing [2021-06-29T02:03:04.183Z] 110f8bbc8a15: Preparing [2021-06-29T02:03:04.183Z] 32f366d666a5: Preparing [2021-06-29T02:03:04.183Z] 32f366d666a5: Waiting [2021-06-29T02:03:04.183Z] da1de62d6036: Layer already exists [2021-06-29T02:03:04.183Z] 15569c4e7fcb: Layer already exists [2021-06-29T02:03:04.183Z] 4e3e658ffd3a: Layer already exists [2021-06-29T02:03:04.183Z] 110f8bbc8a15: Layer already exists [2021-06-29T02:03:04.183Z] 9991915b3dcb: Layer already exists [2021-06-29T02:03:04.183Z] 32f366d666a5: Layer already exists [2021-06-29T02:03:04.183Z] latest: digest: sha256:e08ce42730ca4970595f0bab150493bba62d6bc60dbed1d9dbefbf74d2630df9 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:03:04.495Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.21 [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:03:04.804Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.21 [2021-06-29T02:03:04.804Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-06-29T02:03:04.804Z] da1de62d6036: Preparing [2021-06-29T02:03:04.804Z] 15569c4e7fcb: Preparing [2021-06-29T02:03:04.804Z] 9991915b3dcb: Preparing [2021-06-29T02:03:04.804Z] 4e3e658ffd3a: Preparing [2021-06-29T02:03:04.804Z] 110f8bbc8a15: Preparing [2021-06-29T02:03:04.804Z] 32f366d666a5: Preparing [2021-06-29T02:03:04.804Z] 32f366d666a5: Waiting [2021-06-29T02:03:04.804Z] 4e3e658ffd3a: Layer already exists [2021-06-29T02:03:04.804Z] 110f8bbc8a15: Layer already exists [2021-06-29T02:03:04.804Z] 9991915b3dcb: Layer already exists [2021-06-29T02:03:04.804Z] 15569c4e7fcb: Layer already exists [2021-06-29T02:03:04.804Z] da1de62d6036: Layer already exists [2021-06-29T02:03:04.804Z] 32f366d666a5: Layer already exists [2021-06-29T02:03:04.804Z] 1.3.2-dev.21: digest: sha256:e08ce42730ca4970595f0bab150493bba62d6bc60dbed1d9dbefbf74d2630df9 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:03:05.116Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2131b689a16c8ebcf80a1a6c70dc215d317472ea-1.3.2-dev.21 [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:03:05.423Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2131b689a16c8ebcf80a1a6c70dc215d317472ea-1.3.2-dev.21 [2021-06-29T02:03:05.423Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-06-29T02:03:05.423Z] da1de62d6036: Preparing [2021-06-29T02:03:05.423Z] 15569c4e7fcb: Preparing [2021-06-29T02:03:05.423Z] 9991915b3dcb: Preparing [2021-06-29T02:03:05.423Z] 4e3e658ffd3a: Preparing [2021-06-29T02:03:05.423Z] 110f8bbc8a15: Preparing [2021-06-29T02:03:05.423Z] 32f366d666a5: Preparing [2021-06-29T02:03:05.423Z] 32f366d666a5: Waiting [2021-06-29T02:03:05.423Z] 110f8bbc8a15: Layer already exists [2021-06-29T02:03:05.423Z] 15569c4e7fcb: Layer already exists [2021-06-29T02:03:05.423Z] 9991915b3dcb: Layer already exists [2021-06-29T02:03:05.423Z] da1de62d6036: Layer already exists [2021-06-29T02:03:05.423Z] 4e3e658ffd3a: Layer already exists [2021-06-29T02:03:05.423Z] 32f366d666a5: Layer already exists [2021-06-29T02:03:05.423Z] 2131b689a16c8ebcf80a1a6c70dc215d317472ea-1.3.2-dev.21: digest: sha256:e08ce42730ca4970595f0bab150493bba62d6bc60dbed1d9dbefbf74d2630df9 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:03:05.815Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:master [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:03:06.119Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:master [2021-06-29T02:03:06.119Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-06-29T02:03:06.119Z] da1de62d6036: Preparing [2021-06-29T02:03:06.119Z] 15569c4e7fcb: Preparing [2021-06-29T02:03:06.119Z] 9991915b3dcb: Preparing [2021-06-29T02:03:06.119Z] 4e3e658ffd3a: Preparing [2021-06-29T02:03:06.119Z] 110f8bbc8a15: Preparing [2021-06-29T02:03:06.119Z] 32f366d666a5: Preparing [2021-06-29T02:03:06.119Z] 32f366d666a5: Waiting [2021-06-29T02:03:06.119Z] 4e3e658ffd3a: Layer already exists [2021-06-29T02:03:06.119Z] 110f8bbc8a15: Layer already exists [2021-06-29T02:03:06.119Z] da1de62d6036: Layer already exists [2021-06-29T02:03:06.119Z] 9991915b3dcb: Layer already exists [2021-06-29T02:03:06.119Z] 15569c4e7fcb: Layer already exists [2021-06-29T02:03:06.119Z] 32f366d666a5: Layer already exists [2021-06-29T02:03:06.119Z] master: digest: sha256:e08ce42730ca4970595f0bab150493bba62d6bc60dbed1d9dbefbf74d2630df9 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-29T02:03:06.189Z] ===================================================== [Pipeline] echo [2021-06-29T02:03:06.206Z] taggedImages: [2021-06-29T02:03:06.206Z] - nexus3.edgexfoundry.org:10004/device-modbus:2131b689a16c8ebcf80a1a6c70dc215d317472ea [2021-06-29T02:03:06.206Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-06-29T02:03:06.206Z] - nexus3.edgexfoundry.org:10004/device-modbus:1.3.2-dev.21 [2021-06-29T02:03:06.206Z] - nexus3.edgexfoundry.org:10004/device-modbus:2131b689a16c8ebcf80a1a6c70dc215d317472ea-1.3.2-dev.21 [2021-06-29T02:03:06.206Z] - nexus3.edgexfoundry.org:10004/device-modbus:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-29T02:03:06.848Z] ---> job-cost.sh [2021-06-29T02:03:06.848Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-8wh3 [2021-06-29T02:03:16.888Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-29T02:03:25.487Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-06-29T02:03:25.487Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.045s coverage: 47.7% of statements [2021-06-29T02:03:25.487Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-29T02:03:35.068Z] lf-activate-venv(): INFO: Adding /tmp/venv-8wh3/bin to PATH [2021-06-29T02:03:35.069Z] INFO: No Stack... [2021-06-29T02:03:36.012Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-29T02:03:36.958Z] INFO: Archiving Costs [Pipeline] sh [2021-06-29T02:03:37.404Z] + cut -d, -f6 [2021-06-29T02:03:37.404Z] + cat /w/workspace/device-modbus-go/60/archives/cost.csv [Pipeline] lock [2021-06-29T02:03:37.662Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-60-stack-cost] [2021-06-29T02:03:37.676Z] Resource [jenkins-edgexfoundry-device-modbus-go-master-60-stack-cost] did not exist. Created. [2021-06-29T02:03:37.676Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-60-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-29T02:03:37.999Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-29T02:03:38.076Z] Stashed 1 file(s) [Pipeline] } [2021-06-29T02:03:38.152Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-60-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-29T02:03:43.889Z] gofmt -l . [2021-06-29T02:03:43.889Z] [ "`gofmt -l .`" = "" ] [2021-06-29T02:03:43.889Z] ./bin/test-attribution-txt.sh [2021-06-29T02:03:43.889Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-29T02:03:44.505Z] $ docker stop --time=1 26f6a017794a9a5b89791fbf86c26c1008dcc2d8168c0b1e9e0e10eecb4c449a [2021-06-29T02:03:46.458Z] $ docker rm -f 26f6a017794a9a5b89791fbf86c26c1008dcc2d8168c0b1e9e0e10eecb4c449a [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-29T02:03:47.341Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-29T02:03:47.374Z] Warning: overwriting stash ‘coverage-report’ [2021-06-29T02:03:47.863Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-29T02:03:48.409Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-29T02:03:48.749Z] + ls -al . [2021-06-29T02:03:48.749Z] total 152 [2021-06-29T02:03:48.749Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 29 02:03 . [2021-06-29T02:03:48.749Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 02:00 .. [2021-06-29T02:03:48.749Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 29 02:00 .dockerignore [2021-06-29T02:03:48.749Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 02:00 .git [2021-06-29T02:03:48.749Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 02:00 .github [2021-06-29T02:03:48.749Z] -rw-rw-r-- 1 jenkins jenkins 338 Jun 29 02:00 .gitignore [2021-06-29T02:03:48.749Z] -rw-rw-r-- 1 jenkins jenkins 7707 Jun 29 02:00 Attribution.txt [2021-06-29T02:03:48.749Z] -rw-rw-r-- 1 jenkins jenkins 6038 Jun 29 02:00 CHANGELOG.md [2021-06-29T02:03:48.749Z] -rw-rw-r-- 1 jenkins jenkins 1473 Jun 29 02:00 Dockerfile [2021-06-29T02:03:48.749Z] -rw-rw-r-- 1 jenkins jenkins 995 Jun 29 02:00 Dockerfile.build [2021-06-29T02:03:48.749Z] -rw-rw-r-- 1 jenkins jenkins 679 Jun 29 02:00 Jenkinsfile [2021-06-29T02:03:48.749Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 29 02:00 LICENSE [2021-06-29T02:03:48.749Z] -rw-rw-r-- 1 jenkins jenkins 914 Jun 29 02:00 Makefile [2021-06-29T02:03:48.749Z] -rw-rw-r-- 1 jenkins jenkins 2897 Jun 29 02:00 README.md [2021-06-29T02:03:48.749Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 29 01:56 VERSION [2021-06-29T02:03:48.749Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 02:00 bin [2021-06-29T02:03:48.749Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 02:00 cmd [2021-06-29T02:03:48.749Z] -rw-r--r-- 1 jenkins jenkins 22385 Jun 29 02:03 coverage.out [2021-06-29T02:03:48.749Z] -rw-r--r-- 1 jenkins jenkins 414 Jun 29 02:03 go.mod [2021-06-29T02:03:48.749Z] -rw-r--r-- 1 jenkins jenkins 21529 Jun 29 02:02 go.sum [2021-06-29T02:03:48.749Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 02:00 internal [2021-06-29T02:03:48.749Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 02:00 simulator [2021-06-29T02:03:48.750Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 02:00 snap [2021-06-29T02:03:48.750Z] -rw-rw-r-- 1 jenkins jenkins 229 Jun 29 02:00 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:03:49.096Z] + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=2131b689a16c8ebcf80a1a6c70dc215d317472ea --label arch=arm64 --label version=1.3.2-dev.21 . [2021-06-29T02:03:49.368Z] Sending build context to Docker daemon 670.7kB [2021-06-29T02:03:49.660Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.12 [2021-06-29T02:03:49.660Z] Step 2/22 : FROM ${BASE} AS builder [2021-06-29T02:03:49.660Z] ---> de4de88ffc6d [2021-06-29T02:03:49.660Z] Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-29T02:03:49.981Z] ---> Running in 3bafc2f17730 [2021-06-29T02:03:52.645Z] Removing intermediate container 3bafc2f17730 [2021-06-29T02:03:52.645Z] ---> 0f9a7307fbd2 [2021-06-29T02:03:52.645Z] Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-29T02:03:52.645Z] ---> Running in 02f5ba0286b2 [2021-06-29T02:03:53.622Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-29T02:03:54.595Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-29T02:03:56.022Z] OK: 145 MiB in 53 packages [2021-06-29T02:03:57.001Z] Removing intermediate container 02f5ba0286b2 [2021-06-29T02:03:57.001Z] ---> b7a3645b5825 [2021-06-29T02:03:57.001Z] Step 5/22 : WORKDIR /device-modbus-go [2021-06-29T02:03:57.001Z] ---> Running in f31cac7716e7 [2021-06-29T02:03:57.609Z] Removing intermediate container f31cac7716e7 [2021-06-29T02:03:57.609Z] ---> f555feb057e7 [2021-06-29T02:03:57.609Z] Step 6/22 : COPY . . [2021-06-29T02:03:58.607Z] ---> d4a5c324d615 [2021-06-29T02:03:58.607Z] Step 7/22 : RUN go mod tidy [2021-06-29T02:03:58.607Z] ---> Running in dd61209601dd [2021-06-29T02:04:02.010Z] Removing intermediate container dd61209601dd [2021-06-29T02:04:02.011Z] ---> 36e48d3c11cd [2021-06-29T02:04:02.011Z] Step 8/22 : RUN go mod download [2021-06-29T02:04:02.011Z] ---> Running in 46907d5c84ba [2021-06-29T02:04:03.985Z] Removing intermediate container 46907d5c84ba [2021-06-29T02:04:03.985Z] ---> c8423f818add [2021-06-29T02:04:03.985Z] Step 9/22 : RUN make build [2021-06-29T02:04:03.985Z] ---> Running in d212ba3088c6 [2021-06-29T02:04:05.435Z] go mod tidy [2021-06-29T02:04:05.709Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.21" -o cmd/device-modbus ./cmd [2021-06-29T02:04:44.764Z] Removing intermediate container d212ba3088c6 [2021-06-29T02:04:44.764Z] ---> 12ef1b7f5ff5 [2021-06-29T02:04:44.764Z] Step 10/22 : FROM alpine:3.12 [2021-06-29T02:04:44.764Z] 3.12: Pulling from library/alpine [2021-06-29T02:04:44.764Z] d2f70382dc9a: Pulling fs layer [2021-06-29T02:04:44.764Z] d2f70382dc9a: Download complete [2021-06-29T02:04:44.764Z] d2f70382dc9a: Pull complete [2021-06-29T02:04:44.764Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-29T02:04:44.764Z] Status: Downloaded newer image for alpine:3.12 [2021-06-29T02:04:44.764Z] ---> c4fd0aeabfcf [2021-06-29T02:04:44.764Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-06-29T02:04:44.764Z] ---> Running in 645b0c9a6e14 [2021-06-29T02:04:44.764Z] Removing intermediate container 645b0c9a6e14 [2021-06-29T02:04:44.764Z] ---> 44092cc3ba6f [2021-06-29T02:04:44.764Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-29T02:04:44.764Z] ---> Running in e0aedda381b3 [2021-06-29T02:04:44.764Z] Removing intermediate container e0aedda381b3 [2021-06-29T02:04:44.764Z] ---> 7132811be9c7 [2021-06-29T02:04:44.764Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-29T02:04:44.764Z] ---> Running in e82e752f1cc5 [2021-06-29T02:04:45.361Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-29T02:04:45.967Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-29T02:04:46.579Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-29T02:04:46.856Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-29T02:04:46.856Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-29T02:04:46.856Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-29T02:04:47.135Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-29T02:04:47.407Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-29T02:04:47.407Z] Executing busybox-1.31.1-r20.trigger [2021-06-29T02:04:47.408Z] OK: 8 MiB in 20 packages [2021-06-29T02:04:48.841Z] Removing intermediate container e82e752f1cc5 [2021-06-29T02:04:48.841Z] ---> 0eeb1948d123 [2021-06-29T02:04:48.841Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-06-29T02:04:49.820Z] ---> 56a59cb51f4d [2021-06-29T02:04:49.820Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-06-29T02:04:50.801Z] ---> 2df760d4619b [2021-06-29T02:04:50.801Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-06-29T02:04:51.407Z] ---> 4688538544fd [2021-06-29T02:04:51.407Z] Step 17/22 : EXPOSE 59901 [2021-06-29T02:04:51.680Z] ---> Running in 21a020eca1ee [2021-06-29T02:04:52.273Z] Removing intermediate container 21a020eca1ee [2021-06-29T02:04:52.273Z] ---> fd5c1b6bcaab [2021-06-29T02:04:52.273Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-06-29T02:04:52.273Z] ---> Running in b4310222c55e [2021-06-29T02:04:52.873Z] Removing intermediate container b4310222c55e [2021-06-29T02:04:52.873Z] ---> f59746bd321d [2021-06-29T02:04:52.873Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-29T02:04:52.873Z] ---> Running in 7352d2404310 [2021-06-29T02:04:53.472Z] Removing intermediate container 7352d2404310 [2021-06-29T02:04:53.472Z] ---> 7c95980e21b0 [2021-06-29T02:04:53.472Z] Step 20/22 : LABEL arch=arm64 [2021-06-29T02:04:53.472Z] ---> Running in 935fc15caf18 [2021-06-29T02:04:54.068Z] Removing intermediate container 935fc15caf18 [2021-06-29T02:04:54.068Z] ---> 9da9db7f181e [2021-06-29T02:04:54.068Z] Step 21/22 : LABEL git_sha=2131b689a16c8ebcf80a1a6c70dc215d317472ea [2021-06-29T02:04:54.068Z] ---> Running in a5a1565c30f9 [2021-06-29T02:04:54.666Z] Removing intermediate container a5a1565c30f9 [2021-06-29T02:04:54.666Z] ---> 95361c1fc327 [2021-06-29T02:04:54.666Z] Step 22/22 : LABEL version=1.3.2-dev.21 [2021-06-29T02:04:54.666Z] ---> Running in f2dc1be89229 [2021-06-29T02:04:55.260Z] Removing intermediate container f2dc1be89229 [2021-06-29T02:04:55.260Z] ---> 37c66c947eec [2021-06-29T02:04:55.260Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-29T02:04:55.260Z] Successfully built 37c66c947eec [2021-06-29T02:04:55.260Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-29T02:04:55.460Z] provisioning config files... [2021-06-29T02:04:55.483Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/60@tmp/config2734235476534911350tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-29T02:04:55.848Z] ---> docker-login.sh [2021-06-29T02:04:55.848Z] nexus3.edgexfoundry.org:10001 [2021-06-29T02:04:56.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:04:56.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:04:56.121Z] Configure a credential helper to remove this warning. See [2021-06-29T02:04:56.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:04:56.121Z] [2021-06-29T02:04:56.121Z] Login Succeeded [2021-06-29T02:04:56.396Z] nexus3.edgexfoundry.org:10002 [2021-06-29T02:04:56.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:04:56.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:04:56.669Z] Configure a credential helper to remove this warning. See [2021-06-29T02:04:56.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:04:56.669Z] [2021-06-29T02:04:56.669Z] Login Succeeded [2021-06-29T02:04:56.669Z] nexus3.edgexfoundry.org:10003 [2021-06-29T02:04:57.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:04:57.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:04:57.264Z] Configure a credential helper to remove this warning. See [2021-06-29T02:04:57.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:04:57.264Z] [2021-06-29T02:04:57.264Z] Login Succeeded [2021-06-29T02:04:57.264Z] nexus3.edgexfoundry.org:10004 [2021-06-29T02:04:57.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:04:57.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:04:57.859Z] Configure a credential helper to remove this warning. See [2021-06-29T02:04:57.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:04:57.859Z] [2021-06-29T02:04:57.859Z] Login Succeeded [2021-06-29T02:04:57.859Z] docker.io [2021-06-29T02:04:58.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:04:58.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:04:58.727Z] Configure a credential helper to remove this warning. See [2021-06-29T02:04:58.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:04:58.727Z] [2021-06-29T02:04:58.727Z] Login Succeeded [2021-06-29T02:04:58.727Z] ---> docker-login.sh ends [Pipeline] } [2021-06-29T02:04:58.744Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-29T02:04:58.819Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2021-06-29T02:04:58.820Z] 2131b689a16c8ebcf80a1a6c70dc215d317472ea [2021-06-29T02:04:58.820Z] latest [2021-06-29T02:04:58.820Z] 1.3.2-dev.21 [2021-06-29T02:04:58.820Z] 2131b689a16c8ebcf80a1a6c70dc215d317472ea-1.3.2-dev.21 [2021-06-29T02:04:58.820Z] master [2021-06-29T02:04:58.820Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:04:59.218Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2131b689a16c8ebcf80a1a6c70dc215d317472ea [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:04:59.585Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2131b689a16c8ebcf80a1a6c70dc215d317472ea [2021-06-29T02:04:59.585Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-06-29T02:04:59.585Z] 52a85371b49b: Preparing [2021-06-29T02:04:59.585Z] e857517ebe5a: Preparing [2021-06-29T02:04:59.585Z] 8ede6edc00bb: Preparing [2021-06-29T02:04:59.585Z] 9852969e1ab3: Preparing [2021-06-29T02:04:59.585Z] 925d913fe571: Preparing [2021-06-29T02:04:59.585Z] 3fbe34a1663b: Preparing [2021-06-29T02:04:59.585Z] 3fbe34a1663b: Waiting [2021-06-29T02:04:59.866Z] e857517ebe5a: Pushed [2021-06-29T02:04:59.866Z] 925d913fe571: Pushed [2021-06-29T02:04:59.866Z] 52a85371b49b: Pushed [2021-06-29T02:04:59.866Z] 3fbe34a1663b: Layer already exists [2021-06-29T02:05:00.463Z] 9852969e1ab3: Pushed [2021-06-29T02:05:03.079Z] 8ede6edc00bb: Pushed [2021-06-29T02:05:03.079Z] 2131b689a16c8ebcf80a1a6c70dc215d317472ea: digest: sha256:2035e5323a1faa7bba9e0375173e0a11d9abcc9dfabf820154e756ff6859767b size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:05:03.425Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:05:03.790Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-06-29T02:05:03.790Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-06-29T02:05:03.790Z] 52a85371b49b: Preparing [2021-06-29T02:05:03.790Z] e857517ebe5a: Preparing [2021-06-29T02:05:03.790Z] 8ede6edc00bb: Preparing [2021-06-29T02:05:03.790Z] 9852969e1ab3: Preparing [2021-06-29T02:05:03.790Z] 925d913fe571: Preparing [2021-06-29T02:05:03.790Z] 3fbe34a1663b: Preparing [2021-06-29T02:05:03.790Z] 3fbe34a1663b: Waiting [2021-06-29T02:05:04.062Z] e857517ebe5a: Layer already exists [2021-06-29T02:05:04.062Z] 52a85371b49b: Layer already exists [2021-06-29T02:05:04.062Z] 8ede6edc00bb: Layer already exists [2021-06-29T02:05:04.062Z] 9852969e1ab3: Layer already exists [2021-06-29T02:05:04.062Z] 925d913fe571: Layer already exists [2021-06-29T02:05:04.062Z] 3fbe34a1663b: Layer already exists [2021-06-29T02:05:04.062Z] latest: digest: sha256:2035e5323a1faa7bba9e0375173e0a11d9abcc9dfabf820154e756ff6859767b size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:05:04.409Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.21 [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:05:04.754Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.21 [2021-06-29T02:05:04.754Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-06-29T02:05:04.754Z] 52a85371b49b: Preparing [2021-06-29T02:05:04.754Z] e857517ebe5a: Preparing [2021-06-29T02:05:04.754Z] 8ede6edc00bb: Preparing [2021-06-29T02:05:04.754Z] 9852969e1ab3: Preparing [2021-06-29T02:05:04.754Z] 925d913fe571: Preparing [2021-06-29T02:05:04.754Z] 3fbe34a1663b: Preparing [2021-06-29T02:05:04.754Z] 3fbe34a1663b: Waiting [2021-06-29T02:05:04.754Z] e857517ebe5a: Layer already exists [2021-06-29T02:05:04.754Z] 925d913fe571: Layer already exists [2021-06-29T02:05:04.754Z] 9852969e1ab3: Layer already exists [2021-06-29T02:05:04.754Z] 52a85371b49b: Layer already exists [2021-06-29T02:05:04.754Z] 8ede6edc00bb: Layer already exists [2021-06-29T02:05:04.754Z] 3fbe34a1663b: Layer already exists [2021-06-29T02:05:05.025Z] 1.3.2-dev.21: digest: sha256:2035e5323a1faa7bba9e0375173e0a11d9abcc9dfabf820154e756ff6859767b size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:05:05.373Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2131b689a16c8ebcf80a1a6c70dc215d317472ea-1.3.2-dev.21 [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:05:05.721Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2131b689a16c8ebcf80a1a6c70dc215d317472ea-1.3.2-dev.21 [2021-06-29T02:05:05.721Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-06-29T02:05:05.721Z] 52a85371b49b: Preparing [2021-06-29T02:05:05.721Z] e857517ebe5a: Preparing [2021-06-29T02:05:05.721Z] 8ede6edc00bb: Preparing [2021-06-29T02:05:05.721Z] 9852969e1ab3: Preparing [2021-06-29T02:05:05.721Z] 925d913fe571: Preparing [2021-06-29T02:05:05.721Z] 3fbe34a1663b: Preparing [2021-06-29T02:05:05.721Z] 3fbe34a1663b: Waiting [2021-06-29T02:05:05.721Z] 925d913fe571: Layer already exists [2021-06-29T02:05:05.721Z] 8ede6edc00bb: Layer already exists [2021-06-29T02:05:05.721Z] 9852969e1ab3: Layer already exists [2021-06-29T02:05:05.721Z] e857517ebe5a: Layer already exists [2021-06-29T02:05:05.721Z] 52a85371b49b: Layer already exists [2021-06-29T02:05:05.992Z] 3fbe34a1663b: Layer already exists [2021-06-29T02:05:05.992Z] 2131b689a16c8ebcf80a1a6c70dc215d317472ea-1.3.2-dev.21: digest: sha256:2035e5323a1faa7bba9e0375173e0a11d9abcc9dfabf820154e756ff6859767b size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:05:06.342Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:05:06.740Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [2021-06-29T02:05:06.740Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-06-29T02:05:06.740Z] 52a85371b49b: Preparing [2021-06-29T02:05:06.740Z] e857517ebe5a: Preparing [2021-06-29T02:05:06.740Z] 8ede6edc00bb: Preparing [2021-06-29T02:05:06.740Z] 9852969e1ab3: Preparing [2021-06-29T02:05:06.740Z] 925d913fe571: Preparing [2021-06-29T02:05:06.740Z] 3fbe34a1663b: Preparing [2021-06-29T02:05:06.740Z] 3fbe34a1663b: Waiting [2021-06-29T02:05:06.740Z] 8ede6edc00bb: Layer already exists [2021-06-29T02:05:06.740Z] e857517ebe5a: Layer already exists [2021-06-29T02:05:06.740Z] 9852969e1ab3: Layer already exists [2021-06-29T02:05:06.740Z] 52a85371b49b: Layer already exists [2021-06-29T02:05:06.740Z] 925d913fe571: Layer already exists [2021-06-29T02:05:06.740Z] 3fbe34a1663b: Layer already exists [2021-06-29T02:05:07.339Z] master: digest: sha256:2035e5323a1faa7bba9e0375173e0a11d9abcc9dfabf820154e756ff6859767b size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-29T02:05:07.407Z] ===================================================== [Pipeline] echo [2021-06-29T02:05:07.423Z] taggedImages: [2021-06-29T02:05:07.423Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2131b689a16c8ebcf80a1a6c70dc215d317472ea [2021-06-29T02:05:07.423Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-06-29T02:05:07.423Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1.3.2-dev.21 [2021-06-29T02:05:07.423Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2131b689a16c8ebcf80a1a6c70dc215d317472ea-1.3.2-dev.21 [2021-06-29T02:05:07.423Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-29T02:05:07.854Z] ---> job-cost.sh [2021-06-29T02:05:07.855Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-lpmz [2021-06-29T02:05:46.895Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-29T02:07:23.662Z] lf-activate-venv(): INFO: Adding /tmp/venv-lpmz/bin to PATH [2021-06-29T02:07:23.662Z] INFO: No Stack... [2021-06-29T02:07:23.662Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-29T02:07:23.662Z] INFO: Archiving Costs [Pipeline] sh [2021-06-29T02:07:24.011Z] + cat /w/workspace/device-modbus-go/60/archives/cost.csv+ [2021-06-29T02:07:24.011Z] cut -d, -f6 [Pipeline] lock [2021-06-29T02:07:24.075Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-60-stack-cost] [2021-06-29T02:07:24.085Z] Resource [jenkins-edgexfoundry-device-modbus-go-master-60-stack-cost] did not exist. Created. [2021-06-29T02:07:24.086Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-60-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-29T02:07:24.464Z] /w/workspace/device-modbus-go/60@tmp/durable-3ed6b93a/script.sh: 1: /w/workspace/device-modbus-go/60@tmp/durable-3ed6b93a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-29T02:07:24.813Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-29T02:07:24.835Z] Warning: overwriting stash ‘stack-cost’ [2021-06-29T02:07:24.985Z] Stashed 1 file(s) [Pipeline] } [2021-06-29T02:07:24.996Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-60-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-29T02:07:25.871Z] provisioning config files... [2021-06-29T02:07:25.886Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7741620651480871761tmp [Pipeline] { [Pipeline] sh [2021-06-29T02:07:26.214Z] + set +x [2021-06-29T02:07:26.214Z] + curl -s https://codecov.io/bash [2021-06-29T02:07:26.214Z] + bash -s -- [2021-06-29T02:07:26.214Z] [2021-06-29T02:07:26.214Z] _____ _ [2021-06-29T02:07:26.214Z] / ____| | | [2021-06-29T02:07:26.214Z] | | ___ __| | ___ ___ _____ __ [2021-06-29T02:07:26.214Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-29T02:07:26.214Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-29T02:07:26.214Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-29T02:07:26.214Z] Bash-1.0.3 [2021-06-29T02:07:26.214Z] [2021-06-29T02:07:26.214Z] [2021-06-29T02:07:26.214Z] ==> git version 2.24.4 found [2021-06-29T02:07:26.214Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-29T02:07:26.214Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-29T02:07:26.214Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-29T02:07:26.478Z] ==> Jenkins CI detected. [2021-06-29T02:07:26.478Z] project root: . [2021-06-29T02:07:26.478Z] --> token set from env [2021-06-29T02:07:26.478Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-29T02:07:26.478Z] ==> Running gcov in . (disable via -X gcov) [2021-06-29T02:07:26.478Z] ==> Python coveragepy not found [2021-06-29T02:07:26.478Z] ==> Searching for coverage reports in: [2021-06-29T02:07:26.478Z] + . [2021-06-29T02:07:26.478Z] -> Found 1 reports [2021-06-29T02:07:26.478Z] ==> Detecting git/mercurial file structure [2021-06-29T02:07:26.478Z] ==> Reading reports [2021-06-29T02:07:26.478Z] + ./coverage.out bytes=22385 [2021-06-29T02:07:26.478Z] ==> Appending adjustments [2021-06-29T02:07:26.478Z] https://docs.codecov.io/docs/fixing-reports [2021-06-29T02:07:26.478Z] + Found adjustments [2021-06-29T02:07:26.478Z] ==> Gzipping contents [2021-06-29T02:07:26.478Z] 4.0K /tmp/codecov.xlfhBk.gz [2021-06-29T02:07:26.478Z] ==> Uploading reports [2021-06-29T02:07:26.479Z] url: https://codecov.io [2021-06-29T02:07:26.479Z] query: branch=master&commit=2131b689a16c8ebcf80a1a6c70dc215d317472ea&build=60&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F60%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-29T02:07:26.479Z] -> Pinging Codecov [2021-06-29T02:07:26.479Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=2131b689a16c8ebcf80a1a6c70dc215d317472ea&build=60&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F60%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-29T02:07:27.057Z] -> Uploading to [2021-06-29T02:07:27.057Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-29/55DBCA73C666E3227836607328DD7E49/2131b689a16c8ebcf80a1a6c70dc215d317472ea/4b41be67-4e43-45f8-822e-e89998c3ceb6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210629%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210629T020726Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d88eddc57dbdaeb08e4634ea193156d29f18b011ad70c0c4079cca4ac3838aea [2021-06-29T02:07:27.057Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-29T02:07:27.057Z] Dload Upload Total Spent Left Speed [2021-06-29T02:07:27.320Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3916 0 0 100 3916 0 9638 --:--:-- --:--:-- --:--:-- 9645 [2021-06-29T02:07:27.320Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/2131b689a16c8ebcf80a1a6c70dc215d317472ea [Pipeline] } [2021-06-29T02:07:27.330Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-06-29T02:07:28.358Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-06-29T02:07:28.398Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:07:28.736Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-29T02:07:28.736Z] [2021-06-29T02:07:28.736Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:07:29.051Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-29T02:07:29.320Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-06-29T02:07:29.320Z] 188c0c94c7c5: Pulling fs layer [2021-06-29T02:07:29.320Z] 0ef7d3d256c8: Pulling fs layer [2021-06-29T02:07:29.320Z] de9db76c5a1d: Pulling fs layer [2021-06-29T02:07:29.320Z] 0eba1c9be4d2: Pulling fs layer [2021-06-29T02:07:29.320Z] 0d57e429df01: Pulling fs layer [2021-06-29T02:07:29.320Z] 4e4be7b47b0d: Pulling fs layer [2021-06-29T02:07:29.320Z] e1f770b5df2f: Pulling fs layer [2021-06-29T02:07:29.320Z] 85a0685a4137: Pulling fs layer [2021-06-29T02:07:29.320Z] 0eba1c9be4d2: Waiting [2021-06-29T02:07:29.320Z] 0d57e429df01: Waiting [2021-06-29T02:07:29.320Z] 4e4be7b47b0d: Waiting [2021-06-29T02:07:29.320Z] e1f770b5df2f: Waiting [2021-06-29T02:07:29.320Z] 85a0685a4137: Waiting [2021-06-29T02:07:29.320Z] de9db76c5a1d: Verifying Checksum [2021-06-29T02:07:29.320Z] de9db76c5a1d: Download complete [2021-06-29T02:07:29.320Z] 0ef7d3d256c8: Verifying Checksum [2021-06-29T02:07:29.320Z] 0ef7d3d256c8: Download complete [2021-06-29T02:07:29.320Z] 0d57e429df01: Verifying Checksum [2021-06-29T02:07:29.320Z] 0d57e429df01: Download complete [2021-06-29T02:07:29.320Z] 188c0c94c7c5: Verifying Checksum [2021-06-29T02:07:29.320Z] 188c0c94c7c5: Download complete [2021-06-29T02:07:29.320Z] 4e4be7b47b0d: Verifying Checksum [2021-06-29T02:07:29.320Z] 4e4be7b47b0d: Download complete [2021-06-29T02:07:29.581Z] 188c0c94c7c5: Pull complete [2021-06-29T02:07:29.842Z] 0ef7d3d256c8: Pull complete [2021-06-29T02:07:30.105Z] de9db76c5a1d: Pull complete [2021-06-29T02:07:31.520Z] e1f770b5df2f: Verifying Checksum [2021-06-29T02:07:31.520Z] e1f770b5df2f: Download complete [2021-06-29T02:07:32.473Z] 0eba1c9be4d2: Verifying Checksum [2021-06-29T02:07:32.473Z] 0eba1c9be4d2: Download complete [2021-06-29T02:07:33.056Z] 85a0685a4137: Verifying Checksum [2021-06-29T02:07:33.056Z] 85a0685a4137: Download complete [2021-06-29T02:07:36.388Z] 0eba1c9be4d2: Pull complete [2021-06-29T02:07:36.650Z] 0d57e429df01: Pull complete [2021-06-29T02:07:36.650Z] 4e4be7b47b0d: Pull complete [2021-06-29T02:07:37.596Z] e1f770b5df2f: Pull complete [2021-06-29T02:07:44.225Z] 85a0685a4137: Pull complete [2021-06-29T02:07:44.226Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-06-29T02:07:44.226Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-29T02:07:44.226Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-06-29T02:07:44.314Z] prd-centos7-docker-4c-2g-625 does not seem to be running inside a container [2021-06-29T02:07:44.354Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-06-29T02:07:45.473Z] $ docker top bd88caa445c27ca7b1e27c9a9491abdaad9c618c08a0d47662c54ef4ef3672dd -eo pid,comm [Pipeline] { [Pipeline] echo [2021-06-29T02:07:45.586Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-06-29T02:07:45.886Z] + set -o pipefail [2021-06-29T02:07:45.886Z] + snyk monitor '--org=edgex-jenkins' [2021-06-29T02:07:58.155Z] [2021-06-29T02:07:58.155Z] Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... [2021-06-29T02:07:58.155Z] [2021-06-29T02:07:58.155Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/0acd306e-9a24-4fbe-ac7c-7df8c285b9d3 [2021-06-29T02:07:58.155Z] [2021-06-29T02:07:58.155Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-06-29T02:07:58.155Z] [2021-06-29T02:07:58.155Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-06-29T02:07:58.155Z] [2021-06-29T02:07:58.155Z] [Pipeline] } [2021-06-29T02:07:58.170Z] $ docker stop --time=1 bd88caa445c27ca7b1e27c9a9491abdaad9c618c08a0d47662c54ef4ef3672dd [2021-06-29T02:08:05.712Z] $ docker rm -f bd88caa445c27ca7b1e27c9a9491abdaad9c618c08a0d47662c54ef4ef3672dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-29T02:08:06.816Z] + git log --format=format:%s -1 2131b689a16c8ebcf80a1a6c70dc215d317472ea [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:08:07.132Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-29T02:08:07.132Z] . [Pipeline] withDockerContainer [2021-06-29T02:08:07.220Z] prd-centos7-docker-4c-2g-625 does not seem to be running inside a container [2021-06-29T02:08:07.260Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-29T02:08:08.168Z] $ docker top 9398fce514f96bb641dec4ae7b1abb725b0720585b7dd5164abef231f2a55fcb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-29T02:08:08.312Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-29T02:08:08.312Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-29T02:08:08.443Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-29T02:08:08.444Z] $ docker exec 9398fce514f96bb641dec4ae7b1abb725b0720585b7dd5164abef231f2a55fcb ssh-agent [2021-06-29T02:08:08.576Z] SSH_AUTH_SOCK=/tmp/ssh-TxYfksHAarnk/agent.13 [2021-06-29T02:08:08.577Z] SSH_AGENT_PID=20 [2021-06-29T02:08:08.583Z] Running ssh-add (command line suppressed) [2021-06-29T02:08:08.690Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5042043388711452342.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5042043388711452342.key) [2021-06-29T02:08:08.713Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-29T02:08:09.041Z] + git semver tag [2021-06-29T02:08:09.041Z] # -> Open(): unable to determine branch for HEAD [2021-06-29T02:08:09.041Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-06-29T02:08:09.041Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-06-29T02:08:09.041Z] # $SEMVER_REMOTE_NAME = origin [2021-06-29T02:08:09.041Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-29T02:08:09.041Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-29T02:08:09.041Z] # $SEMVER_BRANCH = master [2021-06-29T02:08:09.041Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2021-06-29T02:08:09.041Z] # 2131b689a16c8ebcf80a1a6c70dc215d317472ea HEAD [2021-06-29T02:08:09.041Z] # -> Force: false [2021-06-29T02:08:09.041Z] # 0e08bbd3aeac2232cc80f7eb1a09af550aa2b50c refs/tags/v1.3.2-dev.21 [Pipeline] } [2021-06-29T02:08:09.051Z] $ docker exec --env ******** --env ******** 9398fce514f96bb641dec4ae7b1abb725b0720585b7dd5164abef231f2a55fcb ssh-agent -k [2021-06-29T02:08:09.193Z] unset SSH_AUTH_SOCK; [2021-06-29T02:08:09.193Z] unset SSH_AGENT_PID; [2021-06-29T02:08:09.193Z] echo Agent pid 20 killed; [2021-06-29T02:08:09.205Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-29T02:08:09.566Z] + git semver [Pipeline] } [2021-06-29T02:08:09.585Z] $ docker stop --time=1 9398fce514f96bb641dec4ae7b1abb725b0720585b7dd5164abef231f2a55fcb [2021-06-29T02:08:10.939Z] $ docker rm -f 9398fce514f96bb641dec4ae7b1abb725b0720585b7dd5164abef231f2a55fcb [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:08:11.477Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-29T02:08:11.477Z] [2021-06-29T02:08:11.477Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:08:11.798Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-29T02:08:11.799Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-06-29T02:08:11.799Z] ab5ef0e58194: Pulling fs layer [2021-06-29T02:08:11.799Z] 9712f1f96733: Pulling fs layer [2021-06-29T02:08:11.799Z] 63f879dbbcfc: Pulling fs layer [2021-06-29T02:08:11.799Z] 0d9ebad4ef96: Pulling fs layer [2021-06-29T02:08:11.799Z] e9a5061849ea: Pulling fs layer [2021-06-29T02:08:11.799Z] d747dcd14b5f: Pulling fs layer [2021-06-29T02:08:11.799Z] 2de7ff778b66: Pulling fs layer [2021-06-29T02:08:11.799Z] 0d9ebad4ef96: Waiting [2021-06-29T02:08:11.799Z] e9a5061849ea: Waiting [2021-06-29T02:08:11.799Z] d747dcd14b5f: Waiting [2021-06-29T02:08:11.799Z] 2de7ff778b66: Waiting [2021-06-29T02:08:11.799Z] 9712f1f96733: Download complete [2021-06-29T02:08:13.731Z] 63f879dbbcfc: Verifying Checksum [2021-06-29T02:08:13.731Z] 63f879dbbcfc: Download complete [2021-06-29T02:08:13.731Z] e9a5061849ea: Verifying Checksum [2021-06-29T02:08:13.731Z] e9a5061849ea: Download complete [2021-06-29T02:08:13.731Z] d747dcd14b5f: Verifying Checksum [2021-06-29T02:08:13.731Z] d747dcd14b5f: Download complete [2021-06-29T02:08:14.314Z] 2de7ff778b66: Verifying Checksum [2021-06-29T02:08:14.314Z] 2de7ff778b66: Download complete [2021-06-29T02:08:14.314Z] ab5ef0e58194: Verifying Checksum [2021-06-29T02:08:14.314Z] ab5ef0e58194: Download complete [2021-06-29T02:08:14.314Z] 0d9ebad4ef96: Verifying Checksum [2021-06-29T02:08:14.314Z] 0d9ebad4ef96: Download complete [2021-06-29T02:08:17.673Z] ab5ef0e58194: Pull complete [2021-06-29T02:08:17.673Z] 9712f1f96733: Pull complete [2021-06-29T02:08:18.253Z] 63f879dbbcfc: Pull complete [2021-06-29T02:08:24.876Z] 0d9ebad4ef96: Pull complete [2021-06-29T02:08:24.876Z] e9a5061849ea: Pull complete [2021-06-29T02:08:24.876Z] d747dcd14b5f: Pull complete [2021-06-29T02:08:25.449Z] 2de7ff778b66: Pull complete [2021-06-29T02:08:25.449Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-06-29T02:08:25.711Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-29T02:08:25.711Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-06-29T02:08:25.800Z] prd-centos7-docker-4c-2g-625 does not seem to be running inside a container [2021-06-29T02:08:25.846Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-06-29T02:08:30.357Z] $ docker top 70d52c5913c63efac12bdba512257a5a4fc5327085bf99bca0b44587d6168c4f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-06-29T02:08:30.475Z] provisioning config files... [2021-06-29T02:08:30.484Z] copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config8470270500034331932tmp [2021-06-29T02:08:30.498Z] copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config600486163750494545tmp [2021-06-29T02:08:30.511Z] copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7564282143105844113tmp [Pipeline] { [Pipeline] echo [2021-06-29T02:08:30.537Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-29T02:08:30.841Z] ---> sigul-configuration.sh [2021-06-29T02:08:30.841Z] gpg: directory `/root/.gnupg' created [2021-06-29T02:08:30.841Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-06-29T02:08:30.841Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-06-29T02:08:30.841Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-06-29T02:08:30.841Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-06-29T02:08:30.841Z] gpg: CAST5 encrypted data [2021-06-29T02:08:30.841Z] gpg: encrypted with 1 passphrase [2021-06-29T02:08:30.841Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-06-29T02:08:31.145Z] + mkdir /home/jenkins [2021-06-29T02:08:31.145Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-06-29T02:08:31.447Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-06-29T02:08:31.458Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-29T02:08:31.780Z] ---> sigul-install.sh [2021-06-29T02:08:36.419Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-06-29T02:08:36.772Z] + git tag --list [2021-06-29T02:08:36.772Z] 0.7.1 [2021-06-29T02:08:36.772Z] v1.0.0 [2021-06-29T02:08:36.772Z] v1.1.0 [2021-06-29T02:08:36.772Z] v1.1.1 [2021-06-29T02:08:36.772Z] v1.2.2 [2021-06-29T02:08:36.772Z] v1.3.0 [2021-06-29T02:08:36.772Z] v1.3.1 [2021-06-29T02:08:36.772Z] v1.3.1-dev.1 [2021-06-29T02:08:36.772Z] v1.3.1-dev.2 [2021-06-29T02:08:36.772Z] v1.3.1-dev.3 [2021-06-29T02:08:36.772Z] v1.3.1-dev.4 [2021-06-29T02:08:36.772Z] v1.3.1-dev.5 [2021-06-29T02:08:36.772Z] v1.3.1-dev.6 [2021-06-29T02:08:36.772Z] v1.3.1-dev.7 [2021-06-29T02:08:36.772Z] v1.3.1-dev.8 [2021-06-29T02:08:36.772Z] v1.3.2-dev.1 [2021-06-29T02:08:36.772Z] v1.3.2-dev.10 [2021-06-29T02:08:36.772Z] v1.3.2-dev.11 [2021-06-29T02:08:36.772Z] v1.3.2-dev.12 [2021-06-29T02:08:36.772Z] v1.3.2-dev.13 [2021-06-29T02:08:36.772Z] v1.3.2-dev.14 [2021-06-29T02:08:36.772Z] v1.3.2-dev.15 [2021-06-29T02:08:36.772Z] v1.3.2-dev.16 [2021-06-29T02:08:36.772Z] v1.3.2-dev.17 [2021-06-29T02:08:36.772Z] v1.3.2-dev.18 [2021-06-29T02:08:36.772Z] v1.3.2-dev.19 [2021-06-29T02:08:36.772Z] v1.3.2-dev.2 [2021-06-29T02:08:36.772Z] v1.3.2-dev.20 [2021-06-29T02:08:36.772Z] v1.3.2-dev.21 [2021-06-29T02:08:36.772Z] v1.3.2-dev.3 [2021-06-29T02:08:36.772Z] v1.3.2-dev.4 [2021-06-29T02:08:36.772Z] v1.3.2-dev.5 [2021-06-29T02:08:36.772Z] v1.3.2-dev.6 [2021-06-29T02:08:36.772Z] v1.3.2-dev.7 [2021-06-29T02:08:36.772Z] v1.3.2-dev.8 [2021-06-29T02:08:36.772Z] v1.3.2-dev.9 [Pipeline] sh [2021-06-29T02:08:37.074Z] + lftools sign git-tag v1.3.2-dev.21 [2021-06-29T02:08:37.652Z] Signing Git tag with Sigul... [2021-06-29T02:08:37.652Z] Signing v1.3.2-dev.21 [Pipeline] echo [2021-06-29T02:08:38.610Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-29T02:08:38.909Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-06-29T02:08:38.919Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-06-29T02:08:38.950Z] $ docker stop --time=1 70d52c5913c63efac12bdba512257a5a4fc5327085bf99bca0b44587d6168c4f [2021-06-29T02:08:40.847Z] $ docker rm -f 70d52c5913c63efac12bdba512257a5a4fc5327085bf99bca0b44587d6168c4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:08:41.645Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-29T02:08:41.646Z] . [Pipeline] withDockerContainer [2021-06-29T02:08:41.721Z] prd-centos7-docker-4c-2g-625 does not seem to be running inside a container [2021-06-29T02:08:41.759Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-29T02:08:42.217Z] $ docker top 4f03c9f7844ea54afa34bdcad8aa875c5bf13dbcb7a6db92813a4e48b453a573 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-29T02:08:42.358Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-29T02:08:42.358Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-29T02:08:42.490Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-29T02:08:42.490Z] $ docker exec 4f03c9f7844ea54afa34bdcad8aa875c5bf13dbcb7a6db92813a4e48b453a573 ssh-agent [2021-06-29T02:08:42.621Z] SSH_AUTH_SOCK=/tmp/ssh-iYu8ezhoArOb/agent.14 [2021-06-29T02:08:42.622Z] SSH_AGENT_PID=20 [2021-06-29T02:08:42.628Z] Running ssh-add (command line suppressed) [2021-06-29T02:08:42.739Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7452088154286099412.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7452088154286099412.key) [2021-06-29T02:08:42.758Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-29T02:08:43.061Z] + git semver bump pre [2021-06-29T02:08:43.061Z] # -> Open(): unable to determine branch for HEAD [2021-06-29T02:08:43.061Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-06-29T02:08:43.061Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-06-29T02:08:43.061Z] # $SEMVER_REMOTE_NAME = origin [2021-06-29T02:08:43.061Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-29T02:08:43.061Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-29T02:08:43.061Z] # $SEMVER_BRANCH = master [2021-06-29T02:08:43.061Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2021-06-29T02:08:43.061Z] 1.3.2-dev.22 [Pipeline] } [2021-06-29T02:08:43.072Z] $ docker exec --env ******** --env ******** 4f03c9f7844ea54afa34bdcad8aa875c5bf13dbcb7a6db92813a4e48b453a573 ssh-agent -k [2021-06-29T02:08:43.178Z] unset SSH_AUTH_SOCK; [2021-06-29T02:08:43.178Z] unset SSH_AGENT_PID; [2021-06-29T02:08:43.178Z] echo Agent pid 20 killed; [2021-06-29T02:08:43.193Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-29T02:08:43.535Z] + git semver [Pipeline] } [2021-06-29T02:08:43.548Z] $ docker stop --time=1 4f03c9f7844ea54afa34bdcad8aa875c5bf13dbcb7a6db92813a4e48b453a573 [2021-06-29T02:08:44.759Z] $ docker rm -f 4f03c9f7844ea54afa34bdcad8aa875c5bf13dbcb7a6db92813a4e48b453a573 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:08:45.158Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-29T02:08:45.158Z] . [Pipeline] withDockerContainer [2021-06-29T02:08:45.238Z] prd-centos7-docker-4c-2g-625 does not seem to be running inside a container [2021-06-29T02:08:45.281Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-29T02:08:45.652Z] $ docker top fd5285cd2b2922877245e5d36f933e35920e30b63a7b2f0b86e764ac3a5cb706 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-29T02:08:45.811Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-29T02:08:45.811Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-29T02:08:45.935Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-29T02:08:45.936Z] $ docker exec fd5285cd2b2922877245e5d36f933e35920e30b63a7b2f0b86e764ac3a5cb706 ssh-agent [2021-06-29T02:08:46.059Z] SSH_AUTH_SOCK=/tmp/ssh-SOJsWAMX8bV1/agent.13 [2021-06-29T02:08:46.059Z] SSH_AGENT_PID=20 [2021-06-29T02:08:46.065Z] Running ssh-add (command line suppressed) [2021-06-29T02:08:46.173Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_885896821789584443.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_885896821789584443.key) [2021-06-29T02:08:46.192Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-29T02:08:46.493Z] + git semver push [2021-06-29T02:08:46.493Z] # -> Open(): unable to determine branch for HEAD [2021-06-29T02:08:46.493Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-06-29T02:08:46.493Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-06-29T02:08:46.493Z] # $SEMVER_REMOTE_NAME = origin [2021-06-29T02:08:46.493Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-29T02:08:46.493Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-29T02:08:46.493Z] # $SEMVER_BRANCH = master [2021-06-29T02:08:46.493Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-06-29T02:08:50.711Z] $ docker exec --env ******** --env ******** fd5285cd2b2922877245e5d36f933e35920e30b63a7b2f0b86e764ac3a5cb706 ssh-agent -k [2021-06-29T02:08:50.811Z] unset SSH_AUTH_SOCK; [2021-06-29T02:08:50.811Z] unset SSH_AGENT_PID; [2021-06-29T02:08:50.811Z] echo Agent pid 20 killed; [2021-06-29T02:08:50.831Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-29T02:08:51.164Z] + git semver [Pipeline] } [2021-06-29T02:08:51.179Z] $ docker stop --time=1 fd5285cd2b2922877245e5d36f933e35920e30b63a7b2f0b86e764ac3a5cb706 [2021-06-29T02:08:52.380Z] $ docker rm -f fd5285cd2b2922877245e5d36f933e35920e30b63a7b2f0b86e764ac3a5cb706 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-29T02:08:53.529Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-29T02:08:54.101Z] ---> package-listing.sh [2021-06-29T02:08:54.102Z] ++ facter osfamily [2021-06-29T02:08:54.102Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-29T02:08:54.365Z] + OS_FAMILY=redhat [2021-06-29T02:08:54.365Z] + workspace=/w/workspace/xfoundry_device-modbus-go_master [2021-06-29T02:08:54.365Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-29T02:08:54.365Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-29T02:08:54.365Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-29T02:08:54.365Z] + PACKAGES=/tmp/packages_start.txt [2021-06-29T02:08:54.365Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-06-29T02:08:54.365Z] + PACKAGES=/tmp/packages_end.txt [2021-06-29T02:08:54.365Z] + case "${OS_FAMILY}" in [2021-06-29T02:08:54.365Z] + rpm -qa [2021-06-29T02:08:54.365Z] + sort [2021-06-29T02:08:54.939Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-29T02:08:54.939Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-29T02:08:54.939Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-29T02:08:54.939Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-06-29T02:08:54.939Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ [2021-06-29T02:08:54.939Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_master/archives/ [Pipeline] echo [2021-06-29T02:08:54.953Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-29T02:08:55.244Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:08:55.811Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-29T02:08:55.811Z] [2021-06-29T02:08:55.811Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:08:56.130Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-29T02:08:56.130Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-29T02:08:56.130Z] df20fa9351a1: Pulling fs layer [2021-06-29T02:08:56.130Z] 36b3adc4ff6f: Pulling fs layer [2021-06-29T02:08:56.130Z] 8ad3a11d3b57: Pulling fs layer [2021-06-29T02:08:56.130Z] 46f8f816bc3b: Pulling fs layer [2021-06-29T02:08:56.130Z] 93b61091891f: Pulling fs layer [2021-06-29T02:08:56.130Z] 93b9cdb0e59b: Pulling fs layer [2021-06-29T02:08:56.130Z] 5e14af77c1be: Pulling fs layer [2021-06-29T02:08:56.130Z] 01666e4c0597: Pulling fs layer [2021-06-29T02:08:56.130Z] aa168da1d23b: Pulling fs layer [2021-06-29T02:08:56.130Z] 93b9cdb0e59b: Waiting [2021-06-29T02:08:56.130Z] 5e14af77c1be: Waiting [2021-06-29T02:08:56.130Z] 01666e4c0597: Waiting [2021-06-29T02:08:56.130Z] aa168da1d23b: Waiting [2021-06-29T02:08:56.130Z] 46f8f816bc3b: Waiting [2021-06-29T02:08:56.130Z] 93b61091891f: Waiting [2021-06-29T02:08:56.130Z] 36b3adc4ff6f: Verifying Checksum [2021-06-29T02:08:56.130Z] 36b3adc4ff6f: Download complete [2021-06-29T02:08:56.130Z] 46f8f816bc3b: Verifying Checksum [2021-06-29T02:08:56.130Z] 46f8f816bc3b: Download complete [2021-06-29T02:08:56.392Z] df20fa9351a1: Verifying Checksum [2021-06-29T02:08:56.392Z] df20fa9351a1: Download complete [2021-06-29T02:08:56.392Z] 93b9cdb0e59b: Verifying Checksum [2021-06-29T02:08:56.392Z] 93b9cdb0e59b: Download complete [2021-06-29T02:08:56.392Z] 93b61091891f: Verifying Checksum [2021-06-29T02:08:56.392Z] 93b61091891f: Download complete [2021-06-29T02:08:56.392Z] 5e14af77c1be: Verifying Checksum [2021-06-29T02:08:56.392Z] 5e14af77c1be: Download complete [2021-06-29T02:08:56.392Z] 01666e4c0597: Verifying Checksum [2021-06-29T02:08:56.392Z] 01666e4c0597: Download complete [2021-06-29T02:08:56.392Z] df20fa9351a1: Pull complete [2021-06-29T02:08:56.653Z] 36b3adc4ff6f: Pull complete [2021-06-29T02:08:56.920Z] 8ad3a11d3b57: Verifying Checksum [2021-06-29T02:08:56.920Z] 8ad3a11d3b57: Download complete [2021-06-29T02:08:57.500Z] 8ad3a11d3b57: Pull complete [2021-06-29T02:08:57.500Z] 46f8f816bc3b: Pull complete [2021-06-29T02:08:57.769Z] 93b61091891f: Pull complete [2021-06-29T02:08:58.035Z] 93b9cdb0e59b: Pull complete [2021-06-29T02:08:58.035Z] 5e14af77c1be: Pull complete [2021-06-29T02:08:58.035Z] 01666e4c0597: Pull complete [2021-06-29T02:08:58.613Z] aa168da1d23b: Verifying Checksum [2021-06-29T02:08:58.613Z] aa168da1d23b: Download complete [2021-06-29T02:09:02.855Z] aa168da1d23b: Pull complete [2021-06-29T02:09:02.855Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-29T02:09:02.855Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-29T02:09:02.855Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-29T02:09:02.935Z] prd-centos7-docker-4c-2g-625 does not seem to be running inside a container [2021-06-29T02:09:02.971Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-29T02:09:05.198Z] $ docker top 0efa7e296e5f1bb914725786bab1a3be11c5ec070b7237127f44154b6d36530e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-29T02:09:05.583Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-29T02:09:05.878Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-29T02:09:06.176Z] + ls /var/log/sa-host [2021-06-29T02:09:06.176Z] + sadf -c /var/log/sa-host/sa05 [2021-06-29T02:09:06.176Z] file_magic: OK [2021-06-29T02:09:06.176Z] HZ: Using current value: 100 [2021-06-29T02:09:06.176Z] file_header: OK [2021-06-29T02:09:06.176Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-29T02:09:06.176Z] Statistics: [2021-06-29T02:09:06.176Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-29T02:09:06.176Z] File successfully converted to sysstat format version 12.2.1 [2021-06-29T02:09:06.176Z] + sadf -c /var/log/sa-host/sa29 [2021-06-29T02:09:06.176Z] file_magic: OK [2021-06-29T02:09:06.176Z] HZ: Using current value: 100 [2021-06-29T02:09:06.176Z] file_header: OK [2021-06-29T02:09:06.176Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-29T02:09:06.176Z] Statistics: [2021-06-29T02:09:06.176Z] 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-06-29T02:09:06.176Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-29T02:09:06.415Z] provisioning config files... [2021-06-29T02:09:06.429Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2397464264138996147tmp [Pipeline] { [Pipeline] echo [2021-06-29T02:09:06.452Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-29T02:09:06.753Z] ---> create-netrc.sh [Pipeline] } [2021-06-29T02:09:06.762Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-29T02:09:07.170Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-29T02:09:07.181Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-29T02:09:07.486Z] ---> sudo-logs.sh [2021-06-29T02:09:07.486Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-29T02:09:07.521Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-29T02:09:07.817Z] ---> job-cost.sh [2021-06-29T02:09:07.817Z] lf-activate-venv: SKIPPING [2021-06-29T02:09:07.817Z] DEBUG: total: 0.18000000715255737 [2021-06-29T02:09:07.817Z] INFO: Retrieving Stack Cost... [2021-06-29T02:09:09.215Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-29T02:09:09.478Z] INFO: Archiving Costs [Pipeline] echo [2021-06-29T02:09:09.493Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-29T02:09:09.796Z] ---> logs-deploy.sh [2021-06-29T02:09:09.796Z] lf-activate-venv: SKIPPING [2021-06-29T02:09:09.796Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/60 [2021-06-29T02:09:09.796Z] INFO: archiving workspace using pattern(s): [2021-06-29T02:09:10.740Z] Archives upload complete. [2021-06-29T02:09:10.740Z] INFO: archiving logs to Nexus